/*
Theme Name: Paresh P Madani
Theme URI: https://pareshpmadani.com
Author: Paresh P Madani
Description: Custom hand-coded classic theme for the personal website of Paresh P Madani, forked from the Retinue theme (same engineering and typography, a warmer temperament). No page builder, no framework, no build tooling.
Version: 1.2.1
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.3
License: All rights reserved
Text Domain: ppm
*/

/* =============================================================
   FONTS  ·  self-hosted woff2 (Source Serif 4 + Source Sans 3)
   Family aliases 'SS4' (serif) and 'SS3' (sans). Fallbacks: Georgia, Arial.
   ============================================================= */
@font-face{font-family:'SS4';src:url(assets/fonts/source-serif-4-400.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'SS4';src:url(assets/fonts/source-serif-4-600.woff2) format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'SS4';src:url(assets/fonts/source-serif-4-400-italic.woff2) format('woff2');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:'SS3';src:url(assets/fonts/source-sans-3-400.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'SS3';src:url(assets/fonts/source-sans-3-600.woff2) format('woff2');font-weight:600;font-style:normal;font-display:swap}

/* =============================================================
   DESIGN TOKENS  ·  LOCKED palette (15 Oct 2026, "palette H"):
   Retinue navy and blue carry the page; a pale sky-blue band (30% of
   #ADCDED); a white page; and ONE small warm orange used only for marks:
   the third stroke, link underlines, the current-page marker, the dropdown
   rule, the quote bar and footer links. Orange is never body text on a
   light background (it is text only on the navy footer).
   ============================================================= */
:root{
  --ink:#1C5F95;          /* headings and wordmark (Retinue navy, lightened 11% for warmth) */
  --navy:#1C5F95;         /* buttons, links */
  --navy-dark:#115086;    /* button / pill hover */
  --blue:#0072B1;         /* kickers, second stroke */
  --body:#403A35;         /* body text: warm charcoal */
  --tint:#FEF6EC;         /* pale peach for hovers and selected states */
  --band:#FEF6EC;         /* alternate section band: very light peach (the only other background colour) */
  --page:#fff;            /* page background: white */
  --footer:#fff;          /* header bar and footer: white */
  --quote-bg:#fff;        /* quote band (its orange bar reads against the pale band above) */
  --accent:#FFAE5D;       /* warm orange: strokes, underlines, quote bar, markers */
  --accent-deep:#E8843C;  /* link-underline hover */
  --accent-on-dark:#FFAE5D; /* orange as TEXT or hover fill on the navy footer only */
  --grey:#7A6F66;         /* muted text */
  --line:#EFE4D5;         /* hairline borders */
  --card-line:#EBD8BF;    /* card and image borders */
}
/* =============================================================
   GLOBAL
   ============================================================= */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'SS3',Arial,sans-serif;color:var(--body);background:var(--page);font-size:18px;line-height:1.65}
h1,h2,h3,.serif{font-family:'SS4',Georgia,serif;color:var(--ink)}
img{max-width:100%}
a{color:var(--navy)}
.wrap{max-width:1240px;margin:0 auto;padding:0 40px}
.narrow{max-width:900px;margin:0 auto}

.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-9999px;top:0;z-index:1000;background:var(--navy);color:#fff;padding:10px 16px;border-radius:4px}
.skip-link:focus{left:8px;top:8px}
:focus-visible{outline:2px solid var(--blue);outline-offset:2px}

/* body links: navy text, orange underline that deepens on hover */
.lead a,.artbody a,.noresults a,.archintro a,.closing a{color:var(--navy);text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:2px;text-underline-offset:3px}
.lead a:hover,.artbody a:hover,.noresults a:hover,.archintro a:hover,.closing a:hover{text-decoration-color:var(--accent-deep)}

/* =============================================================
   BUTTONS
   ============================================================= */
.btn{display:inline-block;background:var(--navy);color:#fff;font-weight:600;font-size:16px;text-decoration:none;padding:12px 26px;border-radius:999px;border:1px solid var(--navy);transition:background .15s ease}
.btn:hover{background:var(--navy-dark);border-color:var(--navy-dark)}
.btn.ghost{background:var(--page);color:var(--navy)}
.btn.ghost:hover{background:var(--tint);border-color:var(--navy)}
.artbody a.btn{color:#fff;text-decoration:none}
.artbody a.btn.ghost{color:var(--navy)}
/* a row of buttons under left-aligned text: nudged 4px left so the pill's rounded end looks flush with the text edge (optical alignment) */
.btns{display:flex;gap:14px;flex-wrap:wrap;margin-left:-4px}

/* =============================================================
   HEADER  ·  88px bar: text wordmark at left, navigation at right.
   Dropdowns open on hover/focus (desktop) and via the chevron button
   (touch, keyboard and mobile).
   ============================================================= */
.nav{background:var(--footer);border-bottom:1px solid var(--card-line);position:relative;z-index:50}
.nav-in{display:flex;align-items:center;justify-content:space-between;height:88px}
.nav-word{font-family:'SS4',Georgia,serif;font-size:27px;font-weight:600;color:var(--ink);text-decoration:none;letter-spacing:-.2px;white-space:nowrap}
.nav-toggle{display:none;border:1px solid var(--line);background:#fff;border-radius:6px;padding:9px 11px;cursor:pointer}
.nav-toggle .bar{display:block;width:22px;height:2px;background:var(--navy);margin:4px 0}
.nav-r{display:flex;align-items:center;gap:2px}
.nav-r>a,.nav-item>.top{display:inline-flex;align-items:center;color:var(--ink);text-decoration:none;font-size:16px;font-weight:600;padding:0 14px;height:88px;white-space:nowrap}
.nav-r>a:hover,.nav-item>.top:hover{color:var(--blue)}
.nav-r>a.active,.nav-item>.top.active{box-shadow:inset 0 -3px 0 var(--accent)}
.nav-r>a.contact{height:auto;margin-left:10px;background:var(--navy);color:#fff;padding:11px 24px;border-radius:999px;font-size:16px}
.nav-r>a.contact:hover{background:var(--navy-dark);color:#fff}
.nav-r>a.contact.active{box-shadow:none}
.nav-item{position:relative;display:flex;align-items:center;height:88px}
.nav-item>.top{padding-right:4px}
.sub-toggle{border:0;background:none;cursor:pointer;width:22px;height:88px;display:inline-flex;align-items:center;justify-content:center;color:var(--ink);padding:0}
.sub-toggle .chev{width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .15s ease}
.nav-item.open .sub-toggle .chev{transform:rotate(225deg) translateY(-2px)}
.sub{display:none;position:absolute;top:100%;left:0;min-width:270px;background:#fff;border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:0 0 10px 10px;box-shadow:0 18px 40px rgba(11,34,64,.12);padding:8px 0;z-index:60}
.sub a{display:block;padding:10px 22px;color:var(--ink);font-size:16px;font-weight:400;text-decoration:none;line-height:1.35}
.sub a:hover,.sub a:focus-visible{background:var(--tint);color:var(--navy)}
.sub a.active{font-weight:600}
.sub a.ext::after{content:"\2197";margin-left:6px;color:var(--grey);font-size:.9em}
.sub .sep{height:1px;background:var(--line);margin:6px 18px}
.nav-item:focus-within>.sub,.nav-item.open>.sub{display:block}
@media (hover:hover) and (min-width:1024px){ .nav-item:hover>.sub{display:block} }

/* =============================================================
   SECTION BANDS
   ============================================================= */
.band{padding:62px 0}
.band.main{padding:62px 0}
.band.tint{background:var(--band)}
.kick{color:var(--blue);font-weight:600;font-size:14px;letter-spacing:1.5px;text-transform:uppercase}
.kick.c{text-align:center}
h1.page{font-size:46px;line-height:1.12;font-weight:600;color:var(--ink);letter-spacing:-.4px;margin-top:6px}
h2.sec{font-size:34px;color:var(--ink);font-weight:600;margin-top:8px;line-height:1.2}
h2.sec.center{text-align:center}
.subsec{font-size:20px;line-height:1.62;color:var(--body);max-width:720px;margin:12px auto 0;text-align:center;text-wrap:balance}
.lead{font-size:20px;line-height:1.62;color:var(--body);margin-top:6px}
.lead.measure{max-width:760px}

/* =============================================================
   THREE-STROKE DEVICE  ·  navy, blue (as Retinue), then one small warm orange stroke
   ============================================================= */
.stroke{margin:24px 0 26px;font-size:0}
.stroke span{display:inline-block;height:5px;border-radius:3px;margin-right:6px;vertical-align:middle}
.stroke .s1{width:48px;background:var(--navy)}
.stroke .s2{width:22px;background:var(--blue)}
.stroke .s3{width:12px;background:var(--accent)}

/* =============================================================
   HOME HERO  ·  text left, image right (stacks on tablet and below)
   ============================================================= */
.hero{padding:66px 0 76px}
.hero .wrap{display:flex;justify-content:space-between;align-items:center;width:100%;gap:5%}
.hcol{display:block}
.hleft{flex:0 0 50%}
.hright{flex:1;min-width:0}
.hero h1{font-size:50px;line-height:1.15;font-weight:600;color:var(--ink);letter-spacing:-.8px}
.hero .lead{font-size:24px;line-height:1.5;max-width:640px;margin-top:2px;font-family:'SS4',Georgia,serif;color:var(--ink)}
.hero .intro{font-size:19px;line-height:1.62;color:var(--body);max-width:520px;margin-top:16px}
.hero .btns{margin-top:28px}
.hero-img{width:100%;height:auto;border-radius:14px;box-shadow:0 22px 55px rgba(11,34,64,.16);display:block}
/* image placeholder panel used in mockups until the real photograph is placed */
.hph{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4/3;border-radius:14px;background:var(--tint);border:1px dashed #E0C9AA;color:#8A6E50;font-size:14px;font-style:italic;text-align:center;padding:24px;line-height:1.5}

/* =============================================================
   GATEWAYS  ·  four doors into the site (My Story, My Life, My Writings, Collections)
   ============================================================= */
.gates{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:38px}
.gate{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--card-line);border-radius:12px;padding:28px 24px;transition:border-color .18s ease,transform .18s ease}
.gate:hover,.gate:focus-within{border-color:var(--accent);transform:translateY(-2px)}
.mstroke{font-size:0;margin:0 0 14px}
.mstroke span{display:inline-block;height:4px;border-radius:2px;margin-right:4px}
.mstroke .s1{width:24px;background:var(--navy)}
.mstroke .s2{width:12px;background:var(--blue)}
.mstroke .s3{width:6px;background:var(--accent)}
.gate h3{font-size:26px;font-weight:600;margin-bottom:10px;line-height:1.2}
.gate p{font-size:18px;line-height:1.6;color:var(--body);margin-bottom:18px}
.gate .go{margin-top:auto;color:var(--navy);font-weight:600;font-size:16px;text-decoration:none}
.gate .go:hover{color:var(--blue)}
/* the whole card is the click target (one link, stretched) */
.gate .go::after{content:"";position:absolute;inset:0;border-radius:12px}
.gate .go:focus-visible{outline:none}
.gate:focus-within{outline:2px solid var(--blue);outline-offset:2px}

/* =============================================================
   QUOTE BAND  ·  one soulful quote, with the orange bar
   ============================================================= */
.quote{background:var(--quote-bg);border-left:6px solid var(--accent);padding:46px 0}
.quote blockquote{font-family:'SS4',Georgia,serif;font-style:italic;font-size:30px;line-height:1.4;color:var(--ink);max-width:860px}
.quote cite{display:block;margin-top:14px;font-style:normal;font-family:'SS3',Arial,sans-serif;font-size:16px;color:var(--body)}

/* =============================================================
   MY WRITINGS  ·  listing, category page, single post
   ============================================================= */
.feature{background:#fff;border:1px solid var(--card-line);border-left:4px solid var(--accent);border-radius:10px;padding:34px 40px;box-shadow:0 12px 34px rgba(11,34,64,.06)}
.feature .flabel{color:var(--blue);font-weight:700;font-size:12.5px;letter-spacing:2px;text-transform:uppercase}
.feature h2{font-size:34px;line-height:1.18;font-weight:600;margin:12px 0 12px;max-width:900px}
.feature h2 a{color:var(--ink);text-decoration:none}
.feature p{font-size:19px;line-height:1.6;color:var(--body);max-width:900px}
.feature .more{display:inline-block;margin-top:16px;color:var(--navy);font-weight:600;font-size:16px;text-decoration:none}
.sechead{font-size:14px;letter-spacing:1.5px;text-transform:uppercase;color:var(--grey);font-weight:600;margin-bottom:24px}
.acards{display:flex;flex-wrap:wrap;gap:2.6%}
.acard{position:relative;display:flex;flex-direction:column;width:48.7%;background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px 22px;margin-bottom:2.6%;transition:border-color .18s ease,transform .18s ease}
.acard:hover,.acard:focus-within{border-color:var(--accent);transform:translateY(-2px)}
.acard h3 a::after{content:"";position:absolute;inset:0}
.acards.three .acard{width:31.6%}
.acard a{margin-top:auto}
.acard-thumb{width:100%;height:180px;object-fit:cover;border-radius:6px;margin-bottom:16px;display:block;background:var(--tint)}
.atag{color:var(--blue);font-weight:600;font-size:12px;letter-spacing:1px;text-transform:uppercase;margin-bottom:10px}
.acard h3{font-size:22px;line-height:1.25;font-weight:600;margin-bottom:10px}
.acard h3 a{color:var(--ink);text-decoration:none}
.acard h3 a:hover{color:var(--navy)}
.acard p{font-size:18px;line-height:1.65;color:var(--body)}
.acard .read{display:inline-block;margin-top:auto;padding-top:12px;color:var(--navy);font-weight:600;font-size:16px;text-decoration:none}
.artwrap{max-width:880px;margin:0 auto;padding:0 40px}
.insback{display:inline-block;font-family:'SS4',Georgia,serif;font-weight:600;font-size:21px;color:var(--navy);text-decoration:none;line-height:1.2}
.insback-top{margin-bottom:26px}
.artmeta{color:var(--grey);font-size:15px;margin-top:8px}
.artfig{width:100%;height:auto;border-radius:12px;border:1px solid var(--card-line);box-shadow:0 18px 44px rgba(11,34,64,.14);margin:26px 0 8px;display:block}
.artbody{font-size:20px;line-height:1.7;color:#2a2f36}
.artbody>p:first-child{font-size:22px;line-height:1.6;color:var(--body);margin-bottom:24px}
.artbody p{margin:0 0 18px}
.artbody h2{font-size:28px;font-weight:600;margin:40px 0 12px;scroll-margin-top:24px}
.artbody h3{font-size:23px;font-weight:600;margin:30px 0 10px;scroll-margin-top:24px}
.artbody ul,.artbody ol{margin:0 0 22px 22px}
.artbody li{margin:0 0 10px}
.artbody blockquote{margin:28px 0;padding:6px 0 6px 24px;border-left:4px solid var(--accent);font-family:'SS4',Georgia,serif;font-style:italic;font-size:22px;line-height:1.5;color:var(--ink)}
.artbody img{max-width:100%;height:auto;border-radius:10px}
.artend{border-top:1px solid var(--line);margin-top:40px;padding-top:22px}
.share{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:18px 0 4px}
.share-label{font-size:13px;letter-spacing:1.5px;text-transform:uppercase;color:var(--grey);font-weight:600;margin-right:2px}
.share-btn{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--navy);cursor:pointer;position:relative;text-decoration:none;transition:border-color .15s ease,background .15s ease}
.share-btn:hover{border-color:var(--blue);background:var(--tint)}
.share-btn svg{width:18px;height:18px;display:block}
.share-copy .copied{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);background:var(--ink);color:#fff;font-size:11px;letter-spacing:.3px;padding:3px 8px;border-radius:4px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s ease}
.share-copy.is-copied .copied{opacity:1}
.share-bottom{border-top:1px solid var(--line);margin-top:34px;padding-top:20px}
.share:not(.share-bottom){border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:30px}
.relrow{display:flex;gap:3%;align-items:stretch}
.relrow .acard{flex:1;width:auto;margin-bottom:0;padding:22px 24px}
.ins-pagination{margin-top:38px}
.ins-pagination ul{list-style:none;display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.ins-pagination .page-numbers{display:inline-block;min-width:42px;text-align:center;padding:9px 12px;border:1px solid var(--line);border-radius:6px;color:var(--navy);text-decoration:none;font-size:15px}
.ins-pagination a.page-numbers:hover{border-color:var(--blue);background:var(--tint)}
.ins-pagination .page-numbers.current{background:var(--navy);color:#fff;border-color:var(--navy)}
.ins-pagination .page-numbers.dots{border-color:transparent}
.ins-top{display:flex;gap:3.4%;align-items:flex-start}
.ins-main{flex:1 1 62%;min-width:0}
.ins-side{flex:0 0 32%}
.catbox{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px 24px;box-shadow:0 12px 34px rgba(11,34,64,.06)}
.catbox .cathead{font-size:14px;letter-spacing:1.5px;text-transform:uppercase;color:var(--grey);font-weight:600;margin-bottom:16px}
.catgroup{border-top:1px solid var(--line)}
.catbox>.catgroup:first-of-type{border-top:0}
.catgroup summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:12px 0;font-family:'SS4',Georgia,serif;font-size:15px;color:var(--navy);font-weight:600;text-transform:uppercase;letter-spacing:.6px}
.catgroup summary::-webkit-details-marker{display:none}
.catgroup summary .cn{flex:1}
.catgroup summary .cnt{color:var(--grey);font-weight:600;font-size:11.5px;letter-spacing:1px}
.catgroup summary .chev{width:8px;height:8px;border-right:2px solid var(--navy);border-bottom:2px solid var(--navy);transform:rotate(-45deg);transition:transform .15s ease;flex:none}
.catgroup[open] summary .chev{transform:rotate(45deg)}
.catlist{list-style:none;margin:0 0 12px;padding:0}
.catlist li{margin:0 0 7px}
.catlist a{color:var(--body);text-decoration:none;font-size:15.5px;line-height:1.4}
.catlist a:hover{color:var(--navy)}
.catmore{display:block;text-align:right;margin:0 0 14px;color:var(--navy);font-weight:600;font-size:13px;text-decoration:none}
.catmore-wrap{border-top:1px solid var(--line)}
.catmore-wrap>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;padding:12px 0 2px;color:var(--grey);font-weight:600;font-size:14px;letter-spacing:1.5px;text-transform:uppercase}
.catmore-wrap>summary::-webkit-details-marker{display:none}
.catmore-wrap>summary .mlabel{font-size:0}
.catmore-wrap>summary .mlabel::before{content:'More categories';font-size:14px}
.catmore-wrap[open]>summary .mlabel::before{content:'Fewer categories'}
.catmore-wrap>summary .mcount{color:var(--grey);font-weight:600;font-size:12px}
.catmore-wrap[open]>summary .mcount{display:none}
.catmore-wrap>summary .chevm{width:7px;height:7px;border-right:2px solid var(--grey);border-bottom:2px solid var(--grey);transform:rotate(-45deg);transition:transform .15s ease;margin-left:auto;flex:none}
.catmore-wrap[open]>summary .chevm{transform:rotate(45deg)}
.archintro{font-size:20px;line-height:1.62;color:var(--body);max-width:760px;margin-top:6px}
.acard.is-hidden{display:none}
.loadmore-wrap{text-align:center;margin-top:34px}
.loadmore{display:inline-block;background:#fff;border:1px solid var(--line);color:var(--navy);font-family:'SS3',Arial,sans-serif;font-weight:600;font-size:15px;padding:12px 28px;border-radius:999px;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.loadmore:hover{border-color:var(--blue);background:var(--tint)}
.crumb{color:var(--blue);font-weight:600;font-size:14px;letter-spacing:1px}
.crumb a{color:var(--blue);text-decoration:none}
.crumb .sep{color:#AFC2D6;margin:0 8px}
.close{font-family:'SS4',Georgia,serif;font-size:18px;color:var(--ink)}
.close a{color:var(--navy);font-weight:600;text-decoration:none}
.closing{text-align:center}
.closing .ct{font-family:'SS4',Georgia,serif;font-size:23px;color:var(--ink);font-weight:400}

/* =============================================================
   CONTACT  ·  no form; an email address and the four social tiles
   ============================================================= */
.cwrap{display:flex;gap:6%;margin-top:26px;flex-wrap:wrap;align-items:flex-start}
.cmain{flex:1 1 58%}
.cside{flex:0 0 30%}
.crow{display:flex;gap:20px;align-items:flex-start;padding:22px 0;border-top:1px solid var(--line)}
.crow:first-child{border-top:none;padding-top:0}
.cic{flex:0 0 auto;width:46px;height:46px}
.cic svg{width:46px;height:46px}
.clab{color:var(--blue);font-weight:600;font-size:14px;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:6px}
.cval{font-family:'SS4',Georgia,serif;font-size:22px;color:var(--ink);font-weight:600;text-decoration:none}
.cnote{font-size:18px;line-height:1.55;color:var(--body);margin-top:6px;max-width:420px}
.socials{margin-top:12px;display:flex;gap:14px}
.socials a{display:inline-flex;width:40px;height:40px;border:1px solid var(--line);border-radius:8px;align-items:center;justify-content:center;color:var(--navy)}
.socials a:hover{border-color:var(--blue);background:var(--tint)}
.socials svg{width:20px;height:20px}

/* =============================================================
   FOOTER  ·  one deep-navy band: wordmark and tagline, links, socials
   ============================================================= */
footer{background:var(--footer);color:#4A4038;border-top:1px solid var(--card-line)}
.foot-in{padding:30px 0 16px;display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.foot-word{font-family:'SS4',Georgia,serif;font-size:24px;font-weight:600;color:var(--ink);text-decoration:none;white-space:nowrap}
.foot-tag{font-family:'SS4',Georgia,serif;font-size:15px;color:var(--navy);border-left:1px solid rgba(28,95,149,.3);padding-left:22px;line-height:1.45;max-width:360px}
.foot-r{margin-left:auto;display:flex;flex-wrap:wrap;gap:6px 24px}
.foot-r a{color:var(--navy);text-decoration:none;font-size:15px}
.foot-r a:hover{color:var(--accent-deep)}
.foot-copy{color:#7A6A5C;font-size:13px;padding:14px 0 20px;border-top:1px solid rgba(28,95,149,.16)}
.fcwrap{position:relative;text-align:center;min-height:30px;display:flex;align-items:center;justify-content:center}
.fctext a{color:var(--blue);text-decoration:none}
.fctext a:hover{color:var(--navy)}
/* social tiles sit at the right edge, level with the last footer link above */
.fsoc{position:absolute;right:0;top:50%;transform:translateY(-50%);display:flex;gap:11px}
.fsoc a{display:inline-flex;width:28px;height:28px;background:var(--navy);border:1px solid var(--navy);border-radius:6px;align-items:center;justify-content:center;color:#fff;transition:background .15s ease,box-shadow .15s ease}
.fsoc a:hover{background:var(--accent);border-color:var(--accent);color:var(--ink);box-shadow:0 3px 10px rgba(80,50,20,.22)}
.fsoc svg{width:15px;height:15px}

/* =============================================================
   404
   ============================================================= */
.e404{text-align:center;padding:96px 0}
.e404 h1{font-size:64px;color:var(--ink);font-weight:600;line-height:1}
.e404 h2{font-size:26px;color:var(--ink);font-weight:600;margin-top:12px}
.e404 p{max-width:560px;margin:16px auto 0;font-size:17px;line-height:1.6;color:var(--body)}
.e404 .btn{margin-top:26px}

/* =============================================================
   SEARCH  ·  header magnifier, drop-down bar, results page
   ============================================================= */
.nav-search-toggle{display:inline-flex;align-items:center;justify-content:center;border:0;background:none;color:var(--ink);cursor:pointer;padding:6px;margin-left:14px;height:88px}
.nav-search-toggle .mag{width:22px;height:22px;display:block}
.nav-search-toggle:hover{color:var(--blue)}
.nav-search{display:none;border-top:1px solid var(--line);background:var(--footer)}
.nav.search-open .nav-search{display:block}
.nav-search form{display:flex;gap:12px;padding:16px 0}
.nav-search input[type=search]{flex:1;border:1px solid var(--line);border-radius:999px;padding:12px 18px;font-family:'SS3',Arial,sans-serif;font-size:16px;color:var(--ink)}
.nav-search input[type=search]:focus{outline:none;border-color:var(--blue)}
.nav-search .sbtn{background:var(--navy);color:#fff;border:0;border-radius:999px;font-weight:600;font-size:15px;padding:0 26px;cursor:pointer}
.nav-search .sbtn:hover{background:var(--navy-dark)}
.nav-search-m{display:none}
.searchwrap{max-width:900px;margin:0 auto;padding:0 40px}
.searchbox{display:flex;gap:12px;margin-top:16px;max-width:620px}
.searchbox input[type=search]{flex:1;border:1px solid var(--line);border-radius:999px;padding:12px 18px;font-family:'SS3',Arial,sans-serif;font-size:16px}
.searchbox input[type=search]:focus{outline:none;border-color:var(--blue)}
.searchbox .sbtn{background:var(--navy);color:#fff;border:0;border-radius:999px;font-weight:600;font-size:15px;padding:0 24px;cursor:pointer}
.searchbox .sbtn:hover{background:var(--navy-dark)}
.searchmeta{color:var(--grey);font-size:15px;margin-top:18px}
.sresult{padding:22px 0;border-top:1px solid var(--line)}
.sresult .stype{color:var(--blue);font-weight:600;font-size:12px;letter-spacing:1px;text-transform:uppercase;margin-bottom:6px}
.sresult h3{font-size:22px;font-weight:600;margin-bottom:6px}
.sresult h3 a{color:var(--ink);text-decoration:none}
.sresult h3 a:hover{color:var(--navy)}
.sresult p{font-size:18px;line-height:1.65;color:var(--body);margin:0}
.noresults{font-size:18px;line-height:1.7;color:var(--body);max-width:660px;margin-top:6px}

/* =============================================================
   MY STORY PAGES  ·  interior hero with portrait, long-read, testimonials
   ============================================================= */
.ihero{padding:56px 0 64px}
.ihero .wrap{display:flex;align-items:center;gap:5%}
.ihero .hl{flex:1;min-width:0}
.ihero .hr{flex:0 0 44%}
.portrait{width:100%;height:auto;aspect-ratio:5/6;object-fit:cover;object-position:center 20%;border-radius:14px;box-shadow:0 22px 55px rgba(28,95,149,.16);display:block}
.lead2 p{font-size:20px;line-height:1.62;color:var(--body);margin-top:10px}
.pager{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:46px;padding-top:24px}
.pager a{font-family:'SS4',Georgia,serif;font-weight:600;font-size:21px;color:var(--navy);text-decoration:none}
.pager a:hover{color:var(--blue)}
.pager .next{margin-left:auto;text-align:right}
.artdate{color:var(--grey);font-size:16px;margin-top:-6px}
.founder-note{display:flex;gap:18px;align-items:flex-start;background:#fff;border:1px solid var(--card-line);border-left:4px solid var(--accent);border-radius:10px;padding:22px 26px;margin-top:30px}
.founder-note p{margin:0;font-size:18px;line-height:1.6}
.founder-note a{font-weight:600}
.draftnote{border:1px dashed #E0C9AA;background:#fff;color:#8A6E50;font-size:15px;font-style:italic;line-height:1.5;border-radius:8px;padding:12px 16px;margin:0 0 22px}
.poems{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:10px}
.poems .hph{aspect-ratio:3/4}
.tgroup{margin-bottom:54px}
.tgroup:last-child{margin-bottom:0}
.tcols{column-count:2;column-gap:24px;margin-top:22px}
.tcard{break-inside:avoid;margin:0 0 24px;background:#fff;border:1px solid var(--card-line);border-radius:12px;padding:26px 28px}
.tcard blockquote{font-family:'SS4',Georgia,serif;font-size:19px;line-height:1.6;color:var(--body)}
.tcard blockquote p{margin:0 0 14px}
.tcard blockquote p:last-child{margin-bottom:0}
.tcard figcaption{margin-top:18px;padding-top:16px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:2px}
.tcard figcaption b{font-family:'SS4',Georgia,serif;font-size:20px;color:var(--ink);font-weight:600}
.tcard figcaption span{color:var(--blue);font-weight:600;font-size:15px}
.tcard figcaption em{color:var(--grey);font-size:15px;font-style:normal;margin-top:4px}
@media (max-width:1023px){
  .ihero .wrap{display:block}
  .ihero .hr{width:60%;max-width:340px;margin-top:46px}
}
@media (max-width:767px){
  .ihero{padding:36px 0 44px}
  .ihero .hr{width:80%}
  .tcols{column-count:1}
  .poems{grid-template-columns:1fr}
  .pager{flex-direction:column}
  .pager .next{margin-left:0;text-align:left}
  .founder-note{padding:18px 18px}
}
/* =============================================================
   MY LIFE PAGES  ·  five-card landing, photo galleries, notes
   ============================================================= */
.gates.cols3{grid-template-columns:repeat(3,1fr)}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:8px 0 28px}
.hph.photo{aspect-ratio:4/3;padding:10px;font-size:13px}
.artnote{color:var(--grey);font-size:16px}
.artbody ol>li,.artbody ul>li{padding-left:4px}
.btnrow{margin-top:26px}
@media (max-width:1023px){ .gates.cols3{grid-template-columns:repeat(2,1fr)} }
@media (max-width:767px){ .gates.cols3{grid-template-columns:1fr} .gallery{grid-template-columns:repeat(2,1fr)} }
/* =============================================================
   TABLES IN ARTICLES  ·  two-column comparison (e.g. Spiritual Qualities)
   ============================================================= */
.tablewrap{overflow-x:auto;margin:6px 0 28px}
.qtable{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--card-line);border-radius:12px;overflow:hidden;background:#fff}
.qtable th{background:var(--navy);color:#fff;text-align:left;font-family:'SS4',Georgia,serif;font-weight:600;font-size:19px;padding:14px 22px}
.qtable td{vertical-align:top;padding:18px 22px}
.qtable th+th,.qtable td+td{border-left:1px solid var(--card-line)}
.artbody .qtable ol,.artbody .qtable ul{margin:0 0 0 22px}
.artbody .qtable li{margin:0 0 6px;font-size:17px;line-height:1.5}
@media (max-width:767px){ .qtable th{padding:12px 14px;font-size:17px} .qtable td{padding:14px 12px} .artbody .qtable ol,.artbody .qtable ul{margin-left:18px} .artbody .qtable li{font-size:16px} }
/* =============================================================
   LONG-READ LAYOUT  ·  text column at the left edge, sticky "In this page" list at the right
   ============================================================= */
html{scroll-behavior:smooth}
.lr-main{min-width:0}
.longread{display:grid;grid-template-columns:minmax(0,880px);gap:56px;align-items:start}
.longread.has-toc{grid-template-columns:minmax(0,880px) minmax(200px,260px)}
.longread .toc{position:sticky;top:28px;align-self:start}
.longread.has-toc>.lr-main{grid-column:1;grid-row:1}
.longread.has-toc>.toc,.longread.has-toc>.sidequote,.longread.has-toc>.rcol{grid-column:2;grid-row:1}
.longread>.rcol{position:sticky;top:28px;align-self:start}
.rcol .toc,.rcol .sidequote{position:static}
.rcol .toc+.sidequote{margin-top:34px}
.toc details{border-left:3px solid var(--card-line);padding-left:20px}
.toc summary{cursor:pointer;list-style:none;font-size:13px;letter-spacing:1.5px;text-transform:uppercase;color:var(--grey);font-weight:600;margin-bottom:12px}
.toc summary::-webkit-details-marker{display:none}
.toc ol{list-style:none;margin:0;padding:0}
.toc ol ol{margin:6px 0 4px 14px}
.toc li{margin:0 0 9px;line-height:1.35}
.toc a{color:var(--body);text-decoration:none;font-size:16px}
.toc a:hover{color:var(--navy)}
.toc a.active{color:var(--navy);font-weight:600}
.toc details:has(a.active){border-left-color:var(--accent)}
@media (max-width:1023px){
  .longread.has-toc{grid-template-columns:minmax(0,1fr)}
  .longread .toc{position:static;order:-1;margin-bottom:6px}
  .longread.has-toc>.lr-main,.longread.has-toc>.toc,.longread.has-toc>.sidequote{grid-column:1;grid-row:auto}
  .longread .sidequote{order:2}
  .longread>.rcol{display:contents}
  .toc details{border:1px solid var(--card-line);border-radius:10px;padding:14px 18px;background:#fff}
  .toc summary{margin-bottom:0}
  .toc details[open] summary{margin-bottom:12px}
}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }
/* =============================================================
   CATEGORY PAGES  ·  sub-category chips
   ============================================================= */
.chips{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 4px}
.chip{display:inline-block;border:1px solid var(--card-line);border-radius:999px;padding:6px 16px;font-size:15px;color:var(--navy);text-decoration:none;background:#fff;transition:border-color .15s ease}
.chip small{color:var(--grey);margin-left:4px;font-size:13px}
.chip:hover,.chip:focus-visible{border-color:var(--accent)}
/* =============================================================
   WRITING KIT  ·  how WordPress editor blocks look inside posts and pages
   (all inside .artbody). Pickable styles: Lead paragraph, Pull quote, Callout.
   ============================================================= */
.artbody h4{font-family:'SS3',Arial,sans-serif;font-size:16px;letter-spacing:1.5px;text-transform:uppercase;color:var(--blue);font-weight:600;margin:28px 0 8px}
.artbody .is-style-lead,.artbody p.is-style-lead{font-size:22px;line-height:1.6;color:var(--body)}
.artbody figure{margin:28px 0}
.artbody figure img{display:block;width:auto;max-width:100%;height:auto;margin-left:auto;margin-right:auto;border-radius:12px}
.artbody figcaption,.artbody .wp-element-caption{font-size:15px;color:var(--grey);margin-top:10px;line-height:1.5}
.artbody .alignleft{float:left;max-width:46%;margin:6px 28px 16px 0}
.artbody .alignright{float:right;max-width:46%;margin:6px 0 16px 28px}
.artbody .aligncenter{margin-left:auto;margin-right:auto}
.artbody .wp-block-gallery{display:grid;gap:14px;grid-template-columns:repeat(3,1fr);margin:28px 0}
.artbody .wp-block-gallery.columns-2{grid-template-columns:repeat(2,1fr)}
.artbody .wp-block-gallery.columns-4{grid-template-columns:repeat(4,1fr)}
.artbody .wp-block-gallery figure{margin:0}
.artbody .wp-block-gallery img{aspect-ratio:4/3;object-fit:cover}
.artbody hr,.artbody .wp-block-separator{border:0;border-top:1px solid var(--line);margin:40px 0;height:0;background:none;opacity:1}
.artbody blockquote cite{display:block;margin-top:10px;font-family:'SS3',Arial,sans-serif;font-style:normal;font-size:16px;color:var(--grey)}
.artbody blockquote p{margin:0 0 10px}
.artbody blockquote p:last-of-type{margin-bottom:0}
.artbody .wp-block-quote.is-style-pull,.artbody .wp-block-pullquote{border:0;border-top:1px solid var(--card-line);border-bottom:1px solid var(--card-line);padding:30px 10px;margin:38px 0;text-align:center;font-size:28px;line-height:1.4;color:var(--navy)}
.artbody .wp-block-quote.is-style-pull::before,.artbody .wp-block-pullquote::before{content:"";display:block;width:48px;height:4px;border-radius:2px;background:var(--accent);margin:0 auto 18px}
.artbody .wp-block-pullquote blockquote{border:0;padding:0;margin:0;font-size:inherit;color:inherit}
.artbody .wp-block-group.is-style-callout{background:var(--band);border-left:5px solid var(--accent);border-radius:0 12px 12px 0;padding:24px 28px;margin:32px 0}
.artbody .wp-block-group.is-style-callout>:first-child{margin-top:0}
.artbody .wp-block-group.is-style-callout>:last-child{margin-bottom:0}
.artbody .wp-block-group.is-style-callout h2,.artbody .wp-block-group.is-style-callout h3,.artbody .wp-block-group.is-style-callout h4{font-size:22px;letter-spacing:0;text-transform:none;color:var(--ink);font-family:'SS4',Georgia,serif;margin:0 0 8px}
.artbody .wp-block-table{margin:28px 0;overflow-x:auto}
.artbody .wp-block-table table{width:100%;border-collapse:collapse;font-size:18px}
.artbody .wp-block-table th,.artbody .wp-block-table td{padding:12px 16px;border:1px solid var(--card-line);text-align:left;vertical-align:top}
.artbody .wp-block-table th{background:var(--navy);color:#fff;font-family:'SS4',Georgia,serif;font-weight:600}
.artbody .wp-block-table tbody tr:nth-child(even) td{background:var(--tint)}
.artbody .wp-block-buttons{display:flex;gap:14px;flex-wrap:wrap;margin:26px 0}
.artbody .wp-block-button__link{display:inline-block;background:var(--navy);color:#fff!important;border:1px solid var(--navy);border-radius:999px;padding:12px 26px;font-weight:600;font-size:16px;text-decoration:none!important;transition:background .15s ease}
.artbody .wp-block-button__link:hover{background:var(--navy-dark)}
.artbody .is-style-outline .wp-block-button__link{background:#fff;color:var(--navy)!important}
.artbody .is-style-outline .wp-block-button__link:hover{background:var(--tint)}
.artbody .wp-block-columns{display:flex;gap:28px;margin:26px 0;flex-wrap:wrap}
.artbody .wp-block-column{flex:1 1 0;min-width:240px}
.artbody details{border:1px solid var(--card-line);border-radius:10px;padding:14px 18px;margin:18px 0;background:#fff}
.artbody details summary{cursor:pointer;font-weight:600;color:var(--navy)}
.artbody pre,.artbody code{font-family:Consolas,Menlo,monospace;font-size:16px;background:var(--tint);border-radius:6px}
.artbody code{padding:2px 6px}
.artbody pre{padding:16px 18px;overflow-x:auto;margin:0 0 22px}
.artbody iframe,.artbody video{max-width:100%}
@media (max-width:767px){
  .artbody .alignleft,.artbody .alignright{float:none;max-width:100%;margin:22px 0}
  .artbody .wp-block-gallery,.artbody .wp-block-gallery.columns-4{grid-template-columns:repeat(2,1fr)}
  .artbody .wp-block-quote.is-style-pull,.artbody .wp-block-pullquote{font-size:22px}
  .artbody .wp-block-group.is-style-callout{padding:18px 20px}
  .artbody .is-style-lead{font-size:20px}
}
/* =============================================================
   COLLECTIONS  ·  video cards, long lists in two columns
   ============================================================= */
.vgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 28px;max-width:880px}
.vcard{margin:0}
.vcard iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:12px;background:var(--tint)}
.vcard .hph{aspect-ratio:16/9;font-style:normal;font-size:18px;color:var(--navy)}
.vcard figcaption{margin-top:12px;display:flex;flex-direction:column;gap:4px}
.vcard figcaption b{font-family:'SS4',Georgia,serif;font-size:20px;line-height:1.3;color:var(--ink);font-weight:600}
.vcard figcaption a{font-weight:600;font-size:16px;text-decoration:none;color:var(--navy)}
.vcard figcaption a:hover{color:var(--blue)}
@supports selector(:has(*)){
  @media (min-width:768px){
    .artbody ul:has(> li:nth-child(15)){columns:2;column-gap:44px}
    .artbody ul:has(> li:nth-child(15)) li{break-inside:avoid}
  }
}
@media (max-width:767px){ .vgrid{grid-template-columns:1fr} }
/* =============================================================
   WARMTH  ·  soft orange halo behind hero images, italic voice lines, sign-off,
   footer quotation, margin quotation
   ============================================================= */
.hero .hright,.ihero .hr{position:relative}
.hero .hright::before,.ihero .hr::before{content:"";position:absolute;right:0;top:0;width:62%;aspect-ratio:1/1;border-radius:50%;background:var(--accent);opacity:.36;z-index:0;transform:translate(28.4%,-17.4%)}
.hero,.ihero{overflow-x:clip}
.hero .hright>*,.ihero .hr>*{position:relative;z-index:1}
.hero .lead{font-style:italic}
.lead2 p,.lead.measure,.archintro{font-family:'SS4',Georgia,serif;font-style:italic}
.lead2 p{font-size:22px}
.signoff{margin:44px 0 0;padding-top:26px;border-top:1px solid var(--line)}
.signoff p{margin:0;font-family:'SS4',Georgia,serif;font-style:italic;font-size:24px;line-height:1.4;color:var(--navy)}
.signoff .nm{margin-top:6px;font-family:'SS3',Arial,sans-serif;font-style:normal;font-size:18px;color:var(--body)}
.foot-qband{background:var(--page)}
.foot-quote{text-align:center;padding:38px 0 26px;border-bottom:1px solid rgba(28,95,149,.16)}
.foot-quote::before{content:"";display:block;width:44px;height:4px;border-radius:2px;background:var(--accent);margin:0 auto 18px}
.foot-quote blockquote{max-width:840px;margin:0 auto;font-family:'SS4',Georgia,serif;font-style:italic;font-size:21px;line-height:1.5;color:var(--ink)}
.sidequote{position:sticky;top:28px;align-self:start;border-left:4px solid var(--accent);padding:4px 0 4px 22px}
.sidequote blockquote{margin:0;border:0;padding:0;font-family:'SS4',Georgia,serif;font-style:italic;font-size:23px;line-height:1.45;color:var(--navy)}
.sidequote blockquote p{margin:0}
@media (max-width:1023px){
  .sidequote{position:static;margin-top:6px}
}
@media (max-width:767px){
  .lead2 p{font-size:20px}
  .foot-quote blockquote{font-size:18px}
  .signoff p{font-size:21px}
}
/* =============================================================
   POEMS  ·  verse set as text (two poems side by side on wide screens)
   ============================================================= */
.poems-text{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:10px;align-items:start}
.poem{background:#fff;border:1px solid var(--card-line);border-radius:14px;padding:28px 30px}
.poem h3{margin:0 0 16px;font-size:23px;font-weight:600;line-height:1.25}
.verse{margin:0 0 18px;font-family:'SS4',Georgia,serif;font-style:italic;font-size:19px;line-height:1.7;color:var(--body);border-left:3px solid var(--accent);padding-left:14px}
.verse:last-child{margin-bottom:0}
@media (max-width:767px){ .poems-text{grid-template-columns:1fr} .poem{padding:22px 22px} }
/* =============================================================
   PAGE PICTURE and HOME WELCOME  ·  used by page.php and front-page.php
   ============================================================= */
.pageimg{width:100%;height:auto;border-radius:14px;box-shadow:0 22px 55px rgba(28,95,149,.16);display:block}
/* One standard hero-picture size on every page, whatever shape the photo is: a 3:2 frame, photo cropped to fit */
.ihero .hr .pageimg{aspect-ratio:3/2;object-fit:cover;object-position:50% 0%}
.welcome p{font-size:20px;line-height:1.62;color:var(--body);max-width:720px;margin:12px auto 0;text-align:center;text-wrap:balance}
/* =============================================================
   RESPONSIVE  ·  desktop >=1024 · tablet 768-1023 · mobile <768
   ============================================================= */
@media (max-width:1023px){
  .wrap{padding:0 28px}

  /* header collapses to the hamburger; dropdowns become an accordion */
  .nav-in{flex-wrap:wrap;height:auto;padding-top:18px;padding-bottom:18px;position:relative}
  .nav-toggle{display:inline-block}
  .nav-r{display:none;flex-direction:column;align-items:stretch;gap:0;width:100%;margin-top:14px;border-top:1px solid var(--line)}
  .nav.open .nav-r{display:flex}
  .nav-r>a,.nav-item>.top{height:auto;padding:14px 2px;border-bottom:1px solid var(--line)}
  .nav-r>a.active,.nav-item>.top.active{box-shadow:none;color:var(--blue)}
  .nav-item{display:flex;flex-wrap:wrap;align-items:center;height:auto;border-bottom:1px solid var(--line)}
  .nav-item>.top{flex:1;border-bottom:0}
  .sub-toggle{height:48px;width:48px}
  .sub{position:static;display:none;flex:0 0 100%;min-width:0;border:0;border-top:0;box-shadow:none;padding:0 0 8px 14px;border-radius:0}
  .nav-item:focus-within>.sub{display:none}
  .nav-item.open>.sub{display:block}
  .sub a{padding:10px 4px}
  .nav-r>a.contact{margin:16px 0 4px;text-align:center;justify-content:center;padding:13px 22px;border-bottom:0}
  .nav-search-toggle{display:none}
  .nav.search-open .nav-search{display:none}
  .nav-search-m{display:flex;gap:10px;width:100%;margin:0 0 14px;padding:14px 0 16px;border-bottom:1px solid var(--line)}
  .nav-search-m input[type=search]{flex:1;border:1px solid var(--line);border-radius:999px;padding:11px 16px;font-family:'SS3',Arial,sans-serif;font-size:16px}
  .nav-search-m input[type=search]:focus{outline:none;border-color:var(--blue)}
  .nav-search-m .sbtn{background:var(--navy);color:#fff;border:0;border-radius:999px;padding:0 16px;cursor:pointer;display:flex;align-items:center}
  .nav-search-m .mag{width:18px;height:18px;display:block}

  .hero .wrap{display:block}
  .hleft,.hright{flex:none;width:100%}
  .hright{margin-top:46px}
  .hero h1{font-size:42px}
  h2.sec{font-size:30px}
  h1.page{font-size:40px}
  .gates{grid-template-columns:repeat(2,1fr)}
  .acards.three .acard{width:48.7%}
  .ins-top{display:block}
  .ins-side{margin-top:28px}
}

@media (max-width:767px){
  .wrap{padding:0 20px}
  .nav-word{font-size:23px}
  .hero{padding:40px 0 44px}
  .hero h1{font-size:34px}
  .hero .lead{font-size:21px}
  .gates{grid-template-columns:1fr}
  h1.page{font-size:32px}
  .subsec{font-size:19px}
  .quote{padding:34px 0}
  .quote blockquote{font-size:24px}
  .cmain,.cside{display:block;width:auto;margin:0 0 20px}
  .cwrap{flex-direction:column;gap:0}
  .acard,.acards.three .acard{width:100%;margin-bottom:16px}
  .relrow{flex-wrap:wrap}
  .relrow .acard{flex:0 0 100%;margin-bottom:16px}
  .artwrap,.searchwrap{padding:0 20px}
  .artbody{font-size:18px}
  .artbody blockquote{font-size:20px}
  .feature{padding:26px 24px}
  .foot-in{flex-direction:column;align-items:flex-start;gap:14px}
  .foot-tag{border-left:0;padding-left:0;max-width:none}
  .foot-r{margin-left:0}
  .fcwrap{flex-direction:column;gap:14px;align-items:center}
  .fsoc{position:static;transform:none;order:-1}
  .e404{padding:64px 0}
  .e404 h1{font-size:52px}
}

@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important}
  .gate,.acard{transition:none}
  .gate:hover,.gate:focus-within,.acard:hover,.acard:focus-within{transform:none}
}

/* =============================================================
   BACKGROUNDS  ·  only two: white and very light peach. The header is white, then the
   sections of every page alternate peach / white / peach ... down to the footer.
   ============================================================= */


.foot-qband{background:var(--band)}

.hph{background:#fff}

/* =============================================================
   HERO POSITION  ·  one rule for every page: the picture starts the same distance below the
   header line (Home's old gap plus 15%), and the text on the left starts level with the
   top of the picture ("Soul Friend", "My Life" ...).
   ============================================================= */
.hero .kick,.ihero .kick,.ihero .crumb{line-height:1}
.hero .hleft>:first-child,.ihero .hl>:first-child{margin-top:0}
@media (min-width:1024px){
  .hero,.ihero{padding-top:100px}
  .hero .wrap,.ihero .wrap{align-items:flex-start}
}
/* Italic sub-headings inside a section (e.g. Positive Qualities / Negative Qualities) */
.artbody h4{font-family:'SS4',Georgia,serif;font-size:22px;line-height:1.3;font-weight:400;font-style:italic;color:var(--ink);margin:28px 0 10px;scroll-margin-top:24px}
.artbody ol.qlist{line-height:1.5}

/* =============================================================
   THE BOOK  ·  one set of parts used by every template (17 Oct 2026).
   Desk = very light peach (main); pages = white. Benchmark book: 1120 x 703,
   page 560 x 703, text 19px on 32px lines, "Page x of y" at the foot of each page.
   ============================================================= */
:root{--bk-stack:0 3.5px 0 -1px #F3E8D6,0 7px 0 -2px #E6D5BC,0 10.5px 0 -3px #F3E8D6,0 14px 0 -4px #E6D5BC}
main{background:var(--band)}
main>section{background:transparent}
.foot-qband{background:var(--band)}
.home .foot-qband{display:none}
.bk-wrap{max-width:1200px}

/* ---- the head of every page: title on the left, a tilted print on the right ---- */
.bk-head{padding:100px 0 50px}
.bk-head .wrap{display:flex;align-items:flex-start;gap:6%}
.bk-title{flex:1;min-width:0}
.bk-title .kick,.bk-title .crumb{line-height:1}
.bk-title h1{font-size:54px;line-height:1.12;font-weight:600;color:var(--ink);letter-spacing:-.8px;margin-top:6px}
.bk-title .stroke{margin:26px 0 22px}
.bk-title .artmeta{margin-top:-6px}
.bk-lead,.bk-lead p{font-family:'SS4',Georgia,serif;font-style:italic;font-size:23px;line-height:1.55;color:var(--body);max-width:560px;margin:0}
.bk-title .btns{margin-top:30px}
.bk-photo{flex:0 0 27.6%;position:relative;transform:rotate(-1.8deg);margin:6px 0 0}
.bk-photo::before{content:"";position:absolute;right:-8%;top:-12%;width:58%;aspect-ratio:1/1;border-radius:50%;background:var(--accent);opacity:.3;z-index:0}
.bk-print{position:relative;z-index:1;background:#fff;padding:14px 14px 56px;border-radius:4px;box-shadow:0 22px 50px rgba(28,95,149,.18)}
.bk-print img{display:block;width:100%;height:393px;object-fit:cover;object-position:50% 0%;border-radius:2px}
.bk-print figcaption{font-family:'SS4',Georgia,serif;font-style:italic;font-size:16px;color:var(--grey);text-align:center;padding-top:12px}
.bk-head.no-photo{padding-bottom:40px}

/* ---- an open book: two white pages, the fold, the stack of page edges, a faint paper grain ---- */
.bk-sec{padding:0 0 70px;overflow-x:clip}
.bk-sec .wrap{isolation:isolate}
.bk-spread{position:relative;display:grid;grid-template-columns:1fr 1fr;max-width:1120px;min-height:703px;margin:0 auto;background:#fff;border-radius:8px;box-shadow:var(--bk-stack),0 40px 80px rgba(28,95,149,.14)}
.bk-spread::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:126px;transform:translateX(-50%);background:linear-gradient(90deg,rgba(90,60,30,0),rgba(90,60,30,.0805) 50%,rgba(90,60,30,0));pointer-events:none;z-index:2}
.bk-spread::after{content:"";position:absolute;z-index:-1;width:230px;height:230px;border-radius:50%;background:var(--accent);opacity:.36;top:-112px;right:-72px}
.bk-spread.sun-l::after{right:auto;left:-72px}
.bk-spread.no-sun::after{display:none}
.bk-spread+.bk-spread{margin-top:150px}
.bk-ribbon{position:absolute;z-index:3;top:-10px;right:196px;width:26px;height:78px;background:var(--accent);clip-path:polygon(0 0,100% 0,100% 100%,50% 78%,0 100%);filter:drop-shadow(0 4px 4px rgba(80,50,20,.25))}
.bk-page{position:relative;padding:58px 62px 70px;font-size:19px;line-height:32px;color:#2a2f36}
.bk-page::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.bk-page>*{position:relative;z-index:1}
.bk-folio{position:absolute;left:0;right:0;bottom:26px;text-align:center;font-family:'SS4',Georgia,serif;font-style:italic;font-size:15px;line-height:1.2;color:var(--grey);z-index:1}
.bk-page p,.bk-pc p{margin:0 0 14px}
.bk-page>h2,.bk-page>h3,.bk-pc>h2,.bk-pc>h3{font-family:'SS4',Georgia,serif;font-size:25px;line-height:32px;font-weight:600;color:var(--ink);margin:32px 0 10px}
.bk-page>h2:first-child,.bk-page>h3:first-child,.bk-pc>h2:first-child,.bk-pc>h3:first-child{margin-top:0}
.bk-page h4,.bk-pc h4{font-family:'SS4',Georgia,serif;font-size:22px;line-height:32px;font-weight:400;font-style:italic;color:var(--ink);margin:32px 0 10px}
.bk-page h4:first-child,.bk-pc h4:first-child{margin-top:0}
.bk-page ol,.bk-page ul,.bk-pc ol,.bk-pc ul{margin:0 0 14px;padding-left:24px}
.bk-page li{margin-bottom:6px}
.bk-page ol.qlist,.bk-pc ol.qlist{line-height:30px}
.bk-page ol.qlist li,.bk-pc ol.qlist li{margin-bottom:0}
.bk-page .bk-cont,.bk-pc .bk-cont{margin-bottom:0}
.bk-page>:nth-last-child(2){margin-bottom:0}
.bk-page blockquote,.bk-pc blockquote{margin:0 0 16px;padding:2px 0 2px 16px;border-left:4px solid var(--accent);font-family:'SS4',Georgia,serif;font-style:italic;color:var(--ink)}
.bk-page a,.bk-pc a{color:var(--navy);text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:2px;text-underline-offset:3px}
.bk-page a.btn,.bk-pc a.btn{color:#fff;text-decoration:none}
.bk-page a.btn.ghost,.bk-pc a.btn.ghost{color:var(--navy)}
.bk-page table,.bk-pc table{font-size:15px;line-height:1.35;width:100%}
.bk-page img,.bk-pc img{max-width:100%;height:auto;border-radius:6px}
.bk-page .toc,.bk-pc .toc{position:static;margin:0 0 24px}
.bk-page .toc a{font-size:16px;text-decoration:none}
.bk-page h2.sec,.bk-page .kick+h2{font-size:34px;line-height:1.2;margin:6px 0 20px}

/* ---- the Foreword page: a large first letter with every line of the paragraph to its right ---- */
.bk-fore p{margin-top:14px}
.bk-fore p.bk-drop{display:flex;align-items:flex-start;gap:13px}
.bk-drop .cap{flex:0 0 30px;text-align:center;font-family:'SS4',Georgia,serif;font-size:76px;line-height:.85;color:var(--ink);font-weight:600;margin-top:4px}
.bk-drop .rest{flex:1;min-width:0;text-align:left}
.bk-fore p:not(.bk-drop){margin-left:43px}
.bk-note{margin-top:30px;border-left:4px solid var(--accent);padding:2px 0 2px 18px;font-family:'SS4',Georgia,serif;font-style:italic;font-size:19px;line-height:1.5;color:var(--ink)}

/* ---- contents lists (Home, section openers, writing categories) ---- */
.bk-toc{margin-top:8px}
.bk-row{display:flex;align-items:baseline;gap:16px;padding:18px 4px;border-bottom:1px solid var(--card-line);text-decoration:none!important;color:inherit!important;transition:border-color .18s ease,padding-left .18s ease}
.bk-row:first-child{border-top:1px solid var(--card-line)}
.bk-row:hover,.bk-row:focus-visible{border-color:var(--accent);padding-left:12px}
.bk-row .no{flex:0 0 34px;font-family:'SS4',Georgia,serif;font-style:italic;font-size:20px;color:var(--accent-deep)}
.bk-row .tt{flex:1}
.bk-row b{display:block;font-family:'SS4',Georgia,serif;font-size:24px;font-weight:600;color:var(--ink);line-height:1.25}
.bk-row i{display:block;font-style:normal;font-size:16.5px;line-height:1.55;color:var(--body);margin-top:3px}
.bk-row .go{color:var(--navy);font-weight:600;font-size:18px}
.bk-page .kick{margin:0;line-height:23px}

/* ---- a post on a page of the book (Home, My Writings, categories, more writings) ---- */
.bk-card{display:block;text-decoration:none!important;color:inherit!important}
.bk-card img{display:block;width:100%;height:268px;object-fit:cover;object-position:50% 0%;border-radius:6px;margin:0 0 18px}
.bk-card .meta{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;line-height:1.2;letter-spacing:1.2px;text-transform:uppercase;font-weight:600;color:var(--grey)}
.bk-card .meta .tag{color:var(--blue)}
.bk-card .meta .mr{display:flex;align-items:center;gap:10px}
.bk-card .latest{background:var(--accent);color:var(--ink);border-radius:999px;padding:2px 10px;font-size:11.5px;letter-spacing:1.2px}
.bk-card b{display:block;font-family:'SS4',Georgia,serif;font-size:25px;font-weight:600;color:var(--ink);line-height:1.3;margin-top:8px}
.bk-card .ex{display:block;font-size:19px;line-height:32px;color:var(--body);margin-top:6px}
.bk-card .rd{display:inline-block;margin-top:8px;font-weight:600;font-size:16px;color:var(--navy)}
.bk-card:hover b,.bk-card:focus-visible b{color:var(--navy-dark);text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:2px;text-underline-offset:4px}
.bk-spread.is-hidden{display:none}

/* ---- Home extras ---- */
.bk-epi{text-align:center;padding:30px 0 66px}
.bk-epi blockquote{max-width:760px;margin:0 auto;font-family:'SS4',Georgia,serif;font-style:italic;font-size:27px;line-height:1.5;color:var(--ink)}
.bk-epi blockquote::before{content:"\201C";display:block;font-size:70px;line-height:.6;color:var(--accent);margin-bottom:10px}
.bk-newhead{text-align:center;padding:0 0 30px}
.bk-newhead h2{font-size:36px;font-weight:600;margin-top:4px}
.bk-live{margin-top:12px;font-family:'SS4',Georgia,serif;font-style:italic;font-size:19px;color:var(--grey)}
.bk-live::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--accent);margin-right:10px;vertical-align:1px}
.bk-more{text-align:center;margin-top:34px}
.bk-more .btns{justify-content:center;margin-left:0}
.bk-end{text-align:center;padding:30px 0 80px}
.bk-end p{font-family:'SS4',Georgia,serif;font-style:italic;font-size:25px;color:var(--ink);margin:0}
.bk-end .nm{font-family:'SS4',Georgia,serif;font-style:italic;font-size:34px;color:var(--ink);margin-top:8px}
.bk-end .stroke{display:inline-block;margin-top:20px}

/* ---- a single white sheet for pages that scroll (reference lists, Contact, search, 404) and the "one page" reading mode ---- */
.bk-leaves{max-width:880px;margin:0 auto}
.bk-leaves .bk-page{margin:0 0 40px;padding:54px 62px 80px;background:#fff;border-radius:8px;box-shadow:var(--bk-stack),0 34px 70px rgba(28,95,149,.12)}
.bk-sheet{position:relative;max-width:1120px;margin:0 auto 40px;background:#fff;border-radius:8px;padding:54px 62px 60px;box-shadow:var(--bk-stack),0 34px 70px rgba(28,95,149,.12)}
.bk-sheet.narrow-sheet{max-width:880px}
.bk-sheet::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.bk-sheet>*{position:relative;z-index:1}
.bk-body{padding:0 0 80px}
.bk-body .longread{max-width:1120px;margin:0 auto}
.bk-body .longread .lr-main{max-width:880px}
.bk-body .pager{max-width:880px;margin:6px auto 0;border-top:0}
.bk-body .longread .pager{margin-left:0;margin-right:0}
.bk-tools{display:none;text-align:center;margin:34px 0 32px}
.bk-js-flip .bk-tools{display:block}
.bk-tools button{font-family:'SS3',Arial,sans-serif;background:none;border:0;color:var(--navy);font-weight:600;font-size:16px;text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:2px;text-underline-offset:4px;cursor:pointer}

/* ---- the flipbook: ONE open book that the reader turns through, forwards and backwards ---- */
.bk-flip{position:relative;width:1120px;margin:0 auto;display:none}
.bk-js-flip .bk-flip{display:block}
.bk-js-flip .bk-leaves{display:none}
.bk-js-flip.bk-reading-plain .bk-flip{display:none}
.bk-js-flip.bk-reading-plain .bk-leaves{display:block}
.bk-stage{position:relative;overflow:visible;height:703px;perspective:2600px;background:#fff;border-radius:8px;box-shadow:var(--bk-stack),0 40px 80px rgba(28,95,149,.14);outline:none}
.bk-stage:focus-visible{outline:3px solid var(--accent);outline-offset:6px}
.bk-stage::after{content:"";position:absolute;left:50%;top:0;bottom:0;width:126px;transform:translateX(-50%);background:linear-gradient(90deg,rgba(90,60,30,0),rgba(90,60,30,.0805) 50%,rgba(90,60,30,0));pointer-events:none;z-index:6}
.bk-slot{position:absolute;top:0;width:50%;height:100%;background:#fff;overflow:hidden}
.bk-slot.left{left:0;border-radius:8px 0 0 8px}
.bk-slot.right{right:0;border-radius:0 8px 8px 0}
.bk-slot .bk-page,.bk-face .bk-page{height:100%;overflow:hidden}
.bk-flipper{position:absolute;top:0;left:50%;width:50%;height:100%;z-index:5;transform-origin:left center;transform-style:preserve-3d;transition:transform .9s cubic-bezier(.45,.05,.25,1)}
.bk-flipper.back{left:0;transform-origin:right center}
.bk-face{position:absolute;inset:0;background:#fff;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.bk-face.rev{transform:rotateY(180deg)}
.bk-face::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(60,40,20,0),rgba(60,40,20,.22));opacity:0;z-index:7}
.bk-flipper.go .bk-face::after{animation:bkshade .9s ease}
.bk-flipper.back .bk-face::after{background:linear-gradient(270deg,rgba(60,40,20,0),rgba(60,40,20,.22))}
@keyframes bkshade{0%{opacity:0}50%{opacity:1}100%{opacity:0}}
.bk-nav{position:absolute;top:50%;margin-top:-25px;z-index:9;width:50px;height:50px;border-radius:50%;box-shadow:0 6px 16px rgba(80,50,20,.18);border:1px solid #E3C9A6;background:#FCE6CB;color:var(--navy);font-size:22px;line-height:1;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.bk-nav.prev{left:-30px}
.bk-nav.next{right:-30px}
.bk-nav:hover:not(:disabled){background:#F9D7AE;border-color:var(--navy)}
.bk-nav:disabled{opacity:.3;cursor:default}
.bk-nav:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media (prefers-reduced-motion:reduce){.bk-flipper{transition:none}.bk-flipper.go .bk-face::after{animation:none}}

/* ---- phones and tablets: one column, pages follow one another, no fixed height, no turning ---- */

/* poems inside a page of the book */
.bk-page p.verse,.bk-pc p.verse{font-family:'SS4',Georgia,serif;font-style:italic;color:var(--ink);line-height:30px;margin:0 0 16px;border-left:3px solid var(--accent);padding-left:14px}
.bk-page p.verse.bk-cont,.bk-pc p.verse.bk-cont{margin-bottom:0}
.bk-leaves .poems-text{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:10px 0 24px}
.bk-leaves .poem{padding:0}
@media (max-width:1023px){
  .bk-head{padding:44px 0 20px}.bk-head .wrap{display:block}
  .bk-title h1{font-size:40px}
  .bk-photo{width:78%;max-width:420px;margin:44px auto 0}
  .bk-spread{grid-template-columns:1fr;min-height:0}.bk-spread::before,.bk-spread::after{display:none}
  .bk-spread+.bk-spread{margin-top:40px}
  .bk-ribbon{display:none}
  .bk-page{padding:38px 24px 66px}
  .bk-leaves .bk-page{padding:34px 22px 70px}
  .bk-sheet{padding:34px 22px 40px}
  .bk-card img{height:210px}
  .bk-flip,.bk-tools{display:none!important}
  .bk-js-flip .bk-leaves{display:block}
  .bk-epi blockquote{font-size:22px}
}

/* ---- the sun rising from behind the book, on every page that has one (story pages, scrolling pages, posts, sheets) ---- */
.bk-body{overflow-x:clip}
.bk-body .wrap{isolation:isolate}
.bk-flip::before,.bk-leaves>.bk-page:nth-child(odd)::before,.bk-sheet::before{content:"";position:absolute;z-index:-1;width:230px;height:230px;border-radius:50%;background:var(--accent);opacity:.36;top:-112px;right:-72px}
.bk-head{padding-bottom:64px}
.bk-leaves>.bk-page:nth-child(4n+3)::before{right:auto;left:-72px}
.bk-leaves.start-left>.bk-page:nth-child(4n+1)::before{right:auto;left:-72px}
.bk-leaves.start-left>.bk-page:nth-child(4n+3)::before{left:auto;right:-72px}
@media (max-width:1023px){.bk-flip::before,.bk-leaves>.bk-page:nth-child(odd)::before,.bk-sheet::before{display:none}.bk-head{padding-bottom:20px}}

/* a heading that is also a link keeps the heading look; the underline appears on hover only */
.bk-page h2 a,.bk-page h3 a{color:inherit;text-decoration:none}
.bk-page h2 a:hover,.bk-page h3 a:hover,.bk-page h2 a:focus-visible,.bk-page h3 a:focus-visible{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:2px;text-underline-offset:4px}

/* photo plates: pictures set two across as small squares (faces kept in view); used inside the pages of the book */
.ppm-plate{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 18px}
.ppm-plate figure{margin:0}
.ppm-plate img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;object-position:50% 25%;border-radius:6px}
