/* SETAEI brand layer 2026-11-29: shared footer, guide star, three-line motif. See /branding/ */
.se-wordmark{display:inline-block;width:128px;height:auto;vertical-align:middle;overflow:visible}

footer.se-footer{position:relative;z-index:2;display:block;box-sizing:border-box;width:100%;max-width:none;margin:64px 0 0;padding:36px max(24px,6vw) 28px;background:rgba(16,16,15,.95);border:0;border-top:1px solid rgba(255,255,255,.1);color:#D6D0C4;font:400 14px/1.6 'Inter',system-ui,sans-serif;letter-spacing:0;text-align:start;text-transform:none}
footer.se-footer .se-footer-in{display:flex;flex-direction:column;gap:20px;max-width:1100px;margin:0 auto}
footer.se-footer .se-motif{display:block;width:30px;height:20px;background:linear-gradient(#F47A2A,#F47A2A) 0 0/30px 4px no-repeat,linear-gradient(#F47A2A,#F47A2A) 0 8px/25px 4px no-repeat,linear-gradient(#F47A2A,#F47A2A) 0 16px/30px 4px no-repeat}
[dir="rtl"] footer.se-footer .se-motif{background-position:100% 0,100% 8px,100% 16px}
footer.se-footer .se-footer-main{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 28px}
footer.se-footer .se-footer-brand{display:inline-flex;align-items:center;min-height:44px;color:#FFF7EA;border:0}
footer.se-footer .se-wordmark{width:150px}
footer.se-footer nav{position:static;display:flex;flex-wrap:wrap;gap:0 22px;margin:0;padding:0;background:none;border:0}
footer.se-footer nav a{display:inline-flex;align-items:center;min-height:44px;color:#D6D0C4;font-size:14px;text-decoration:none;border:0}
footer.se-footer a:hover{color:#F47A2A}
footer.se-footer a:focus-visible{outline:2px solid #F47A2A;outline-offset:4px}
footer.se-footer .se-footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 24px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08);color:#9E9990;font-size:12px}

/* logo inside existing footers and headers */
.home-footer-brand .se-wordmark{width:128px}
.se-lockup{display:inline-flex;align-items:center;gap:10px}
.se-lockup .se-wordmark,header .brand .se-wordmark{width:112px}
.se-foot-logo{display:block;width:max-content;margin-bottom:8px}
.se-foot-logo .se-wordmark{width:104px}
.gptads-page .foot-brand .se-wordmark{width:150px}
.gptads-page .brand-icon{background:none}
.gptads-page .brand-icon img{display:block;width:100%;height:100%}
.author-box img[src*="setaei-mark"]{padding:0!important;background:none!important;border-radius:12px!important}

/* three-line motif as section marker */
h2.se-mark::before{content:"";display:block;width:26px;height:18px;margin:0 0 14px;background:linear-gradient(#F47A2A,#F47A2A) 0 0/26px 4px no-repeat,linear-gradient(#F47A2A,#F47A2A) 0 7px/21px 4px no-repeat,linear-gradient(#F47A2A,#F47A2A) 0 14px/26px 4px no-repeat}
[dir="rtl"] h2.se-mark::before{background-position:100% 0,100% 7px,100% 14px}
h2.se-mark.se-mark-center::before{margin-left:auto;margin-right:auto}

/* guide star: the star from the logo */
.se-guide{position:fixed;left:0;top:0;z-index:900;width:28px;height:28px;pointer-events:none;transform-origin:0 0;opacity:0;transition:transform .65s cubic-bezier(.22,.8,.24,1),opacity .4s}
.se-guide.is-on{opacity:1}
.se-guide svg{display:block;width:100%;height:100%;overflow:visible;fill:#F47A2A;filter:drop-shadow(0 0 5px rgba(244,122,42,.9)) drop-shadow(0 0 20px rgba(244,122,42,.55));animation:se-breathe 8s ease-in-out infinite}
@keyframes se-breathe{50%{transform:rotate(14deg) scale(1.12)}}
@media (prefers-reduced-motion:reduce){.se-guide{transition:none}.se-guide svg{animation:none}}
@media print{.se-guide{display:none}}

/* /projects/ has a fixed project counter in the bottom corner */
body:has(.now-name) footer.se-footer{padding-bottom:88px}
.se-lockup{white-space:nowrap}
@media(max-width:520px){.se-lockup .se-wordmark{width:82px}}
