@font-face{font-family:BeheshtiSans;src:url('IRANSansWeb.woff') format('woff');font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--bg:#17191C;--surface:#23262B;--text:#F2EDE6;--muted:#bbb7b2;--accent:#C49370;--line:#444345;--accent-text:#C49370;--header:rgba(23,25,28,.96)}
:root[data-mode=light]{color-scheme:light;--bg:#F5F1EB;--surface:#eae4dc;--text:#17191C;--muted:#53504c;--line:#c8beb3;--accent-text:#765039;--header:rgba(245,241,235,.96)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:6rem;background:var(--bg)}body{margin:0;background:var(--bg);color:var(--text);font-family:BeheshtiSans,Tahoma,sans-serif;font-size:16px;line-height:2;overflow-wrap:anywhere}a{color:inherit;text-decoration:none}a:hover{color:var(--accent-text)}img{max-width:100%;height:auto;display:block}button,input,textarea{font:inherit}button{cursor:pointer}button,a{touch-action:manipulation}:focus-visible{outline:3px solid var(--accent-text);outline-offset:5px}p{margin:0 0 1.4rem}h1,h2,h3{font-weight:500;line-height:1.8;text-align:center;text-wrap:balance;margin:0 0 1.2rem}h1{font-size:clamp(2.1rem,4.3vw,4rem)}h2{font-size:clamp(1.6rem,2.7vw,2.6rem)}h3{font-size:1.25rem}.skip-link{position:fixed;top:-5rem;right:1rem;padding:.6rem 1rem;z-index:100;background:var(--text);color:var(--bg)}.skip-link:focus{top:1rem}.site-header{position:relative;z-index:10;background:var(--header);border-bottom:1px solid var(--line)}.header-inner{max-width:1320px;margin:auto;display:flex;align-items:center;gap:1.8rem;min-height:96px;padding:1rem 4vw}.brand{width:220px;flex-shrink:0}.english-mark{width:220px;height:auto;min-height:35px;object-fit:contain}:root[data-mode=light] .brand{background:#17191C;padding:5px 9px;border-radius:3px}#primary-nav{margin-inline:auto}#primary-nav ul{display:flex;align-items:center;gap:1.3rem;list-style:none;padding:0;margin:0;font-size:.84rem}#primary-nav a{display:block;padding:.4rem 0;white-space:nowrap}#primary-nav .current-menu-item a{color:var(--accent-text)}.mode-toggle,.menu-toggle{border:1px solid var(--line);border-radius:100px;background:transparent;color:var(--text);display:flex;align-items:center;gap:.5rem;padding:.4rem .9rem;font-size:.8rem}.mode-toggle span:first-child{font-size:1.3rem}.menu-toggle{display:none}.home-content>.wp-block-group{padding:6rem 5vw;border-bottom:1px solid var(--line)}.home-content>.wp-block-group>.wp-block-group__inner-container,.home-content>.wp-block-group>div:not(.wp-block-group__inner-container){max-width:1180px;margin-inline:auto}.home-content .section-intro{max-width:680px;margin:0 auto 2.8rem;text-align:center;color:var(--muted)}.eyebrow{text-align:center;letter-spacing:.08em;color:var(--accent-text);font-size:.78rem;margin-bottom:1rem}.home-content .hero{padding-top:4rem;padding-bottom:0;overflow:hidden}.hero .wp-block-columns{gap:4rem;align-items:center;margin:0 auto;max-width:1220px}.hero .wp-block-column:first-child{padding-bottom:4rem}.hero h1{margin-bottom:1.5rem}.hero .hero-description{text-align:center;color:var(--muted);max-width:550px;margin:0 auto 2rem}.hero .wp-block-image{margin:0;position:relative}.hero .wp-block-image img{width:100%;height:620px;object-fit:cover;object-position:center 20%;border-radius:180px 180px 0 0}.hero .hero-caption{text-align:center;color:var(--muted);font-size:.75rem;margin:1rem auto}.wp-block-buttons{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;margin:2rem 0 0}.wp-block-button__link,.button{display:inline-flex;justify-content:center;align-items:center;gap:.6rem;border:1px solid var(--accent);background:var(--accent);color:#17191C!important;padding:.85rem 1.5rem;border-radius:3px;text-align:center;line-height:1.8;font-size:.9rem;font-weight:600}.is-style-outline .wp-block-button__link,.button.secondary{background:transparent;color:var(--text)!important;border-color:var(--line)}.wp-block-button__link:hover,.button:hover{background:#d5ac8e;color:#17191C!important}.home-content .quiet-intro{max-width:820px;margin-inline:auto;text-align:justify;text-align-last:right;color:var(--muted);font-size:1.05rem}.home-content .quiet-intro p{text-align:justify;text-align-last:right}.home-content .wp-block-columns{display:flex;gap:2rem}.home-content .wp-block-column{flex:1;min-width:0}.path-card{background:var(--surface);border:1px solid var(--line);padding:2.5rem 1.7rem;height:100%;text-align:center}.path-card p{color:var(--muted);text-align:center}.path-card .number{font-family:Georgia,serif;font-size:2rem;color:var(--accent-text);margin-bottom:1rem}.home-content .about-section .wp-block-columns{align-items:center;gap:5rem;max-width:1100px}.about-section figure{margin:0}.about-section img{height:470px;width:100%;object-fit:cover;border-radius:3px}.about-section p:not(.eyebrow){text-align:justify;text-align-last:right;color:var(--muted)}.home-content .book-section{background:var(--surface)}.book-section .wp-block-columns{align-items:center;max-width:900px;gap:5rem}.book-section .wp-block-image{max-width:240px;margin:auto}.book-section img{box-shadow:12px 16px 0 rgba(196,147,112,.18)}.book-section p:not(.eyebrow){text-align:justify;text-align-last:right;color:var(--muted)}.entry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;max-width:1180px;margin:2.5rem auto 0}.entry-card{border:1px solid var(--line);background:var(--surface);padding:1.5rem;display:flex;flex-direction:column}.entry-card>a>img{width:100%;height:190px;object-fit:cover;margin-bottom:1.3rem}.entry-card h2,.entry-card h3{font-size:1.15rem}.entry-card p{font-size:.85rem;color:var(--muted);text-align:justify;text-align-last:right}.entry-card .text-link{margin-top:auto;padding-top:.5rem;text-align:center;color:var(--accent-text);font-size:.85rem}.home-content .credential-strip{max-width:850px;margin:2rem auto}.credential-strip img{max-height:370px;object-fit:contain;margin:auto;width:100%}.home-content .closing{text-align:center;padding-block:6rem}.closing p{max-width:650px;margin-inline:auto;color:var(--muted);text-align:center}.closing .commitment{font-size:.85rem;margin-top:2rem}.site-footer{padding:3rem 5vw;background:var(--surface)}.footer-inner{max-width:1050px;margin:auto;text-align:center}.nastaliq-mark{width:85px;margin:0 auto 1rem}.footer-copy{max-width:650px;margin:auto;color:var(--muted);font-size:.85rem}.site-footer nav{display:flex;justify-content:center;flex-wrap:wrap;gap:1.5rem;font-size:.85rem;margin:1.5rem 0}.copyright{border-top:1px solid var(--line);padding-top:1.5rem;margin-top:2rem;color:var(--muted);font-size:.75rem}.reading-shell{max-width:1000px;margin:auto;padding:4rem 5vw 6rem;min-height:60vh}.reading-header{text-align:center;margin-bottom:3rem}.reading-header time{color:var(--muted);font-size:.8rem}.reading-image img{max-height:500px;object-fit:contain;margin:auto}.reading-content{max-width:800px;margin:3rem auto}.reading-content p{text-align:justify;text-align-last:right}.reading-content a{color:var(--accent-text);text-decoration:underline;text-underline-offset:4px}.reading-content ul{padding-inline-start:1.7rem}.reading-content figure{max-width:100%;margin:2rem auto}.reading-content img{max-width:100%;height:auto}.reading-content .wp-block-buttons a{text-decoration:none}.center,.attribution{text-align:center!important;text-align-last:center!important}.attribution{color:var(--muted);font-size:.85rem}.document-preview{margin:2rem auto}.document-preview img{width:auto;max-height:85vh;object-fit:contain;margin:auto}.document-pdf{width:100%;height:75vh;border:1px solid var(--line)}.wp-block-image figcaption{text-align:center;color:var(--muted);font-size:.8rem}details{border:1px solid var(--line);padding:1rem;margin:2rem 0}summary{cursor:pointer}.wp-block-shortcode{max-width:1180px;margin-inline:auto}
@media(min-width:1500px){.home-content>.wp-block-group{padding-inline:8vw}}@media(max-width:1050px){#primary-nav ul{gap:.7rem;font-size:.75rem}.brand,.english-mark{width:175px}.header-inner{gap:1rem}.hero .wp-block-columns{gap:2rem}.hero .wp-block-image img{height:530px}}@media(max-width:800px){.header-inner{flex-wrap:wrap;justify-content:space-between;min-height:80px}.menu-toggle{display:block;margin-inline-start:auto}#primary-nav{display:none;order:4;width:100%}#primary-nav.open{display:block}#primary-nav ul{flex-direction:column;align-items:stretch;padding:1rem}#primary-nav a{text-align:center;padding:.65rem}.home-content>.wp-block-group{padding:3.5rem 6vw}.home-content .wp-block-columns{flex-direction:column;gap:2rem}.hero .wp-block-column:first-child{padding-bottom:0}.hero .wp-block-image{max-width:430px;margin:auto}.hero .wp-block-image img{height:480px}.home-content .about-section .wp-block-columns,.book-section .wp-block-columns{gap:2rem}.about-section img{height:auto;max-height:460px;object-fit:contain}.entry-grid{grid-template-columns:1fr}.entry-card>a>img{height:230px}.path-card{padding:2rem}.reading-header h1{font-size:1.8rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
/* Local navy proposal: final palette remains subject to owner visual review. */
:root{--bg:#101A35;--surface:#192747;--line:#354464;--header:rgba(16,26,53,.97);--muted:#c4c9d3}
:root[data-mode=light]{--bg:#F5F1EB;--surface:#eae4dc;--text:#17191C;--muted:#53504c;--line:#c8beb3;--header:rgba(245,241,235,.97)}
.reading-shell:has(.visual-photo,.event-grid,.credential-grid,.podcast-grid){max-width:1280px}.reading-content:has(.visual-photo,.event-grid,.credential-grid,.podcast-grid){max-width:1160px}.reading-content>p,.reading-content>h2,.reading-content>details{max-width:800px;margin-inline:auto}.reading-content>h2{margin-top:3rem}.reading-content>p:first-child{text-align:center;text-align-last:center}.reading-content .wp-block-columns{display:flex;gap:3rem;align-items:center;margin-block:3rem}.reading-content .wp-block-column{flex:1;min-width:0}.visual-photo img{width:100%;max-height:680px;object-fit:contain}.portrait-intro{max-width:480px!important}.service-story{padding:3rem 0;border-bottom:1px solid var(--line)}.service-story:nth-child(even) .wp-block-columns{flex-direction:row-reverse}.service-story p{text-align:justify;text-align-last:right}.service-story .visual-photo img{max-height:460px;object-fit:contain}.photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-block:3rem}.photo-gallery img{width:100%;height:260px;object-fit:cover}.episode-cover{aspect-ratio:1/1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:1.8rem;background:#101A35;color:#F2EDE6;border:1px solid #354464;position:relative;overflow:hidden}.episode-number{font-family:Georgia,serif;font-size:5rem;color:#C49370;line-height:1.2}.episode-title{font-size:1.1rem;line-height:2;max-width:23ch}.cover-rule{width:50px;border-top:1px solid #C49370;margin-top:1.5rem}.podcast-card{padding:0}.podcast-card .attribution{padding:1rem 1.2rem;margin:0}.podcast-card .text-link{padding:0 1rem 1.2rem}.single-episode-cover{max-width:430px;margin:2rem auto}.event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;margin:2rem auto}.event-card{display:flex;flex-direction:column;border:1px solid var(--line);background:var(--surface)}.poster-stage{aspect-ratio:4/5;background:var(--surface);display:flex;padding:.7rem;align-items:center;justify-content:center}.poster-stage img{width:100%;height:100%;object-fit:contain}.event-caption{padding:1.2rem;display:flex;flex-direction:column;flex:1;text-align:center}.event-caption .text-link{margin-top:auto}.event-caption h3{font-size:1.05rem}.event-caption p{font-size:.78rem}.event-pagination{display:flex;gap:.7rem;justify-content:center;flex-wrap:wrap;margin:2rem}.page-numbers{border:1px solid var(--line);padding:.4rem 1rem}.page-numbers.current{background:var(--accent);color:#17191C}.event-original{display:block;max-width:850px;margin:2rem auto}.event-original img{max-height:85vh;width:auto;margin:auto;object-fit:contain}.current-event{padding:2rem;border:1px solid var(--accent);margin-block:3rem}.credential-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.credential-group{margin:4rem 0}.credential-card{border:1px solid var(--line);padding:1.4rem;background:var(--surface);text-align:center}.credential-stage{display:flex;height:350px;align-items:center;justify-content:center}.credential-stage img{max-height:100%;width:100%;object-fit:contain}.credential-card h3{font-size:1.05rem}.credential-card p{font-size:.85rem}.document-preview{display:block}.video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;max-width:700px;margin:auto}.video-grid video{display:block;width:100%;aspect-ratio:9/16;object-fit:contain;background:#080e1e;max-height:540px}.video-grid figcaption{text-align:center;font-size:.8rem}.teaching-video{display:block;max-width:268px;width:100%;height:auto;margin:1rem auto}video{max-width:100%}.editorial-note{border:1px dashed var(--accent);padding:1rem;font-size:.85rem}.mindset{border-top:1px solid var(--line);padding-top:3rem;margin-top:4rem}.mindset-teaser{text-align:center;background:var(--surface)}#image-viewer{border:1px solid var(--line);background:var(--bg);color:var(--text);padding:3.5rem 1rem 1rem;max-width:96vw;max-height:94vh;width:fit-content}#image-viewer::backdrop{background:rgba(0,0,0,.85)}#image-viewer img{max-width:88vw;max-height:76vh;object-fit:contain;margin:auto}.viewer-close{position:absolute;top:.5rem;right:1rem;background:var(--surface);color:var(--text);border:1px solid var(--line);padding:.3rem 1rem}.viewer-original{display:block;text-align:center;padding-top:.5rem}.home-content .about-section img{height:auto;max-height:500px;object-fit:contain}.home-content .event-grid{max-width:1180px}.home-content .podcast-grid{margin-top:2rem}.reading-content .text-link{text-align:center}.home-content .hero .wp-block-image img{max-width:100%}
@media(max-width:1000px){.event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-gallery img{height:200px}}@media(max-width:700px){.event-grid,.credential-grid,.video-grid{grid-template-columns:1fr}.reading-content .wp-block-columns,.service-story:nth-child(even) .wp-block-columns{flex-direction:column;gap:1rem}.photo-gallery{grid-template-columns:1fr 1fr}.photo-gallery img{height:180px}.video-grid{max-width:320px}.credential-stage{height:300px}.reading-shell{padding-inline:6vw}.reading-content>h2{margin-top:2rem}.service-story{padding:1.5rem 0}}
@media(min-width:801px) and (max-width:1100px){.header-inner{flex-wrap:wrap}.menu-toggle{display:block;margin-inline-start:auto}#primary-nav{display:none;order:4;width:100%}#primary-nav.open{display:block}#primary-nav ul{justify-content:center;flex-wrap:wrap;padding:1rem}}
/* Keep a lone item centered without expanding it to a full-width card. */
.visual-photo{margin-inline:auto!important}.visual-photo img{margin-inline:auto}
.credential-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.credential-grid>.credential-card{grid-column:span 2}.credential-grid>.credential-card:last-child:nth-child(odd){grid-column:2/span 2}
.event-grid,.photo-gallery,.entry-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.event-grid>*,.photo-gallery>*,.entry-grid>*{grid-column:span 2}.event-grid>:last-child:nth-child(3n+1),.photo-gallery>:last-child:nth-child(3n+1),.entry-grid>:last-child:nth-child(3n+1){grid-column:3/span 2}
@media(max-width:1000px) and (min-width:701px){.event-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.event-grid>:last-child:nth-child(3n+1){grid-column:span 2}.event-grid>:last-child:nth-child(odd){grid-column:2/span 2}}
@media(max-width:800px){.entry-grid{grid-template-columns:1fr}.entry-grid>*,.entry-grid>:last-child:nth-child(3n+1){grid-column:1}}
@media(max-width:700px){.credential-grid,.event-grid{grid-template-columns:1fr}.credential-grid>.credential-card,.credential-grid>.credential-card:last-child:nth-child(odd),.event-grid>*,.event-grid>:last-child:nth-child(3n+1){grid-column:1}.photo-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}.photo-gallery>:last-child:nth-child(3n+1){grid-column:span 2}.photo-gallery>:last-child:nth-child(odd){grid-column:2/span 2}}
/* Rounded media frames preserve the full credential/poster inside an inset. */
:root{--media-radius:18px}
main figure:has(img),main .full-image,main .reading-image,main .entry-card>a:has(img){border:1px solid var(--line);border-radius:var(--media-radius);padding:10px;background:var(--surface);overflow:hidden}
main img{border-radius:10px}main .hero .wp-block-image img{border-radius:12px}main .hero .wp-block-image{border-radius:var(--media-radius)}
.credential-card,.event-card,.entry-card{border-radius:var(--media-radius);overflow:hidden}.credential-stage,.poster-stage{border-radius:12px}.photo-gallery>a{display:block}.document-preview{padding:12px}.document-preview img,.credential-stage img,.poster-stage img{object-fit:contain}
#image-viewer{border-radius:var(--media-radius)}#image-viewer img{padding:8px;background:var(--surface);border-radius:12px}
.single-video{display:block;max-width:360px;margin-inline:auto}.single-video figure{margin-inline:auto}.single-video video{border:1px solid var(--line);border-radius:var(--media-radius)}
.contact-page,.contact-page .reading-content,.contact-page p,.contact-page h1,.contact-page h2,.contact-page h3,.contact-page figcaption{text-align:center!important;text-align-last:center!important}.contact-page .wp-block-buttons{justify-content:center}.contact-page .visual-photo{max-width:420px!important}.personal-social-links{margin-top:3rem}
.recognition-preview{max-width:360px;margin:2rem auto;text-align:center}.recognition-image{display:flex;justify-content:center;max-width:260px;margin:auto}.recognition-image img{width:auto;max-width:100%;max-height:300px;object-fit:contain}.recognition-preview p{font-size:.85rem;text-align:center;text-align-last:center}.credential-stage img{width:auto;max-width:100%;max-height:100%;margin-inline:auto}
