/* Design pass — Adam's email 2026-11-10 12:25.
   Brand-book collage art (argm.co.il style + English one-pager), restrained motion, one content grid.
   Loaded after global.css. Rollback: remove this file's <link> (and motion.js) in build.py. */

/* 1. One content grid. Every header, section and footer edge sits on the same 1200px column.
      Gutters: 48px desktop, 32px <=1100px, 20px <=767px. Running text is capped at ~68 characters. */
:root{--ax-max:1200px;--ax-gutter:48px;--ax-measure:68ch}
@media(max-width:1100px){:root{--ax-gutter:32px}}
@media(max-width:767px){:root{--ax-gutter:20px}}
.wrap,#worker .wrap{width:calc(100% - 2*var(--ax-gutter))}
.nav-wrapper nav{max-width:calc(var(--ax-max) + 2*var(--ax-gutter));padding-left:var(--ax-gutter);padding-right:var(--ax-gutter);margin-inline:auto;box-sizing:border-box}
#worker .lead,#worker .section-head p,#worker .split p{max-width:var(--ax-measure)}
#worker img{max-width:100%;height:auto}

/* 2. Light hero with the collage (home + industry pages). */
#worker .ax-hero.hero-light{background:radial-gradient(60% 80% at 85% 40%,#efeafd 0,rgba(239,234,253,0) 70%),#fff;color:var(--ax-ink);padding-block:56px 64px;overflow:hidden}
#worker .hero-light .kicker{color:var(--ax-violet)}
#worker .hero-light h1{color:var(--ax-ink)}
#worker .hero-light h1 em{font-style:normal;color:var(--ax-ink);background:linear-gradient(transparent 12%,var(--ax-lime) 12%,var(--ax-lime) 92%,transparent 92%);padding:0 .12em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
#worker .hero-light .hero-lead{color:#3b2a5c}
#worker .hero-light p:not(.hero-lead),#worker .hero-light .hero-note{color:var(--ax-muted)}
#worker .hero-light .ax-button-ghost{color:var(--ax-ink);border-color:var(--ax-ink)}
#worker .hero-light .ax-button-ghost:hover{background:var(--ax-ink);color:#fff}
#worker .hero-light a:focus-visible{outline-color:var(--ax-violet)}
#worker .hero-light .hero-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
#worker .home-hero.hero-light h1{max-width:15ch}
#worker .hero-collage{position:relative;margin:0;justify-self:end;width:100%;max-width:620px}
#worker .hero-collage img{display:block;width:100%;height:auto;border-radius:0}
#worker .hero-collage-sq{max-width:460px}
@media(max-width:1100px){#worker .hero-light .hero-layout{gap:32px}}
@media(max-width:767px){
 #worker .ax-hero.hero-light{padding-block:32px 40px}
 #worker .hero-light .hero-layout{grid-template-columns:1fr;gap:20px}
 #worker .hero-collage{justify-self:center;max-width:520px;order:-1;margin-inline:-6px}
 #worker .hero-collage-sq{max-width:300px}
}

/* Four-point brand sparkles laid over the collage art. */
.ax-spark{position:absolute;left:var(--x);top:var(--y);width:var(--s);height:var(--s);background:var(--ax-violet);pointer-events:none;
 clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);animation:ax-twinkle 3.6s ease-in-out var(--d) infinite}
.ax-spark-lime{background:var(--ax-lime)}.ax-spark-ink{background:var(--ax-ink)}
@keyframes ax-twinkle{0%,100%{transform:scale(.55) rotate(0);opacity:.35}45%{transform:scale(1) rotate(45deg);opacity:1}70%{transform:scale(.8) rotate(60deg);opacity:.8}}
[data-ax-float] img{animation:ax-float 9s ease-in-out infinite}
@keyframes ax-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

