/* SITE MASTER V4 — unified visual contract */
:root{--ui-bg:#f5f1e8;--ui-surface:#fffdf8;--ui-ink:#17231d;--ui-muted:#66736b;--ui-green:#123c2d;--ui-green-2:#1f5b43;--ui-gold:#c8a75a;--ui-line:#ddd5c5;--ui-shadow:0 18px 55px rgba(18,60,45,.09);--ui-radius:24px;--ui-max:1280px}
html{background:var(--ui-bg);scroll-padding-top:90px}body.site-standard-v2{background:var(--ui-bg);color:var(--ui-ink);overflow-x:hidden}
.skip-link{position:fixed;top:8px;right:8px;z-index:1000;padding:10px 16px;background:var(--ui-green);color:#fff;border-radius:10px;transform:translateY(-150%);transition:.2s}.skip-link:focus{transform:none}
.topbar{height:36px;padding-inline:max(20px,calc((100vw - var(--ui-max))/2));background:var(--ui-green);font-size:.7rem}.toplinks{gap:12px}
.site-header{position:sticky;top:0;z-index:100;min-height:76px;padding:9px max(20px,calc((100vw - var(--ui-max))/2));gap:16px;background:rgba(255,253,248,.94);border-bottom:1px solid rgba(221,213,197,.9);box-shadow:0 5px 25px rgba(18,60,45,.045)}
.brand-logo{width:50px;height:50px}.brand-copy b{font-size:1rem;color:var(--ui-green)}.brand-copy small{font-size:.6rem}
.nav{gap:2px;overflow-x:auto;scrollbar-width:none}.nav::-webkit-scrollbar{display:none}.nav a{padding:8px 9px;font-size:.78rem;color:#30463c}.nav a.active{background:#e8efe8;color:var(--ui-green);font-weight:800}.header-actions{flex:0 0 auto}.header-cta{padding:8px 13px;font-size:.72rem}.icon-btn{font-size:1rem}
main{width:100%;min-height:70vh}.site-footer{width:min(100% - 32px,var(--ui-max));margin:48px auto 0;padding:42px 0 18px}.footer-grid{grid-template-columns:1.5fr repeat(3,1fr);gap:22px}.footer-grid a{transition:color .18s}.footer-grid a:hover{color:var(--ui-green-2)}.footer-legal,.footer-bottom{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:16px 18px}.footer-legal{margin-top:26px;border:1px solid var(--ui-line);background:var(--ui-surface);border-radius:16px}.footer-bottom{font-size:.68rem}
main :where(input,textarea,select){max-width:100%}main :where(button,.btn,a[class*="btn"]){-webkit-tap-highlight-color:transparent}
main :where(input,textarea,select){font-family:inherit;outline:none;transition:border-color .18s,box-shadow .18s}main :where(input,textarea,select):focus{border-color:#789a88!important;box-shadow:0 0 0 3px rgba(120,154,136,.16)}
main :where(button):focus-visible,main :where(a):focus-visible{outline:3px solid rgba(200,167,90,.65);outline-offset:3px}
.luxury-page,.education-page,.commerce-page,.search-page{width:100%;background:var(--ui-bg)}
.lux-hero,.page-hero,.hero{width:min(100% - 32px,var(--ui-max));margin-inline:auto}.lux-hero{min-height:480px;border-radius:18px 76px 18px 76px;box-shadow:var(--ui-shadow)}
.lux-hero h1,.page-hero h1,.hero h1{max-width:900px;overflow-wrap:anywhere}.lux-hero p,.page-hero p,.hero p{max-width:780px}
.luxury-page>section:not(.lux-hero),.page-education>section{width:min(100% - 32px,var(--ui-max));margin-inline:auto}
:where(.ag-split,.ind-command,.res-editorial,.know-command,.eco-command,.market-command,.studio-command,.about-portal,.contact-intro){border-inline:1px solid var(--ui-line)}
:where(.ag-cards,.res-evidence,.ind-machines,.know-books,.know-links,.res-nav,.about-pillars,.contact-cards,.contact-actions){overflow:hidden;border-radius:0 0 var(--ui-radius) var(--ui-radius)}
:where(.ag-cards article,.res-evidence article,.ind-machines article,.know-books article,.about-pillars article,.contact-cards article){transition:transform .2s,box-shadow .2s}
:where(.ag-cards article,.res-evidence article,.ind-machines article,.know-books article,.about-pillars article,.contact-cards article):hover{transform:translateY(-3px)}
.services-page .services-hero{width:100%;max-width:none;min-height:590px;padding-inline:max(24px,calc((100vw - var(--ui-max))/2));border-radius:0 0 0 90px}.services-page .services-grid{width:min(100% - 32px,var(--ui-max));margin-inline:auto;border-radius:0 0 24px 24px;overflow:hidden}.services-page .services-map,.services-page .services-cta{width:min(100% - 32px,var(--ui-max));margin-inline:auto}.services-page .services-grid article{min-height:285px}
.home-luxury{background:var(--ui-bg)}.home-hero-lux,.home-manifesto,.home-ecosystem,.home-chain,.home-agent,.home-final{width:min(100% - 32px,var(--ui-max));margin-inline:auto}.home-hero-lux{margin-top:22px;border-radius:20px 20px 120px 20px;box-shadow:var(--ui-shadow)}
.search-page,.commerce-page{padding-inline:max(24px,calc((100vw - var(--ui-max))/2))}.search-page h1,.commerce-page h1{max-width:900px}.search-results{max-width:980px}.search-results>a{border-radius:18px;background:var(--ui-surface)}
.site-footer .footer-brand{gap:8px}.footer-logo{object-fit:contain}
@media(max-width:1080px){.site-header{flex-wrap:wrap}.site-header .nav{order:4;flex-basis:100%;justify-content:flex-start;padding-bottom:3px}.header-actions{margin-inline-start:auto}.brand-copy small{display:none}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.topbar{height:32px;padding-inline:14px}.topbar>div:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.toplinks span{display:none}.site-header{min-height:68px;padding:8px 14px}.brand-logo{width:44px;height:44px}.menu-toggle{display:block;order:3}.site-header .nav{display:none;order:4;flex-direction:column;align-items:stretch;gap:4px;padding:10px;margin-top:2px;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:16px;box-shadow:var(--ui-shadow)}.site-header .nav.open{display:flex}.site-header .nav a{padding:10px 12px;border-radius:10px}.header-actions .header-cta{display:none}.icon-btn{width:40px;height:40px}.footer-grid{grid-template-columns:1fr}.footer-legal,.footer-bottom{flex-direction:column;align-items:flex-start}.site-footer{width:calc(100% - 28px);padding-top:30px}
.lux-hero,.page-hero,.hero{width:calc(100% - 24px);border-radius:12px 45px 12px 45px}.lux-hero{min-height:520px;padding:55px 24px}.lux-hero h1{font-size:clamp(2.35rem,12vw,4rem)}.services-page .services-hero{min-height:540px;padding:55px 24px;border-radius:0 0 0 60px}.services-page .services-grid,.services-page .services-map,.services-page .services-cta{width:calc(100% - 24px)}.services-page .services-grid{grid-template-columns:1fr}.home-hero-lux,.home-manifesto,.home-ecosystem,.home-chain,.home-agent,.home-final{width:calc(100% - 24px)}.home-hero-lux{border-radius:12px 12px 65px 12px}
}
@media(max-width:480px){.brand-copy b{font-size:.9rem}.home-hero-copy h1,.services-page .services-copy h1{font-size:clamp(2.65rem,14vw,3.6rem)}.home-hero-actions{align-items:stretch}.home-hero-actions a{width:100%;text-align:center}.footer-brand{font-size:.9rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Unified UI contract — visual normalization layer */
:root{--font-ui:Vazirmatn,IRANSans,Tahoma,Arial,sans-serif;--ui-bg:#f4f2ec;--ui-surface:#fff;--ui-surface-2:#f8f7f3;--ui-ink:#18231f;--ui-muted:#68736d;--ui-green:#123c2d;--ui-green-2:#1f5b43;--ui-gold:#b8954d;--ui-line:#dfe2dc;--ui-radius:20px;--ui-max:1280px}
html,body{font-family:var(--font-ui);color:var(--ui-ink);background:var(--ui-bg)}
body.site-standard-v2{line-height:1.85;letter-spacing:0}
main h1,main h2,main h3,main h4{font-family:var(--font-ui);letter-spacing:-.02em;line-height:1.3;color:var(--ui-ink)}
main p,main li,main label,main input,main textarea,main select,main button{font-family:var(--font-ui)}
main section{box-sizing:border-box}
main :where(input,textarea,select){width:100%;box-sizing:border-box;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-surface);color:var(--ui-ink);padding:11px 13px}
main :where(button,.primary,.secondary){border-radius:12px;font-family:var(--font-ui);font-weight:800;cursor:pointer}
main :where(.card,.panel,.surface,article){border-color:var(--ui-line)}
main :where(article,.card,.panel){box-sizing:border-box}
main :where(a){text-decoration-thickness:.08em;text-underline-offset:3px}
main :where(a:not(.primary):not(.secondary):not(.btn)){color:inherit}
main :where(.eyebrow,.kicker,.lux-kicker){letter-spacing:.08em}
main :where(.grid,.cards,.card-grid){align-items:stretch}
@media(max-width:720px){main{overflow:clip}main :where(h1){font-size:clamp(2rem,9vw,3.2rem)}main :where(h2){font-size:clamp(1.45rem,6vw,2.2rem)}main :where(section){scroll-margin-top:84px}}

/* FINAL BRAND CONTRACT — consistent typography, spacing and controls across page-specific themes */
:root{--brand-paper:#fbfaf6;--brand-panel:#fff;--brand-ink:#18231f;--brand-muted:#68736d;--brand-green:#123c2d;--brand-green-2:#1f5b43;--brand-gold:#b8954d;--brand-line:#dfe2dc;--brand-radius:20px}
body.site-standard-v2,body.site-standard-v2 *{font-family:var(--font-ui)}
body.site-standard-v2 :where(h1,h2,h3,h4,h5,h6){font-family:var(--font-ui)!important;font-style:normal!important;letter-spacing:-.02em}
body.site-standard-v2 :where(code,pre){font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important}
body.site-standard-v2 :where(input,textarea,select,button){font-family:var(--font-ui)!important}
body.site-standard-v2 :where(.lux-kicker,.eyebrow,.kicker,.weather-kicker,.weather-section-head span,.weather-model-strip span,.weather-agri span,.weather-editorial span,.weather-disclaimer span){font-family:var(--font-ui)!important;letter-spacing:.08em}
body.site-standard-v2 :where(.page-weather,.page-economy,.page-studio,.page-knowledge,.page-agriculture,.page-industry,.page-research,.page-company,.page-about,.page-contact){color:var(--brand-ink)}
body.site-standard-v2 :where(.page-weather .weather-hero-v2 h1,.page-weather .weather-card-v2 h3,.page-weather .weather-card-v2 header>strong,.page-weather .weather-hero-dial strong,.page-weather .weather-model-strip h2,.page-weather .weather-agri h2,.page-weather .weather-editorial h2,.page-weather .weather-disclaimer h2){font-family:var(--font-ui)!important;font-style:normal}
body.site-standard-v2 :where(.page-weather .weather-controls input,.page-weather .weather-controls select,.page-weather .weather-card-v2){font-family:var(--font-ui)!important}
body.site-standard-v2 :where(.page-company,.page-knowledge,.page-agriculture,.page-industry,.page-research,.page-economy,.page-studio,.page-about,.page-contact) section{box-sizing:border-box}
body.site-standard-v2 :where(.page-company,.page-knowledge,.page-agriculture,.page-industry,.page-research,.page-economy,.page-studio,.page-about,.page-contact) a{text-decoration-thickness:.06em;text-underline-offset:3px}
@media(max-width:720px){body.site-standard-v2 :where(.lux-hero,.page-hero,.hero){width:calc(100% - 24px);margin-inline:auto}body.site-standard-v2 :where(.lux-hero h1,.page-hero h1,.hero h1){overflow-wrap:anywhere}}
.bazei-economy,.bazei-studio-intro,.bazei-studio-pipeline,.bazei-studio-architecture,.bazei-studio-governance{padding:clamp(3rem,7vw,7rem) 6vw;border-top:1px solid rgba(255,255,255,.08);background:linear-gradient(135deg,rgba(18,20,24,.96),rgba(8,10,13,.98));color:#f3f0e8}.bazei-economy-head,.bazei-studio-intro header,.bazei-studio-pipeline header,.bazei-studio-architecture>div:first-child,.bazei-studio-governance header{max-width:900px;margin:0 auto 2.5rem}.bazei-economy h2,.bazei-studio-intro h2,.bazei-studio-pipeline h2,.bazei-studio-architecture h2,.bazei-studio-governance h2{font-size:clamp(2rem,4vw,4rem);margin:.7rem 0 1rem}.bazei-economy p,.bazei-studio-intro p,.bazei-studio-pipeline p,.bazei-studio-architecture p,.bazei-studio-governance p{line-height:2;opacity:.78}
.bazei-economy-grid,.bazei-studio-principles,.bazei-studio-governance>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;max-width:1200px;margin:auto}.bazei-economy-grid article,.bazei-studio-principles article,.bazei-studio-governance article{padding:1.5rem;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.025)}.bazei-economy-flow,.bazei-studio-flow{max-width:1200px;margin:2.5rem auto;display:flex;gap:.7rem;flex-wrap:wrap;align-items:center;justify-content:center}.bazei-economy-flow b,.bazei-studio-flow b{padding:.8rem 1rem;border:1px solid rgba(255,255,255,.14);font-size:.72rem;letter-spacing:.08em}.bazei-studio-hero{position:relative;overflow:hidden}.bazei-studio-grid{position:absolute;inset:0;background:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:48px 48px;opacity:.35}.bazei-studio-orbit{position:absolute;width:40vw;height:40vw;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-8vw;top:-10vw}.bazei-studio-copy{position:relative;z-index:2;max-width:850px;margin-left:18vw}.bazei-studio-capabilities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;max-width:1200px;margin:auto}.bazei-studio-capabilities b{padding:1rem;border:1px solid rgba(255,255,255,.1);font-size:.75rem;letter-spacing:.08em}@media(max-width:800px){.bazei-economy-grid,.bazei-studio-principles,.bazei-studio-governance>div{grid-template-columns:1fr 1fr}.bazei-studio-capabilities{grid-template-columns:1fr 1fr}.bazei-studio-copy{margin-left:0;padding-top:8rem}}@media(max-width:520px){.bazei-economy-grid,.bazei-studio-principles,.bazei-studio-governance>div,.bazei-studio-capabilities{grid-template-columns:1fr}.bazei-studio-flow i{display:none}}
.bazei-studio-mark{position:absolute;right:7vw;bottom:3rem;z-index:2;font:700 clamp(3rem,8vw,8rem)/.78 Arial,sans-serif;letter-spacing:-.08em;opacity:.8}.bazei-studio-mark strong{font-size:.45em;letter-spacing:.02em}.bazei-studio-architecture{background:radial-gradient(circle at 80% 30%,rgba(255,255,255,.08),transparent 30%),linear-gradient(135deg,rgba(18,20,24,.98),rgba(5,7,9,1))}.bazei-studio-governance>div{grid-template-columns:repeat(4,minmax(0,1fr))}.bazei-studio-governance article strong{display:block;margin-bottom:.8rem;letter-spacing:.08em}.bazei-studio-principles h3{margin:.7rem 0}.bazei-studio-capabilities b{min-height:3.2rem;display:flex;align-items:center;justify-content:center;text-align:center}@media(max-width:800px){.bazei-studio-governance>div{grid-template-columns:1fr 1fr}.bazei-studio-mark{right:5vw;bottom:2rem}}@media(max-width:520px){.bazei-studio-governance>div{grid-template-columns:1fr}}
.bazei-status-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;max-width:1200px;margin:0 auto 2rem}.bazei-status-strip>div{padding:1rem 1.1rem;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.035);min-width:0}.bazei-status-strip small,.bazei-status-meta small{display:block;font-size:.68rem;letter-spacing:.08em;opacity:.55;margin-bottom:.35rem}.bazei-status-strip strong{display:block;font-size:.8rem;line-height:1.7;overflow-wrap:anywhere}.bazei-status-meta{display:grid;grid-template-columns:1fr 1fr;gap:1rem;max-width:1200px;margin:1.5rem auto 0}.bazei-status-meta>div{display:flex;flex-wrap:wrap;gap:.45rem}.bazei-status-meta small{flex-basis:100%}.bazei-status-meta span{padding:.5rem .7rem;border:1px solid rgba(255,255,255,.1);font-size:.72rem;line-height:1.5}.bazei-economy .bazei-status-strip,.bazei-studio-intro .bazei-status-strip{margin-top:1.5rem}@media(max-width:900px){.bazei-status-strip{grid-template-columns:1fr 1fr}}@media(max-width:520px){.bazei-status-strip,.bazei-status-meta{grid-template-columns:1fr}}
