/* approach.css */
/* Selected editorial layout: one white panel with three columns. */
.portfolio-home .pf-approach{background:transparent}
.portfolio-home .pf-approach .pf-steps{background:#fff;border-color:var(--pf-line);border-radius:0;box-shadow:none}
.portfolio-home .pf-approach .pf-step{padding:28px;display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:minmax(44px,auto) auto;column-gap:10px;row-gap:14px;align-content:start;background:transparent}
.portfolio-home .pf-approach .pf-step+.pf-step:before{top:28px;bottom:28px;background:var(--pf-line)}
.portfolio-home .pf-approach .pf-step h3{margin:0;align-self:center;font-size:19px;font-weight:400;line-height:1.3;max-width:none;color:#202020}
.portfolio-home .pf-approach .pf-step>p{grid-column:1/-1;margin-top:0;font-size:14px;line-height:1.85;min-height:0;margin-bottom:0}
.portfolio-home .pf-approach .pf-inline-sticker{--sticker-angle:-1.5deg;--sticker-hover-turn:3deg;display:inline-block;vertical-align:baseline;margin:1px 2px;padding:1px 6px;border:1px solid #efd1b9;border-radius:6px;background:#fff4e9;color:#a63a08;font-size:.9em;font-weight:500;line-height:1.4;white-space:nowrap;box-shadow:0 2px 0 #e8c8b4,0 3px 5px #29292908;transform:rotate(var(--sticker-angle))}
.portfolio-home .pf-approach .pf-inline-sticker--2{--sticker-angle:1.5deg;--sticker-hover-turn:-3deg}
.portfolio-home .pf-approach .pf-inline-sticker--3{--sticker-angle:-1deg;--sticker-hover-turn:2.5deg}
.portfolio-home .pf-approach-symbol{display:flex;align-items:center;align-self:center;margin-bottom:0}
.portfolio-home .pf-approach-symbol img{width:18px;height:18px;object-fit:contain;padding:10px;box-sizing:content-box;border:1px solid #e6e6e1;border-radius:8px;background:#f8f8f6;box-shadow:inset 0 1px #fff,0 3px 8px #29292906}
@media(max-width:1000px){.portfolio-home .pf-approach .pf-step{padding:22px 16px}}
@media(max-width:700px){
  .portfolio-home .pf-approach .pf-steps{grid-template-columns:1fr}
  .portfolio-home .pf-approach .pf-step{padding:24px 20px}
  .portfolio-home .pf-approach .pf-step+.pf-step:before{top:0;bottom:auto}
  .portfolio-home .pf-approach .pf-step h3{max-width:none}
}

/* Reveal the panel after 1.8 seconds, then stagger its columns. */
@keyframes home-approach-panel{from{opacity:0;visibility:hidden}to{opacity:1;visibility:visible}}
@keyframes home-approach-rise{from{opacity:0;visibility:hidden;transform:translateY(10px)}to{opacity:1;visibility:visible;transform:none}}
@media(prefers-reduced-motion:no-preference){
  .portfolio-home .pf-approach .pf-steps{--home-approach-entry-delay:1.8s;animation:home-approach-panel .4s ease-out var(--home-approach-entry-delay) both}
  .portfolio-home .pf-approach .pf-step{animation:home-approach-rise .7s cubic-bezier(.2,.75,.25,1) calc(var(--home-approach-entry-delay,1.8s) + var(--home-card-offset,0s)) both}
  .portfolio-home .pf-approach .pf-step:nth-child(2){--home-card-offset:.12s}
  .portfolio-home .pf-approach .pf-step:nth-child(3){--home-card-offset:.24s}
}

/* Each column has its own quiet response; entrance and automatic loops stay independent. */
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .portfolio-home .pf-approach .pf-approach-symbol img{transition:transform .38s cubic-bezier(.2,.7,.3,1)}
  .portfolio-home .pf-approach .pf-inline-sticker{transition:transform .38s cubic-bezier(.2,.9,.3,1.25),box-shadow .3s ease}
  .portfolio-home .pf-approach .pf-step:hover .pf-inline-sticker{transform:translateY(-2px) rotate(calc(var(--sticker-angle) + var(--sticker-hover-turn))) scale(1.035);box-shadow:0 3px 0 #e8c8b4,0 5px 9px #29292912}
  .portfolio-home .pf-approach .pf-step:hover .pf-inline-sticker--2{transition-delay:55ms}
  .portfolio-home .pf-approach .pf-step:hover .pf-inline-sticker--3{transition-delay:110ms}
  .portfolio-home .pf-approach .pf-step:nth-child(1):hover .pf-approach-symbol img{transform:translate(2px,-3px) rotate(-4deg)}
  .portfolio-home .pf-approach .pf-step:nth-child(2):hover .pf-approach-symbol img{transform:translateY(-3px) scale(1.05)}
  .portfolio-home .pf-approach .pf-step:nth-child(3):hover .pf-approach-symbol img{transform:translateY(-4px) rotate(3deg)}
}

/* design-system-preview-components.css */
/* Small component recipes shared by the Home preview and final deliverables. */
.ds-result-button{display:inline-flex;flex:none;align-items:center;justify-content:center;min-width:100px;height:38px;padding:10px 12px;border-radius:8px;background:white;box-shadow:inset 0 0 0 1px var(--result-accent);color:var(--result-accent);font-size:12px;line-height:18px;font-weight:500;white-space:nowrap}
.ds-result-button--small{height:32px;padding:8px 10px;font-size:10px;line-height:16px}
.ds-result-button--disabled{background:#f5f5f8;box-shadow:inset 0 0 0 1px #d7d7dc;color:#707075}
.ds-result-button--primary{background:var(--result-accent);box-shadow:none;color:#fff}
.ds-cover-calendar{display:flex;flex-direction:column;gap:4px;width:250px;font-size:12px;line-height:18px;font-weight:500;color:var(--cover-accent)}
.ds-cover-calendar>strong{color:#4b4b50;font-weight:600}
.ds-cover-calendar>div{display:flex;align-items:center;justify-content:space-between;padding:8px 8px 8px 10px;border:0;border-radius:8px;box-shadow:inset 0 0 0 1px var(--cover-accent);background:#fff}
.ds-cover-pill{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 8px;border-radius:20px;background:#397f5b;color:#fff;font-size:12px;line-height:18px;font-weight:600}
.ds-cover-pill>i{display:grid;place-items:center;width:12px;height:12px;padding-top:1px}

/* design-system-floating.css */
.portfolio-home .ds-modular-cover--interactive{container-type:inline-size;isolation:isolate;--ds-item-scale:clamp(.58,calc(100cqw / 1118px),1)}
.portfolio-home .ds-modular-cover--interactive>img{position:relative;z-index:2;pointer-events:none;transform:scale(.9);transform-origin:center}
.portfolio-home .ds-modular-cover--interactive:before,.portfolio-home .ds-modular-cover--interactive:after{z-index:3}
.ds-floating-elements{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.ds-floating-item{position:absolute;left:50%;top:50%;width:calc(var(--ds-item-width,180px)*var(--ds-item-scale));height:calc(var(--ds-item-height,98px)*var(--ds-item-scale));opacity:0;transform:translate(-50%,-50%) scale(.82);transition:opacity .7s ease-in-out,transform .7s ease-in-out;transition-delay:var(--ds-delay,0s);font-family:CargoInter,Arial,sans-serif;color:#2d2d32;letter-spacing:0;--result-accent:#6264ef;--cover-accent:#6264ef}
.ds-floating-scale{display:block;width:var(--ds-item-width,180px);transform:scale(var(--ds-item-scale));transform-origin:top left}
.ds-floating-surface{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;padding:16px;background:#fff;border:1px solid #e6e6eb;border-radius:12px;box-shadow:0 8px 24px #34376a12}
.ds-floating-label{display:block;font-size:10px;line-height:14px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:#5f5f64}
.ds-floating-caption{font-size:9px;line-height:14px;color:#5f5f64;white-space:nowrap}
.ds-floating-swatches{display:flex;gap:8px;width:100%}
.ds-floating-swatches i{flex:1;height:32px;border-radius:6px;background:var(--swatch)}
.ds-floating-type{display:flex;align-items:center;gap:12px;font-size:14px;line-height:20px;font-weight:500}
.ds-floating-type strong{font-size:34px;line-height:1;font-weight:600}
.ds-floating-type small{display:block;margin-top:2px;font-size:9px;line-height:14px;font-weight:400;color:#5f5f64}
.ds-floating-icon{display:block;flex:none;width:16px;height:16px}
.ds-floating-icon--close{width:12px;height:12px}
.portfolio-home .ds-floating-item .ds-cover-calendar{width:100%}
.ds-floating-input{display:flex;align-items:center;justify-content:space-between;padding:8px 8px 8px 10px;border-radius:8px;box-shadow:inset 0 0 0 1px var(--cover-accent);background:#fff}
.ds-floating-input .ds-floating-icon{color:#2d2d32}
.ds-floating-spacing{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;width:100%;font-size:10px;line-height:16px;color:#5f5f64}
.ds-floating-spacing>span{display:grid;justify-items:center;gap:8px}
.ds-floating-spacing i{display:block;width:8px;height:4px;border-radius:2px;background:#6264ef}
.ds-floating-spacing>span:nth-child(2) i{height:8px}
.ds-floating-spacing>span:nth-child(3) i{height:16px}
.ds-floating-spacing>span:nth-child(4) i{height:24px}
.ds-floating-item--button{--ds-x:calc(-45cqw + 50%);--ds-y:calc(-20.82cqw + 50%);--ds-item-width:178px;--ds-item-height:98px;--ds-delay:0s}
.ds-floating-item--palette{--ds-x:calc(-47cqw + 50%);--ds-y:calc(-5.06cqw + 50%);--ds-item-width:200px;--ds-item-height:118px;--ds-delay:.08s}
.ds-floating-item--type{--ds-x:calc(-44cqw + 50%);--ds-y:calc(11.82cqw + 50%);--ds-item-width:192px;--ds-item-height:96px;--ds-delay:.16s}
.ds-floating-item--status{--ds-x:calc(44cqw - 50%);--ds-y:calc(-19.7cqw + 50%);--ds-item-width:164px;--ds-item-height:86px;--ds-delay:.06s}
.ds-floating-item--calendar{--ds-x:calc(47.5cqw - 50%);--ds-y:calc(-4.5cqw + 50%);--ds-item-width:208px;--ds-item-height:112px;--ds-delay:.14s}
.ds-floating-item--spacing{--ds-x:calc(45cqw - 50%);--ds-y:calc(12.38cqw + 50%);--ds-item-width:176px;--ds-item-height:108px;--ds-delay:.22s}
@media(hover:hover) and (pointer:fine) and (min-width:701px){
 .portfolio-home #work-design-system:hover .ds-floating-item{opacity:1;transform:translate(calc(-50% + var(--ds-x)),calc(-50% + var(--ds-y))) scale(1)}
}
@media(min-width:701px){.portfolio-home #work-design-system:has(>.pf-work-link:focus-visible) .ds-floating-item{opacity:1;transform:translate(calc(-50% + var(--ds-x)),calc(-50% + var(--ds-y))) scale(1)}}
@media(max-width:700px){.ds-floating-elements{display:none}}
@media(prefers-reduced-motion:reduce){.ds-floating-item{transition:none}.ds-floating-surface{animation:none!important}}

/* design-system-home.css */
/* Cargo Produce card only; case-study demos are not loaded on Home. */
.portfolio-home #work-design-system .pf-showcase-stage{position:relative;z-index:1;isolation:isolate;border-top:0;padding-top:0}
.portfolio-home #work-design-system .pf-section-intro{padding-bottom:40px}
.portfolio-home #work-design-system .ds-project-showcase>.ds-modular-cover{border:0}
.portfolio-home #work-design-system .ds-project-showcase>.ds-modular-cover:before,.portfolio-home #work-design-system .ds-project-showcase>.ds-modular-cover:after{content:none}
.portfolio-home #work-design-system .ds-project-showcase:before,.portfolio-home #work-design-system .ds-project-showcase:after{z-index:3;pointer-events:none}
.portfolio-home #work-design-system .pf-showcase-results{margin:0}
.portfolio-home #work-design-system .pf-showcase-results dd{border-color:#6264ef29;background:#f0f2ff;color:#5052c8}
.portfolio-home #work-design-system .pf-result-value-mobile{display:none}
@media(max-width:700px){
.portfolio-home #work-design-system .pf-result-value-full{display:none}
.portfolio-home #work-design-system .pf-result-value-mobile{display:inline}
.portfolio-home #work-design-system .pf-section-intro{padding-bottom:24px}
}

