/* Shared public-site identity. Existing page layouts and tool behavior stay local. */
@font-face{font-family:SiteAbar;src:url('/fonts/AbarFaNum-VF.ttf') format('truetype');font-weight:400 1000;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F}
@font-face{font-family:SiteClash;src:url('/fonts/ClashDisplay-Variable.woff2') format('woff2');font-weight:200 700;font-display:swap}
html[data-site-design]{--site-yellow:#ffd900;--site-black:#0a0a0c;--site-ease:cubic-bezier(.16,1,.3,1);--font-display:SiteAbar,SiteClash,'Helvetica Neue',Arial,sans-serif;--font-sans:SiteAbar,'Space Grotesk','Helvetica Neue',Arial,sans-serif}
html[data-site-design] body{font-family:var(--font-sans);font-weight:400;font-variation-settings:normal;-webkit-font-smoothing:antialiased}
html[data-site-design] :is(h1,h2,h3){font-family:var(--font-display);text-wrap:balance;font-variation-settings:normal!important}
html[data-site-design] h1{font-weight:700;font-size:clamp(2.6rem,6.5vw,6rem);line-height:1.08;letter-spacing:-.035em}
html[data-site-design] h2{font-weight:600;letter-spacing:-.025em}
html[data-site-design] h3{font-weight:600;letter-spacing:-.015em}
html[data-site-design] :is(p,li){text-wrap:pretty}
html[data-site-design] :is(.hero-sub,.tools-sub,.about-copy,.work-body p){line-height:1.8}
html[data-site-design] :is(.sec-head h2,.band h2){font-size:clamp(1.8rem,3.8vw,3.75rem);line-height:1.15}
html[data-site-design][dir=rtl] :is(h1,h2,h3){letter-spacing:0!important;line-height:1.35!important}
html[data-site-design][dir=rtl] h1{font-weight:800}
html[data-site-design][dir=rtl] h2{font-weight:650}
html[data-site-design][dir=rtl] h3{font-weight:600}
html[data-site-design][dir=rtl] :is(p,li){line-height:1.9}
html[data-site-design][dir=rtl] :is(.about-lead,.dir,.exp-co,.m-link){font-variation-settings:normal!important;font-weight:650}
html[data-site-design] #hero h1,html[data-site-design] .maystro-hero h1{font-size:clamp(2.8rem,6.5vw,6rem)}
html[data-site-design] .maystro-hero h1 .accent{-webkit-text-stroke:0;color:var(--gold)}
html[data-site-design] :is(.section-label,.eyebrow){box-shadow:none;border-radius:0;transform:none;font-weight:600;line-height:1.5}
html[data-site-design] :is(.section-label,.eyebrow):not(:first-child){transform:none}
html[data-site-design] :is(.site-nav,.t-nav){backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-site-design] .nav-logo{letter-spacing:-.025em}
html[data-site-design] :is(a,button,input,select,textarea):focus-visible{outline:2px solid currentColor;outline-offset:5px}
html[data-site-design] :is(.work-name,.exp-co){font-weight:600}
html[data-site-design] .brand-lemon{display:block;flex:none;width:76px;height:auto;transform:rotate(-12deg);transition:transform .7s var(--site-ease);pointer-events:none}
html[data-site-design] .identity-lemon{display:inline-block;vertical-align:middle;width:clamp(46px,6vw,80px);height:auto;margin-inline-start:.25em;transform:rotate(-14deg);pointer-events:none}
html[data-site-design] .t-head h1 .identity-lemon{width:46px}
html[data-site-design] .tb-hint,html[data-site-design] .tb-field input::placeholder{color:color-mix(in srgb,var(--bone) 74%,var(--bg))}
@media(hover:hover){html[data-site-design] :is(.blog-intro,.home-journal,.article-end):hover .brand-lemon{transform:rotate(9deg)}html[data-site-design] :is(.btn,.nav-cta,.tb-btn){transition:background .35s var(--site-ease),color .35s var(--site-ease),transform .35s var(--site-ease)}}
/* Journal: aligned image-led columns, shared with Home. */
html[data-site-design] .blog-intro{max-width:none;padding:clamp(60px,9vw,130px) 0 clamp(52px,7vw,96px);position:relative}
html[data-site-design] .blog-intro-label{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:32px}
html[data-site-design] .blog-intro .section-label{display:inline-block;border:1px solid var(--site-black);padding:6px 16px;background:var(--site-yellow);color:var(--site-black);transform:none;font-size:14px;font-weight:600}
html[data-site-design] .blog-intro h1{font-size:clamp(3rem,7vw,6rem);font-weight:800;max-width:17ch;margin:0 0 30px;line-height:1.15}
html[data-site-design] .blog-intro h1 em{font-style:normal;color:var(--site-black);background:linear-gradient(transparent 65%,var(--site-yellow) 65%,var(--site-yellow) 94%,transparent 94%)}
html[data-site-design] .blog-intro .lede{font-weight:500;color:#4b4b4b;font-size:clamp(17px,1.6vw,21px);max-width:48ch}
html[data-site-design] .blog-feed{max-width:none;width:100%;padding:24px 0 100px}
html[data-site-design] .blog-feed .section-head{font-size:14px;line-height:1.6;color:#4b4b4b;margin-bottom:36px;justify-content:space-between}
html[data-site-design] .blog-feed .section-head span:nth-child(2)::before{content:none}
html[data-site-design] .journal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px clamp(28px,5vw,72px);align-items:start}
html[data-site-design] .journal-card{min-width:0;position:relative}
html[data-site-design] .journal-card:nth-child(even){margin-top:0}
html[data-site-design] .journal-image{display:block;overflow:hidden;background:#ececec;aspect-ratio:3/2;margin:0 0 24px;border-radius:0}
html[data-site-design] .journal-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .9s var(--site-ease)}
html[data-site-design] .journal-meta{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:baseline;color:#555;font-size:12px;line-height:1.7;margin-bottom:14px}
html[data-site-design] .journal-meta time{direction:ltr;unicode-bidi:isolate}
html[data-site-design] .journal-card h2{font-size:clamp(25px,2.5vw,38px);font-weight:650;line-height:1.35;letter-spacing:0;margin:0 0 18px;max-width:26ch}
html[data-site-design] .journal-card h2 a{text-decoration:none;text-underline-offset:.16em;text-decoration-thickness:1px}
html[data-site-design] .journal-card>p{font-size:16px;line-height:1.85;color:#4b4b4b;max-width:54ch;margin:0 0 22px}
html[data-site-design] .journal-read{display:inline-flex;gap:28px;align-items:center;font-size:15px;font-weight:600;text-decoration:none;padding-block:10px;border-bottom:1px solid currentColor;min-height:44px}
html[data-site-design] .journal-read span{display:inline-block;transition:transform .5s var(--site-ease)}
html[data-site-design] [dir=rtl] .journal-read span{transform:rotate(-90deg)}
@media(hover:hover){html[data-site-design] .journal-card:hover .journal-image img{transform:scale(1.035)}html[data-site-design] .journal-card h2 a:hover{text-decoration:underline}html[data-site-design] .journal-read:hover span{translate:3px -3px}}
html[data-site-design] .home-journal{background:#fff;color:var(--site-black);border-top:1px solid var(--site-black);border-bottom:1px solid var(--site-black);padding-block:clamp(64px,8vw,120px)}
html[data-site-design] .home-journal .wrap{max-width:1600px}
html[data-site-design] .home-journal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:clamp(40px,5vw,72px)}
html[data-site-design] .home-journal h2{font-size:clamp(36px,5vw,68px);font-weight:800;margin:0 0 16px;max-width:18ch;line-height:1.25}
html[data-site-design] .home-journal-head p{max-width:48ch;color:#4b4b4b;font-size:17px;line-height:1.85;margin:0}
html[data-site-design] .home-journal .journal-card h3{font-size:clamp(25px,2.7vw,40px);font-weight:650;line-height:1.35;margin:0 0 16px;max-width:25ch}
html[data-site-design] .home-journal .journal-card h3 a{text-decoration:none}
html[data-site-design] .home-journal-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px;border-top:1px solid #ccc;margin-top:56px;padding-top:24px}
html[data-site-design] .journal-status{font-size:16px;color:#4b4b4b;line-height:1.9}
html[data-site-design] .journal-status[hidden]{display:none}
/* Reading surface: prose has its own rhythm; no animation is applied to its paragraphs. */
html[data-site-design] .journal-article{max-width:none;width:100%;padding:48px 0 90px}
html[data-site-design] .article-back{display:inline-flex;align-items:center;gap:18px;min-height:44px;font-size:14px;text-decoration:none;border-bottom:1px solid #999;margin-bottom:clamp(40px,6vw,80px)}
html[data-site-design] .article-header{max-width:900px;margin:0 auto 48px}
html[data-site-design] .article-byline{display:flex;flex-wrap:wrap;gap:12px 28px;color:#555;font-size:14px;line-height:1.8;margin-bottom:26px}
html[data-site-design] .article-byline a{font-weight:600;text-decoration:none;color:var(--site-black)}
html[data-site-design] .article-byline time{direction:ltr;unicode-bidi:isolate}
html[data-site-design] .journal-article h1{font-size:clamp(34px,5vw,72px);font-weight:800;max-width:none;margin:0 0 28px;line-height:1.25}
html[data-site-design] .article-header .lede{font-size:clamp(18px,2vw,24px);font-weight:500;line-height:1.85;color:#444;max-width:52ch}
html[data-site-design] .article-cover{margin:0 0 clamp(48px,7vw,88px);width:100%;overflow:hidden}
html[data-site-design] .article-cover img{display:block;width:100%;height:auto;max-height:640px;object-fit:cover}
html[data-site-design] .prose{max-width:720px;margin:0 auto 64px;font-size:clamp(17px,1.45vw,20px);font-weight:400;line-height:1.95;color:#252525;overflow-wrap:break-word}
html[data-site-design] .prose-rich{white-space:normal}
html[data-site-design] .prose p{margin:0 0 1.4em;line-height:1.95}
html[data-site-design] .prose p:empty{display:none}
html[data-site-design] .prose h2{font-weight:650;font-size:clamp(25px,2.7vw,34px);line-height:1.45;margin:2.7em 0 .9em;max-width:30ch}
html[data-site-design] .prose h3{font-size:clamp(21px,2.2vw,27px);font-weight:600;line-height:1.5;margin:2em 0 .8em}
html[data-site-design] .prose strong{font-weight:650}
html[data-site-design] .prose a{color:inherit;text-decoration-thickness:1px;text-underline-offset:.22em;text-decoration-color:#777}
html[data-site-design] .prose a:hover{text-decoration-color:var(--site-black);background:var(--site-yellow)}
html[data-site-design] .prose :is(ul,ol){padding-inline-start:1.4em;margin:1.4em 0 2em}
html[data-site-design] .prose li{margin-bottom:.65em}
html[data-site-design] .prose blockquote{margin:2em 0;padding:24px clamp(20px,3vw,36px);background:var(--site-yellow);color:var(--site-black);font-weight:500;border:0;transform:none}
html[data-site-design] .prose blockquote p:last-child{margin:0}
html[data-site-design] .prose table{border-collapse:collapse;width:100%;margin:2em 0;font-size:clamp(14px,1.25vw,17px);line-height:1.8;table-layout:fixed}
html[data-site-design] .prose :is(th,td){text-align:start;border-bottom:1px solid #ccc;padding:14px 10px;vertical-align:top;overflow-wrap:anywhere}
html[data-site-design] .prose th{font-weight:650;background:#f0f0ee;color:var(--site-black)}
html[data-site-design] .article-end{max-width:900px;margin:auto;border-top:1px solid var(--site-black);padding-top:24px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;font-size:14px}
html[data-site-design] .article-end .brand-lemon{width:64px}
html[data-site-design] .blog-empty{font-size:22px;padding:48px 0}
@media(max-width:700px){
 html[data-site-design] h1,html[data-site-design] #hero h1,html[data-site-design] .maystro-hero h1{font-size:clamp(36px,10vw,64px)}
 html[data-site-design] .journal-grid{grid-template-columns:minmax(0,1fr);gap:52px}
 html[data-site-design] .journal-card:nth-child(even){margin-top:0}
 html[data-site-design] .journal-card h2,html[data-site-design] .home-journal .journal-card h3{font-size:28px;max-width:none}
 html[data-site-design] .blog-intro h1{font-size:clamp(40px,11vw,64px)}
 html[data-site-design] .blog-intro{padding-top:48px}
 html[data-site-design] .brand-lemon{width:60px}
 html[data-site-design] .home-journal-head{gap:12px}
 html[data-site-design] .home-journal h2{font-size:38px}
 html[data-site-design] .home-journal-head .brand-lemon{width:48px}
 html[data-site-design] .article-header{margin-bottom:32px}
 html[data-site-design] .journal-article h1{font-size:clamp(32px,8.5vw,48px)}
 html[data-site-design] .prose{font-size:18px}
 html[data-site-design] .prose :is(th,td){padding:12px 7px}
 html[data-site-design] .journal-meta{font-size:12px}
}
@media(prefers-reduced-motion:reduce){html[data-site-design]{scroll-behavior:auto!important}html[data-site-design] *,html[data-site-design] *::before,html[data-site-design] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}html[data-site-design] .brand-lemon{transform:none}}
@media print{html[data-site-design] :is(.identity-lemon,.brand-lemon,.article-back,.article-end){display:none}}
html[data-site-design] h1[data-brand-heading]::before{content:'';display:inline-block;background:url('/assets/lemon.svg') center/contain no-repeat;width:.8em;height:.65em;margin-inline-end:.2em;vertical-align:middle;transform:rotate(-12deg)}
html[data-site-design] [dir=rtl] :is(h1,h2,h3,p,li){letter-spacing:0!important}
@media(hover:hover){html[data-site-design] h1[data-brand-heading]:hover::before{transform:rotate(8deg);transition:transform .65s var(--site-ease)}}
@media(prefers-reduced-motion:reduce){html[data-site-design] h1[data-brand-heading]::before{transform:none!important}}

html[data-site-design] .footer-lemon{display:block;flex:none;width:.7em;height:auto;margin-inline-start:.12em;align-self:center}

/* Public navigation follows the homepage on every route. */
html[data-site-design]{--nav-h:64px;--site-header-pad:clamp(20px,4.3vw,68px)}
html[data-site-design] body[data-header-flow]{padding-top:var(--nav-h)}
html[data-site-design] #siteHeader{position:fixed;inset:0 0 auto;z-index:130;width:100%;height:var(--nav-h);margin:0;padding:0;background:#fff;color:#111;border:0;border-bottom:1px solid #111;transform:none;backdrop-filter:none;-webkit-backdrop-filter:none;font-family:SiteAbar,'Space Grotesk','Helvetica Neue',Arial,sans-serif;font-size:13px;font-weight:400;line-height:1.55}
html[data-site-design] #siteHeader .nav-inner{box-sizing:border-box;width:100%;max-width:1600px;height:100%;margin:0 auto;padding:0 var(--site-header-pad);display:flex;align-items:center;justify-content:space-between;gap:20px}
html[data-site-design] #siteHeader :is(a,button,span,li){font-family:inherit;line-height:inherit;text-transform:none;font-variation-settings:normal}
html[data-site-design] #siteHeader .nav-logo,html[data-site-design] #siteHeader .nav-logo *{font-family:'Space Grotesk','Helvetica Neue',Arial,sans-serif;font-size:18px;font-weight:600;letter-spacing:-.025em!important;line-height:1.2;text-decoration:none;color:#111;white-space:nowrap}
html[data-site-design] #siteHeader .nav-logo{display:inline-flex;align-items:baseline;gap:0;direction:ltr}
html[data-site-design] #siteHeader .nav-links{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0}
html[data-site-design] #siteHeader .nav-links li{margin:0;padding:0;line-height:1.55}
html[data-site-design] #siteHeader .nav-links a{display:inline-block;position:relative;padding:8px 0;font-size:13px;font-weight:400;letter-spacing:0!important;text-decoration:none;color:#111;opacity:1;white-space:nowrap}
html[data-site-design] #siteHeader .nav-links a::after{content:'';position:absolute;inset:auto 0 3px;height:3px;background:#111;box-shadow:0 2px 0 #ffd900;transform:scaleX(0);transform-origin:left;transition:transform .2s ease-out}
html[data-site-design] #siteHeader .nav-links a:is(:hover,.active)::after{transform:scaleX(1)}
html[data-site-design] #siteHeader .nav-right{display:flex;align-items:center;gap:10px}
html[data-site-design] #siteHeader .lang-switch{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:12px;font-weight:400;letter-spacing:0!important;direction:ltr;line-height:1.55;color:#111}
html[data-site-design] #siteHeader .lang-switch a{color:#111;text-decoration:none;opacity:.65}
html[data-site-design] #siteHeader .lang-switch .on{font-weight:600}
html[data-site-design] #siteHeader .nav-cta{box-sizing:border-box;display:inline-block;margin:0;padding:11px 18px;font-size:13px;font-weight:400;letter-spacing:0!important;line-height:1.55;white-space:nowrap;text-decoration:none;border:1px solid #0a0a0c;border-radius:4px;background:#0a0a0c;color:#ffd900;transform:none}
html[data-site-design] #siteHeader .nav-cta:is(:hover,:focus-visible){background:#0a0a0c;color:#ffd900;transform:none}
html[data-site-design] #siteHeader .nav-burger{box-sizing:border-box;display:none;width:40px;height:40px;margin:0;padding:0;border:1px solid #111;border-radius:4px;background:#fff;cursor:pointer;align-items:center;justify-content:center;flex-direction:column;gap:5px}
html[data-site-design] #siteHeader .nav-burger span{display:block;width:18px;height:1px;background:#111;transition:transform .2s ease-out}
html[data-site-design] #siteHeader .nav-burger.active span:first-child{transform:translateY(3px) rotate(45deg)}
html[data-site-design] #siteHeader .nav-burger.active span:last-child{transform:translateY(-3px) rotate(-45deg)}
html[data-site-design] #siteMenuPanel{box-sizing:border-box;position:fixed;inset:0;z-index:120;margin:0;width:100%;max-width:none;height:100dvh;padding:calc(var(--nav-h) + 28px) var(--site-header-pad) 32px;background:#fff;color:#111;overflow-y:auto;visibility:hidden;opacity:0;transform:none;pointer-events:none;transition:opacity .2s ease-out,visibility 0s .2s;font-family:SiteAbar,'Space Grotesk','Helvetica Neue',Arial,sans-serif}
html[data-site-design] #siteMenuPanel.open{visibility:visible;opacity:1;pointer-events:auto;transition:opacity .2s ease-out}
html[data-site-design] #siteMenuPanel .menu-list{list-style:none;display:grid;gap:8px;margin:0;padding:0}
html[data-site-design] #siteMenuPanel .menu-list li{margin:0;padding:0}
html[data-site-design] #siteMenuPanel .m-link{display:inline-block;font-family:inherit;font-size:clamp(26px,5vh,48px);font-weight:600;line-height:1.4;letter-spacing:0!important;text-decoration:none;color:#111}
html[data-site-design] #siteMenuPanel .menu-foot{display:flex;flex-wrap:wrap;gap:16px;margin-top:28px;font-size:13px;line-height:1.9}
html[data-site-design] #siteMenuPanel .menu-foot a{font-family:inherit;color:#111;text-decoration:none}
html[data-site-design].menu-open{overflow:hidden}
html[data-site-design] .tool-subnav{box-sizing:border-box;max-width:1280px;width:100%;margin:0 auto;padding:8px var(--site-header-pad);justify-content:flex-start;flex:none}
@media(max-width:1100px){html[data-site-design] #siteHeader .nav-inner{gap:12px}html[data-site-design] #siteHeader .nav-links{gap:14px}html[data-site-design] #siteHeader .nav-logo,html[data-site-design] #siteHeader .nav-logo *{font-size:16px}html[data-site-design] #siteHeader .nav-cta{padding:9px 12px}}
@media(max-width:959px){html[data-site-design] #siteHeader .nav-links{display:none}html[data-site-design] #siteHeader .nav-burger{display:flex}}
@media(max-width:639px){html[data-site-design]{--nav-h:60px}html[data-site-design] #siteHeader .nav-inner{gap:8px}html[data-site-design] #siteHeader .nav-right{gap:8px}html[data-site-design] #siteHeader .nav-cta{padding:9px 10px}}
@media print{html[data-site-design] #siteHeader,html[data-site-design] #siteMenuPanel,html[data-site-design] .tool-subnav{display:none!important}html[data-site-design] body[data-header-flow]{padding-top:0}}