/* 3. Section art. */
#worker .home-problem{align-items:center}
#worker .home-problem .lead{margin-top:28px}
#worker .home-problem .section-art{display:block;width:min(100%,470px);margin-inline:auto}
@media(max-width:767px){#worker .home-problem .section-art{width:min(100%,340px)}}
#worker .proof-team{margin:28px 0 0}
#worker .proof-team img{width:100%;max-width:460px;border-radius:12px;display:block;background:#f1edf7}
#worker .proof-team figcaption{font-size:13px;color:var(--ax-muted);margin-top:12px;max-width:46ch}
#worker .home-proof{align-items:start}
#worker .ind-strip a{padding:0 22px 22px;overflow:hidden;transition:border-color .2s,transform .35s var(--ax-ease),box-shadow .35s var(--ax-ease)}
#worker .ind-strip a img{display:block;width:calc(100% + 44px);max-width:none;margin:0 -22px 14px;aspect-ratio:4/3;object-fit:cover;object-position:center;background:#fff;transition:transform .6s var(--ax-ease)}
#worker .ind-strip a:hover{transform:translateY(-4px);box-shadow:0 18px 40px -24px rgba(33,7,84,.35)}
#worker .ind-strip a:hover img{transform:scale(1.04)}
/* White-ground art on tinted sections blends into the tint. */
#worker .wash .section-art,#worker .wash .cta-art{mix-blend-mode:multiply}

/* 4. Ownership band: subtitle + animated explainer. */
#worker .own-band h2{margin-bottom:14px}
#worker .own-sub{color:#d4c9e8;font-size:17px;line-height:1.6;max-width:60ch;margin:0 0 32px}

/* 5. Closing CTA (every page): light panel with art instead of a dark slab. */
#worker .final-cta{background:#fff;color:var(--ax-ink)}
#worker .final-cta .wrap.section{padding-block:56px}
#worker .final-cta .cro-cta-row{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:40px;background:var(--ax-wash);border-radius:20px;padding:44px 56px;position:relative;overflow:hidden}
#worker .final-cta h2{color:var(--ax-ink)}
#worker .final-cta p{color:var(--ax-muted);max-width:52ch}
#worker .final-cta .ax-button{margin-top:28px}
#worker .final-cta .cta-art{width:100%;max-width:340px;justify-self:end;mix-blend-mode:multiply;display:block}
@media(max-width:767px){
 #worker .final-cta .wrap.section{padding-block:32px}
 #worker .final-cta .cro-cta-row{grid-template-columns:1fr;padding:28px 22px;gap:8px}
 #worker .final-cta .cta-art{justify-self:center;max-width:240px;order:-1}
 #worker .final-cta .ax-button{width:100%}
}

/* 6. Scroll reveal (motion.js adds .ax-in). Content is visible without JS. */
.ax-reveal{opacity:0;transform:translateY(18px);transition:opacity .7s var(--ax-ease),transform .7s var(--ax-ease)}
.ax-reveal.ax-in{opacity:1;transform:none}

/* 7. Animated explainer <ax-workforce>: reserve its space; poster is the no-JS state. */
ax-workforce{display:block;margin:0 0 40px;min-height:420px}
ax-workforce .wf-poster{border:1px solid #3d2470;border-radius:16px;padding:24px;color:#e7def6;font-size:15px}
ax-workforce .wf-poster ol{margin:14px 0;padding-left:20px;display:grid;gap:6px}
ax-workforce .wf-p-end{color:var(--ax-lime);margin:0}
ax-workforce:defined .wf-poster{display:none}
@media(max-width:767px){ax-workforce{min-height:940px}}

@media(prefers-reduced-motion:reduce){
 .ax-spark,[data-ax-float] img{animation:none}
 .ax-spark{opacity:.9;transform:none}
 .ax-reveal{opacity:1;transform:none;transition:none}
 #worker .ind-strip a,#worker .ind-strip a img{transition:none}
}
/* The collage art is drawn on white: multiply lets the hero tint show through instead of a white box. */
#worker .hero-collage img{mix-blend-mode:multiply}

/* 8. Round 2 — Adam's email 2026-11-10 13:15: agency video in the hero, real team photography, a lighter ownership band. */
#worker .hero-video{position:relative;margin:0;justify-self:end;width:100%;max-width:600px}
#worker .hero-video video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:18px;background:#210754;box-shadow:0 30px 60px -30px rgba(33,7,84,.55)}
#worker .hero-video::before{content:"";position:absolute;inset:auto -18px -18px auto;width:62%;height:70%;border-radius:22px;background:var(--ax-violet);opacity:.14;z-index:-1}
#worker .hv-toggle{position:absolute;right:14px;bottom:14px;display:inline-flex;align-items:center;gap:7px;font:600 12px/1 Inter,system-ui,sans-serif;color:#fff;background:rgba(33,7,84,.72);border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:7px 12px;cursor:pointer;backdrop-filter:blur(6px)}
#worker .hv-toggle:focus-visible{outline:3px solid var(--ax-lime);outline-offset:3px}
#worker .hv-pause{width:9px;height:10px;border-left:3px solid currentColor;border-right:3px solid currentColor;box-sizing:border-box}
#worker .hero-video.is-paused .hv-pause{border:0;width:0;height:0;border-left:9px solid currentColor;border-top:5px solid transparent;border-bottom:5px solid transparent}
@media(max-width:767px){#worker .hero-video{justify-self:center;order:-1;max-width:none}#worker .hero-video::before{display:none}}

/* Ownership band: heading, one line, the animation, one compact role row. */
ax-workforce{margin-bottom:28px;min-height:330px}
@media(max-width:767px){ax-workforce{min-height:900px}}
#worker .own-sub{margin-bottom:28px}
#worker .own-roles{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(255,255,255,.16)}
#worker .own-roles li{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:20px 24px 0 0}
#worker .own-roles li + li{padding-left:24px;border-left:1px solid rgba(255,255,255,.16)}
#worker .own-roles b{color:var(--ax-lime);font-size:16px}
#worker .own-roles span{color:#d4c9e8;font-size:15px;line-height:1.5}
#worker .own-faces{display:inline-flex;margin-top:4px}
#worker .own-faces img{width:40px;height:40px;border-radius:50%;object-fit:cover;object-position:center top;background:var(--ax-violet);border:2px solid var(--ax-ink);margin-left:-10px}
#worker .own-faces img:first-child{margin-left:0}
#worker .own-band .own-note{font-size:13px;color:#a895cc;margin-top:22px}
@media(max-width:900px){#worker .own-roles{grid-template-columns:1fr}#worker .own-roles li,#worker .own-roles li + li{padding:14px 0;border-left:0;border-bottom:1px solid rgba(255,255,255,.12)}}

/* Real team photography (argm.co.il): the collage keeps its black ground in a rounded frame. */
#worker .home-team{display:block}
#worker .home-team .team-head{display:grid;grid-template-columns:.8fr 1.2fr;gap:40px;align-items:end;margin-bottom:32px}
#worker .home-team .team-head h2{margin:0}
#worker .home-team .lead{margin:0}
#worker .team-links{grid-column:2;display:flex;gap:24px;flex-wrap:wrap;margin:0}
#worker .team-collage{margin:0;background:#000;border-radius:20px;overflow:hidden}
#worker .team-collage img{display:block;width:100%;height:auto}
#worker .about-collage{margin-bottom:28px}
@media(max-width:900px){#worker .home-team .team-head{grid-template-columns:1fr;gap:16px}#worker .team-links{grid-column:1}}
@media(max-width:767px){#worker .team-collage{border-radius:14px}}
/* AI worker session clips 2026-11-10 */
#worker .aiw-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:32px;align-items:start}
#worker .aiw-film{margin:0}
#worker .aiw-film figcaption{line-height:1.45}
#worker .aiw-film figcaption strong{color:var(--ax-ink);font-weight:600}
#worker .aiw-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:48px;align-items:center}
#worker .aiw-split .lead{margin:16px 0 20px}
#worker .aiw-aside{margin-top:28px}#worker .aiw-aside h2{font-size:18px;margin-bottom:12px}
#worker .answer>.aiw-film{margin-top:20px;max-width:640px}
@media (max-width:900px){#worker .aiw-split{grid-template-columns:1fr;gap:24px}#worker .aiw-grid{gap:28px}}
/* Main site video (2026-11-10 evening) and the YouTube session page */
#worker .aiw-main{max-width:960px;margin:0 auto 48px}
#worker .aiw-main .aiw-film-main{margin:0}
#worker .aiw-more{margin-top:16px}
#worker .aiw-section>.aiw-more{margin-top:28px}
#worker .yt-lite{position:relative;aspect-ratio:16/9;border-radius:var(--ax-radius);overflow:hidden;background:#160630;margin:28px 0 8px}
#worker .yt-lite img,#worker .yt-lite iframe{display:block;width:100%;height:100%;object-fit:cover;border:0}
#worker .yt-start{display:block;width:100%;height:100%;position:relative}
#worker .yt-btn{position:absolute;inset:0;margin:auto;width:76px;height:76px;border-radius:50%;background:var(--ax-lime);color:var(--ax-ink);display:grid;place-items:center;box-shadow:0 8px 28px #0005;transition:background .2s,transform .25s var(--ax-ease)}
#worker .yt-btn svg{margin-left:-2px}
#worker .yt-start:hover .yt-btn,#worker .yt-start:focus-visible .yt-btn{background:#fff;transform:scale(1.06)}
#worker .yt-start:focus-visible{outline:3px solid var(--ax-violet);outline-offset:-3px}
#worker .yt-note{margin-bottom:24px}
#worker .yt-chapters{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:6px 24px}
#worker .yt-chapters a{display:flex;gap:12px;padding:8px 0;border-bottom:1px solid #0001;color:inherit;text-decoration:none}
#worker .yt-chapters a:hover{color:var(--ax-violet)}
#worker .yt-ts{font-variant-numeric:tabular-nums;font-weight:600;min-width:3.2em;color:var(--ax-violet)}
#worker .yt-page .transcript h3{font-size:16px;margin:20px 0 6px}
@media (prefers-reduced-motion:reduce){#worker .yt-btn{transition:none}}

/* AI Worker flow section (axf, 2026-11-13): the mobile step bar sticks below the site header (77px at <=960px). */
#worker .axf-section{--axf-sticky-top:77px}
