/* One horizontal story. Original photo proportions, native scrolling. */
.ae-workflow { --wf-ink:hsl(var(--foreground)); --wf-muted:hsl(var(--muted-foreground)); --wf-accent:hsl(var(--primary)); --wf-line:hsl(var(--border)); background:hsl(var(--background)); color:var(--wf-ink); padding:40px max(24px,calc((100% - 1440px)/2)) 36px; scroll-margin-top:56px; }
.ae-wf-intro { text-align:center; margin-bottom:24px; }
.ae-workflow .ae-wf-intro h2 { font-family:'Instrument Serif',Georgia,serif; font-size:clamp(34px,3.6vw,56px); line-height:1.05; letter-spacing:-.025em; font-weight:400; margin:12px 0 16px; }
.ae-wf-intro h2 br { display:none; }
.ae-wf-intro h2 em { color:var(--wf-accent); font-weight:400; }
.ae-wf-intro h2 em::before { content:' '; }
.ae-workflow .ae-wf-intro>p:not(.ae-eyebrow) { font-size:13px; color:var(--wf-muted); margin:0; }
.ae-wf-row { display:grid; grid-template-columns:1fr 1fr 1.18fr 1fr 1fr; gap:clamp(14px,1.6vw,26px); align-items:start; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x proximity; scrollbar-width:thin; scrollbar-color:var(--wf-accent) transparent; padding:4px 0 14px; }
.ae-wf-step { min-width:0; scroll-snap-align:start; }
.ae-wf-step>header { height:40px; display:flex; align-items:center; gap:9px; padding-top:14px; border-top:1px solid var(--wf-line); }
.ae-wf-step>header>span { font-size:10px; color:var(--wf-accent); }
.ae-workflow .ae-wf-step h3 { font-size:12px; text-transform:uppercase; letter-spacing:.13em; font-weight:500; margin:0; }
.ae-wf-step>header>i { margin-left:auto; font-style:normal; font-size:20px; color:var(--wf-muted); }
.ae-workflow .ae-wf-caption { height:42px; margin:12px 0 18px; font-size:12px; line-height:1.65; color:var(--wf-muted); }
.ae-workflow .ae-wf-image { margin:0; height:clamp(250px,22vw,300px); display:flex; align-items:center; justify-content:center; background:hsl(var(--secondary)/.35); overflow:hidden; border-radius:3px; }
.ae-workflow .ae-wf-image img { display:block; width:100%; height:100%; object-fit:contain; object-position:center; }
.ae-wf-understand .ae-wf-image { background:#010504; }
.ae-wf-gallery figure { width:100%; height:100%; margin:0; }
.ae-wf-gallery figure[hidden] { display:none; }
.ae-wf-notes { display:grid; gap:6px; margin-top:15px; font-size:10px; line-height:1.6; color:var(--wf-muted); }
.ae-wf-notes strong { font-weight:500; font-size:11px; color:var(--wf-ink); }
.ae-wf-poses { display:flex; flex-wrap:wrap; gap:5px; margin-top:13px; }
.ae-wf-poses button { font:inherit; font-size:10px; padding:7px 8px; border:1px solid var(--wf-line); border-radius:20px; background:transparent; color:var(--wf-muted); cursor:pointer; }
.ae-wf-poses button[aria-pressed="true"] { background:hsl(var(--primary)); border-color:var(--wf-accent); color:hsl(var(--primary-foreground)); }
.ae-wf-destinations { display:flex; flex-wrap:wrap; gap:7px 12px; margin-top:15px; font-size:10px; color:var(--wf-muted); }
.ae-wf-destinations span { border-bottom:1px solid var(--wf-line); padding-bottom:3px; }
.ae-wf-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; border-top:1px solid var(--wf-line); margin-top:22px; padding-top:20px; }
.ae-wf-footer>span:first-child { font:23px 'Instrument Serif',Georgia,serif; }
.ae-wf-footer small { color:var(--wf-muted); font-size:9px; }
.ae-wf-swipe { display:none; font-size:10px; color:var(--wf-muted); }
.ae-workflow :focus-visible { outline:2px solid var(--wf-accent); outline-offset:3px; }
@media(max-width:1100px) {
.ae-wf-row { grid-template-columns:210px 210px 250px 210px 210px; gap:18px; }
.ae-workflow .ae-wf-image { height:280px; }
.ae-wf-swipe { display:inline; white-space:nowrap; }
.ae-wf-intro h2 br { display:block; }
.ae-wf-footer { flex-wrap:wrap; }
}
@media(max-width:600px) {
.ae-workflow { padding:42px 20px 28px; }
.ae-wf-intro { text-align:left; margin-bottom:24px; }
.ae-workflow .ae-wf-intro>p:not(.ae-eyebrow) { line-height:1.7; }
.ae-wf-footer small { order:3; width:100%; }
.ae-wf-footer>span:first-child { font-size:21px; }
}

