/* Shared navigation, deliberate interaction states and the public project index. */
.header-inner .menu-toggle{display:inline-flex}
.desktop-nav a,.language-control,.drawer-quick a,.menu-drawer>a:not(.button),.footer-grid>div>a:not(.brand),.footer-bottom a{display:inline-flex;align-items:center;gap:.45rem}
.desktop-nav .icon,.language-control .icon,.footer-grid>div>a>.icon,.footer-bottom a>.icon{width:16px;height:16px;flex:none}
.desktop-nav{gap:clamp(10px,1.5vw,24px)}
.desktop-nav a{font-size:14px}
.header-actions{gap:6px}
.menu-drawer{width:min(408px,100%);overscroll-behavior:contain;padding:20px 22px 28px}
.menu-drawer[hidden],.menu-backdrop[hidden]{display:none}
.menu-top{margin-bottom:12px}
.menu-drawer>a:not(.button){display:flex;justify-content:flex-start!important;gap:12px;min-height:45px!important;padding:9px 6px!important}
.drawer-quick{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:12px 0}
.drawer-quick a{min-height:44px;border:1px solid var(--line);border-radius:10px;padding:7px 12px;font-size:14px;color:var(--ink)}
.drawer-families{margin:6px 0 10px}
.drawer-families details{border-radius:13px;background:var(--soft);margin-block:5px}
.drawer-families summary{list-style:none;cursor:pointer;display:flex;gap:11px;align-items:center;padding:12px 14px;min-height:44px;font-size:15px;font-weight:600}
.drawer-families summary::-webkit-details-marker{display:none}
.drawer-caret{margin-inline-start:auto;width:16px;height:16px;transition:transform .14s ease}
.drawer-families details[open] .drawer-caret{transform:rotate(180deg)}
.drawer-families details>div{padding:0 12px 7px}
.drawer-families details>div>a{display:flex;align-items:center;gap:10px;min-height:40px;padding:5px 8px;font-size:14px;color:var(--muted);border-radius:8px}
.drawer-families a:hover,.drawer-quick a:hover,.menu-drawer>a:not(.button):hover{background:var(--selected);color:var(--ink)}
.drawer-families a .icon{width:15px;height:15px}
.site-footer .footer-grid>div>a:not(.brand){display:flex;min-height:34px;width:fit-content}
.footer-social a{min-height:36px}
.filter-tabs label>span{display:inline-flex;align-items:center;gap:6px}
.filter-tabs .icon{width:16px;height:16px}
.project-index .project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,2vw,27px)}
.project-index .project-card{min-width:0}
.project-index .project-caption h3{font-size:clamp(19px,1.7vw,25px);line-height:1.5}
.project-index .project-card .project-media{height:clamp(170px,18vw,258px);min-height:0}
.project-index .project-card .project-media .project-artwork{height:100%;width:100%}
.project-active{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}
.project-active a{display:inline-flex;align-items:center;gap:7px;min-height:33px;padding:2px 10px;border-radius:10px;background:var(--selected);color:var(--ink);font-size:13px}
.project-active .icon{width:13px;height:13px}
.project-case-hero .button-row{gap:9px}
.footer-social a,.button,.project-card,.service-card,.drawer-families a,.desktop-nav a,.drawer-quick a,.project-active a{transition:background-color .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease}
.button:hover,.service-card:hover,.project-media:hover .round-arrow{transform:none!important}
a:focus-visible,button:focus-visible,summary:focus-visible,label:has(input[type=radio]:focus-visible){outline:2px solid var(--green);outline-offset:3px}
@media(hover:hover){.project-card:hover,.project-card:focus-within{border-color:var(--input);box-shadow:0 3px 13px #20282012}}
@media(max-width:1180px){.desktop-nav{display:none}.header-inner{gap:10px}}
@media(max-width:640px){.project-index .project-grid{grid-template-columns:minmax(0,1fr)}.project-index .project-card .project-media{height:clamp(165px,49vw,236px)}.drawer-families details>div>a{min-height:44px}.language-control .icon{display:none}.header-cta .icon{display:none}}
@media(prefers-reduced-motion:reduce){[data-studio-hero-art]{animation:none!important;translate:none!important}.drawer-caret,.button,.project-media img{transition:none!important}}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  [data-studio-hero-art] img{translate:var(--hero-x,0px) var(--hero-y,0px);transition:translate 180ms ease-out}
}
@media(max-width:360px){
  .site-header .account-link{display:none}
  .site-header .header-actions{gap:0}
  .site-header .brand-wordmark,html[lang=fa] .site-header .brand-wordmark{width:96px}
  .site-header .brand{gap:5px}
  .site-header .header-inner{gap:4px}
  .site-header .header-actions .icon-button{width:38px;min-width:38px}
}
.project-index .project-grid{max-width:1120px;margin-inline:auto}
.project-index .project-card .project-media{
  --project-image-height:clamp(206px,24vw,298px);
  height:auto;width:fit-content;display:flex;align-items:center;justify-content:center
}
.project-index .project-card .project-media .project-artwork{width:fit-content;height:auto}
@media(max-width:640px){
  .project-index .project-card .project-media{--project-image-height:clamp(186px,56vw,260px)}
}
.fallback-navigation{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;padding:8px;background:var(--soft)}
.fallback-navigation a{display:inline-flex;align-items:center;gap:5px;padding:5px;min-height:40px}
.fallback-navigation .icon{width:16px}
.project-index .active-filters{margin-block:12px}
.project-index .filter-chip{background:var(--selected);gap:6px}
.project-index .filter-chip .icon{width:14px;height:14px}
