/* Shared rhythm and Seljuk-inspired geometry. Ornaments never intercept content or controls. */
:root{--seljuk-star:url('/assets/seljuk/seljuk-medallion.png');--seljuk-band:url('/assets/seljuk/seljuk-frieze.png');--section-rhythm:72px}
body{font-size:16px;line-height:1.65}
main{isolation:isolate}
.container{width:min(1240px,calc(100% - 80px))}
.section-space{padding-block:var(--section-rhythm)}
main h1{letter-spacing:-.035em;line-height:1.18}
main h2{font-size:clamp(28px,3.5vw,44px);line-height:1.25;letter-spacing:-.03em}
main h3{line-height:1.4}
main :is(h1,h2,h3,p,a,button){overflow-wrap:break-word}
main :is(.page-intro,.tree-intro) h1{font-size:clamp(36px,4.5vw,62px)}
main :is(.tree-intro.long-heading,.foundation-direction-page .tree-intro) h1{font-size:clamp(32px,4vw,54px)}
main :is(.page-intro,.tree-intro)>p{font-size:17px;line-height:1.8;max-width:68ch}
main :is(.story-card,.event-card,.tree-tile,.branch-card,.service-tile) p{font-size:16px;line-height:1.7}
.eyebrow{font-size:12px;letter-spacing:.12em;line-height:1.6}
.breadcrumb,.text-link,.product-author,.publication-card>p,.book-card>p{font-size:14px}
.section-heading{flex-wrap:wrap;gap:20px 32px;margin-bottom:32px;padding-bottom:26px;position:relative;border-bottom:1px solid var(--line)}
.section-heading>div{min-width:0}
.section-heading:after{content:'';position:absolute;width:36px;height:36px;inset-inline-start:calc(50% - 18px);bottom:-18px;background-color:var(--gold);mask:var(--seljuk-star) center/contain no-repeat;pointer-events:none}
.section-heading .text-link{font-size:14px}
.seljuk-medallion{display:block;aspect-ratio:1;background-color:currentColor;mask:var(--seljuk-star) center/contain no-repeat;pointer-events:none}
.heritage-band{border-block:1px solid #b99a6655;position:relative}
.heritage-band .heritage-rosette{width:34px;height:34px;flex:0 0 34px;color:#9b7847}
.hero-visual>.hero-rosette{width:180px;height:180px;inset-inline-end:-12px;top:-26px;opacity:.65}
.tree-intro{max-width:none;position:relative;padding:40px 200px 48px 0;border-bottom:1px solid var(--line);margin-bottom:32px}
.tree-intro .intro-ornament{inset-inline-end:12px;inset-inline-start:auto;top:40px;width:150px;height:150px;opacity:.65;z-index:0;color:var(--gold)}
.intro-ornament:before,.intro-ornament:after{display:none}
.intro-ornament .seljuk-medallion{width:100%;height:100%}
.page-intro{position:relative;padding-inline-end:190px;border-bottom:1px solid var(--line);margin-bottom:32px}
.page-intro:after{content:'';position:absolute;inset-inline-end:12px;top:40px;width:135px;height:135px;background-color:var(--gold);mask:var(--seljuk-star) center/contain no-repeat;opacity:.6;pointer-events:none}
.page-intro.shop-intro{padding-inline-end:0}
.page-intro.shop-intro:after{display:none}
.shop-emblem{position:relative}
.shop-emblem:before{content:'';display:block;width:70px;height:70px;background-color:var(--gold);mask:var(--seljuk-star) center/contain no-repeat;margin-bottom:16px;opacity:.7}
.tree-page,.page-shell{padding-bottom:64px}
.tree-tiles,.story-grid,.event-grid{gap:28px}
.tree-tile{position:relative;border-top:2px solid #b4966555}
.tree-tile:after{content:'';display:block;width:26px;height:26px;margin-top:18px;background-color:var(--gold);mask:var(--seljuk-star) center/contain no-repeat;opacity:.65;pointer-events:none}
.service-tile-art{position:relative}
.service-tile-art:after{content:'';position:absolute;inset-inline-end:12px;top:12px;width:52px;height:52px;background-color:var(--gold);mask:var(--seljuk-star) center/contain no-repeat;opacity:.38;pointer-events:none}
.visit-band{position:relative;isolation:isolate}
.visit-band:before{content:'';display:block;height:34px;margin-bottom:20px;background-color:var(--gold);mask:var(--seljuk-band) center/540px 180px repeat-x;opacity:.7;pointer-events:none}
.event-photo-ornament{width:110px;height:110px}
/* The footer shares the same bounded content width as every page. */
body .site-footer{padding:0 0 env(safe-area-inset-bottom);background:#203b32;color:#e6eadd;position:relative}
.site-footer:before{content:'';display:block;height:24px;background-color:#c4a36a;mask:var(--seljuk-band) center/430px 144px repeat-x;opacity:.55;pointer-events:none}
.footer-shell{padding-block:16px 12px}
.footer-brand-row{display:flex;align-items:center;gap:24px;padding-bottom:16px;border-bottom:1px solid #ffffff24}
.footer-brand-lockup{display:flex;align-items:center;gap:12px;flex-shrink:0;text-decoration:none}
.footer-brand-lockup img{width:36px;height:48px;object-fit:cover;border-radius:50%}
.footer-brand-lockup .wordmark{display:flex;align-items:baseline;gap:9px;font:400 28px/1.15 var(--serif);color:#fff8e8;letter-spacing:.04em}
.footer-brand-lockup .wordmark span{font:500 11px/1.3 var(--sans);letter-spacing:.16em;margin:0}
.footer-brand-row>p{font:400 14px/1.5 var(--sans);color:#c9d2c6;margin:0}
.footer-brand-row .social-links{display:flex;gap:8px;margin:0;margin-inline-start:auto}
.footer-brand-row .social-links a{width:40px;height:40px;display:grid;place-items:center;border:1px solid #ffffff40;border-radius:50%;color:#e6eadd;font-size:20px;text-decoration:none}
.footer-brand-row .social-links svg{width:18px;height:18px}
.footer-links-row{display:grid;grid-template-columns:1fr 1fr 2.1fr;gap:28px;padding:20px 0 18px}
.footer-links-row section,.footer-contact-columns>div{min-width:0}
.footer-shell h3{font:600 14px/1.5 var(--sans);letter-spacing:.015em;color:#e1c695;margin:0 0 8px}
.footer-links-row a{display:block;width:fit-content;max-width:100%;font:400 14px/1.5 var(--sans);color:#e2e8dc;text-decoration:none;padding-block:5px;margin:0;overflow-wrap:anywhere}
.footer-links-row a:hover,.footer-tools-row a:hover,.footer-tools-row button:hover{text-decoration:underline;text-underline-offset:4px;color:#fff}
.footer-contact-columns{display:grid;grid-template-columns:1fr 1.12fr;gap:20px}
.footer-contact-columns address{font:400 14px/1.65 var(--sans);color:#c9d2c6;margin:3px 0 12px}
.footer-contact-columns a[translate=no]{direction:ltr;unicode-bidi:isolate}
.footer-tools-row{display:flex;align-items:center;flex-wrap:wrap;gap:4px 20px;padding-top:10px;padding-inline-end:0;border-top:1px solid #ffffff24}
.footer-tools-row small{font:400 13px/1.5 var(--sans);color:#c9d2c6;margin-inline-end:0}
.footer-tools-row nav{display:flex;flex-wrap:wrap;gap:0 16px;align-items:center;margin-inline-end:auto}
.footer-tools-row :is(a,button){font:400 13px/1.5 var(--sans);color:#dbe3d5;margin:0;min-height:36px;display:inline-flex;align-items:center;text-decoration:none}
.footer-credit{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;color:#dbe3d5;font:500 12px/1.4 var(--sans)}
.footer-credit>span{text-transform:uppercase;letter-spacing:.05em}
.footer-credit-link{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:4px 0}
.footer-credit-link img{display:block;width:88px;height:auto;max-height:16px;object-fit:contain}
.footer-shell :is(a,button):focus-visible{outline:2px solid #e1c695;outline-offset:3px;border-radius:2px}
.whatsapp-contact{width:56px;height:56px;padding:14px}
.whatsapp-contact span{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html[dir=rtl] .tree-intro{padding-left:200px;padding-right:0}
html[dir=rtl] .footer-brand-lockup{direction:ltr}
@media(max-width:1100px){
 .footer-links-row{grid-template-columns:1fr 1fr 1.6fr;gap:24px}
 .footer-contact-columns{grid-template-columns:1fr;gap:6px}
 .footer-contact-columns address{margin-bottom:2px}
 .footer-contact-columns>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
 .footer-contact-columns a{font-size:13px}
 .footer-contact-columns>div:last-child a[href^=mailto]{grid-column:1/-1}
}
@media(max-width:800px){
 :root{--section-rhythm:52px}
 .container{width:calc(100% - 40px)}
 .footer-links-row{grid-template-columns:1fr 1fr;gap:18px 24px;padding-block:18px}
 .footer-contact-group{grid-column:1/-1;border-top:1px solid #ffffff24;padding-top:16px}
 .footer-contact-columns{grid-template-columns:1fr 1.2fr;gap:20px}
 .footer-contact-columns>div:last-child{display:block}
 .footer-contact-columns a{font-size:14px}
 .footer-tools-row nav{order:2;width:100%}
 .tree-intro{padding-inline-end:130px}
 html[dir=rtl] .tree-intro{padding-left:130px}
 .tree-intro .intro-ornament{width:105px;height:105px}
 .page-intro{padding-inline-end:125px}
 .page-intro:after{width:100px;height:100px}
}
@media(max-width:560px){
 :root{--section-rhythm:40px}
 .container{width:calc(100% - 36px)}
 .hero h1{font-size:clamp(38px,9.8vw,52px);line-height:1.18}
 main :is(.tree-intro,.page-intro),html[dir=rtl] .tree-intro{padding:22px 0 30px;margin-bottom:24px}
 main .page-intro{display:block}
 main :is(.tree-intro,.page-intro):before{content:'';display:block;height:28px;background-color:var(--gold);mask:var(--seljuk-band) center/420px 140px repeat-x;margin-bottom:24px;opacity:.7;pointer-events:none}
 main .tree-intro .intro-ornament,.page-intro:after{display:none}
 main :is(.page-intro,.tree-intro)>p{font-size:16px}
 .section-heading{padding-bottom:24px;gap:14px}
 .section-heading h2{font-size:30px}
 .section-heading .text-link{font-size:14px}
 .tree-page,.page-shell{padding-bottom:40px}
 .tree-tiles,.story-grid,.event-grid{gap:20px}
 .heritage-band .heritage-rosette{width:22px;height:22px;flex-basis:22px}
 .hero-visual>.hero-rosette{width:120px;height:120px;inset-inline-end:0}
 .footer-shell{padding-block:12px 18px}
 .footer-brand-row{gap:12px;flex-wrap:wrap;padding-bottom:12px}
 .footer-brand-lockup{gap:9px}
 .footer-brand-lockup .wordmark{font-size:24px;gap:7px}
 .footer-brand-lockup img{width:28px;height:38px}
 .footer-brand-row>p{display:none}
 .footer-brand-row>p br{display:inline-block;content:'';width:4px}
 .footer-brand-row .social-links{gap:6px}
 .footer-brand-row .social-links a{width:36px;height:36px}
 .footer-links-row{gap:16px;padding-block:16px}
 .footer-links-row a{font-size:13px;min-height:32px;padding-block:6px;line-height:1.5}
 .footer-shell h3{font-size:14px;margin-bottom:6px}
 .footer-contact-columns{grid-template-columns:1fr 1.16fr;gap:14px}
 .footer-contact-columns address{font-size:13px;line-height:1.6}
 .footer-contact-columns a{font-size:13px}
 .footer-contact-group{padding-top:14px}
 .footer-tools-row{gap:4px 12px;padding-top:8px;padding-inline-end:0}
 .footer-tools-row small{font-size:12px}
 .footer-tools-row nav{gap:0 14px;padding-inline-end:0}
 .footer-tools-row :is(a,button){min-height:40px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){.seljuk-medallion{animation:none!important}}