.ae-workflow .ae-wf-intro .ae-eyebrow { justify-content:center; text-align:center; }
.ae-slide-control,.ae-direction-controls button { font:inherit; font-size:10px; color:hsl(var(--muted-foreground)); border:1px solid hsl(var(--border)); background:transparent; border-radius:20px; padding:7px 12px; cursor:pointer; }
.ae-slide-control { margin-top:8px; }
.ae-wf-gallery figure:not([hidden]) { animation:ae-photo-in .5s ease; }
@keyframes ae-photo-in { from {opacity:.35} to {opacity:1} }
.ae-creative-directions .ae-direction-rail { display:flex; overflow-x:auto; gap:16px; scroll-snap-type:x proximity; scrollbar-width:thin; padding-bottom:12px; }
.ae-creative-directions .ae-direction-tile { flex:0 0 calc((100% - 64px)/4.4); scroll-snap-align:start; }
.ae-creative-directions .ae-direction-tile>div { aspect-ratio:4/3; }
.ae-direction-controls { display:flex; align-items:center; justify-content:flex-end; gap:8px; margin-top:12px; }
.ae-direction-controls button:focus-visible { outline:2px solid hsl(var(--primary)); outline-offset:3px; }
@media(max-width:800px) { .ae-creative-directions .ae-direction-tile { flex-basis:180px; } }
@media(prefers-reduced-motion:reduce) { .ae-wf-gallery figure:not([hidden]) { animation:none; } }
/* Supplied artwork: show every edge, including headlines and poster footers. */
.ae-creative-directions .ae-artwork-rail .ae-direction-tile>div { height:190px; aspect-ratio:auto; background:hsl(var(--secondary)/.35); }
.ae-creative-directions .ae-artwork-rail img { object-fit:contain; transform:none; }
.ae-creative-directions .ae-artwork-rail .ae-direction-tile>div::after { display:none; }
.ae-cinematic-landing .ae-artwork-rail h3 { font-size:22px; }

/* Two identical strips join without a reset jump. Artwork is never cropped. */
.ae-design-showcase { position:relative; width:100%; height:100%; overflow:hidden; background:hsl(var(--secondary)/.35); }
.ae-design-slides { display:flex; width:max-content; height:100%; animation:ae-design-drift 45s linear infinite; }
.ae-design-group { display:flex; flex:none; height:100%; gap:12px; padding:12px 12px 12px 0; box-sizing:border-box; }
.ae-design-group figure { flex:none; height:100%; aspect-ratio:1; margin:0; }
.ae-workspace-photo .ae-design-slides img { display:block; width:100%; height:100%; object-fit:contain; transform:none !important; }
.ae-workspace-photo:has(.ae-design-showcase)::after { display:none; }
.ae-design-showcase:hover .ae-design-slides,.ae-design-showcase:focus-within .ae-design-slides { animation-play-state:paused; }
.ae-design-showcase:focus-visible { outline:2px solid hsl(var(--primary)); outline-offset:-3px; }
@keyframes ae-design-drift { to { transform:translateX(-50%); } }
@media(prefers-reduced-motion:reduce) {

 .ae-visual-landing .ae-design-showcase .ae-design-slides { animation:ae-design-drift 90s linear infinite !important; }
 .ae-visual-landing .ae-design-showcase:hover .ae-design-slides,.ae-visual-landing .ae-design-showcase:focus-within .ae-design-slides { animation-play-state:paused !important; }

}

/* Creative directions use the same continuous, full-artwork gallery as Design Guru. */
.ae-direction-marquee { overflow:hidden; width:100%; }
.ae-direction-track { display:flex; width:max-content; animation:ae-design-drift 50s linear infinite; }
.ae-direction-group { display:flex; flex:none; gap:20px; padding-right:20px; }
.ae-creative-directions .ae-direction-group .ae-direction-tile { flex:none; width:260px; }
.ae-creative-directions .ae-direction-group .ae-direction-tile>div { height:220px; aspect-ratio:auto; background:hsl(var(--secondary)/.25); }
.ae-creative-directions .ae-direction-group img { width:100%; height:100%; object-fit:contain; transform:none !important; }
.ae-creative-directions .ae-direction-group .ae-direction-tile>div::after { display:none; }
.ae-creative-directions .ae-direction-group h3 { font-size:23px; }
.ae-direction-marquee:hover .ae-direction-track,.ae-direction-marquee:focus-within .ae-direction-track { animation-play-state:paused; }
.ae-direction-marquee:focus-visible { outline:2px solid hsl(var(--primary)); outline-offset:3px; }
@media(max-width:600px) { .ae-creative-directions .ae-direction-group .ae-direction-tile { width:210px; } .ae-creative-directions .ae-direction-group .ae-direction-tile>div { height:190px; } }
@media(prefers-reduced-motion:reduce) {
 .ae-visual-landing .ae-direction-marquee .ae-direction-track { animation:ae-design-drift 100s linear infinite !important; }
 .ae-visual-landing .ae-direction-marquee:hover .ae-direction-track,.ae-visual-landing .ae-direction-marquee:focus-within .ae-direction-track { animation-play-state:paused !important; }
}

/* Moving loop copies must stay visible before entering the viewport. */
.ae-direction-marquee .ae-direction-tile { opacity:1 !important; transform:none !important; }

/* Product-story additions reuse existing theme and editorial type. */
.ae-control-story { display:grid; grid-template-columns:1fr 1fr; gap:32px; margin-bottom:30px; }
.ae-control-story h3 { font-family:'Instrument Serif',Georgia,serif; font-size:30px; font-weight:400; margin-bottom:10px; }
.ae-control-story p,.ae-output-copy { font-size:13px; line-height:1.8; color:var(--ae-muted); max-width:58ch; }
.ae-refinement-copy { border-top:1px solid var(--ae-line); padding:16px 0; }
.ae-refinement-copy p { font-size:12px; line-height:1.8; color:var(--ae-muted); }
.ae-output-destinations { margin:0 0 16px; flex-wrap:wrap; }
.ae-output-copy { margin:0 0 28px !important; max-width:80ch; }
@media(max-width:600px) { .ae-control-story { grid-template-columns:1fr; gap:22px; } .ae-control-story h3 { font-size:27px; } }
