/* One readable document; motion is an optional presentation layer. */
.process-story{position:relative;width:100%;min-width:0}
.process-story .process-pin{position:relative;display:flex;flex-direction:column;min-width:0}
.process-story .process-heading{order:1}
.process-story .process-track{order:2;min-width:0}
.process-story .process-footer{order:3}
.process-story .process-visual{position:relative;order:4;width:100%;height:370px;min-width:0;margin:48px 0 0}
.process-story .process-photo{width:100%;height:100%;margin:0;box-shadow:0 16px 40px #001f2918}
.process-story .process-scene-secondary{display:none}
.process-story .process-scene-photo>img{display:block;width:100%;height:100%;object-fit:cover}
.process-story .process-photo>img{transform:none;will-change:auto}
.process-story.process-scene-ready .process-step{
  translate:0 var(--process-card-y,0px);
  transition:background-color .35s,border-color .35s,box-shadow .35s;
}
.process-story.process-scene-ready .process-step.is-current{border-color:#9d793f}
.process-story.process-scene-ready .process-step.is-current .step-number{color:var(--navy)}
/* The photograph stays within its own section instead of overlapping the funnel. */
.process+.funnel{padding-top:112px}

@media(min-width:1000px) and (min-height:800px) and (prefers-reduced-motion:no-preference){
  .process-story.is-process-pinned{height:240svh;min-height:1600px}
  .process-story.is-process-pinned .process-pin{
    position:sticky;
    top:calc(var(--site-header-size,96px) + 18px);
    height:calc(100svh - var(--site-header-size,96px) - 42px);
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);
    grid-template-rows:auto minmax(0,1fr) auto;
    column-gap:36px;row-gap:18px;
    padding-block:8px;
  }
  .process-story.is-process-pinned .process-heading{
    grid-column:1;grid-row:1;display:block;margin:0;min-width:0;
  }
  .process-story.is-process-pinned .process-heading .eyebrow{margin-bottom:9px;font-size:.75rem;letter-spacing:.08em}
  .process-story.is-process-pinned .process-heading .display-title{font-size:clamp(2rem,3.7vw,3.35rem)}
  .process-story.is-process-pinned .process-heading>.section-intro{
    position:absolute;right:0;bottom:12px;
    width:calc((100% - 36px)/2.45);max-width:none;margin:0;
    font-size:1rem;line-height:1.7;color:#34505a;
  }
  .process-story.is-process-pinned .process-track{
    grid-column:1;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:repeat(2,minmax(0,1fr));gap:16px;
    border:0;padding:4px 0 0;min-height:0;align-items:stretch;
  }
  .process-story.is-process-pinned .process-track::before{
    top:-5px;left:0;width:100%;height:2px;background:#967238;
    transform:scaleX(var(--process-progress,0));transform-origin:left;
    transition:none;
  }
  .process-story.is-process-pinned .process-step,
  .process-story.is-process-pinned .process-step+.process-step,
  .process-story.is-process-pinned .process-step:nth-child(3),
  .process-story.is-process-pinned .process-step:nth-child(4){
    position:relative;isolation:isolate;display:block;min-width:0;min-height:0;
    padding:16px 18px;border:1px solid #9e7b3d45;
    background:#f9edce;box-shadow:0 3px 0 #9e7b3d12;
    rotate:var(--process-card-tilt,0deg);
  }
  .process-story.is-process-pinned .process-step::after{
    content:"";position:absolute;inset:5px -4px -5px 5px;z-index:-1;
    border:1px solid #9e7b3d35;background:transparent;
    pointer-events:none;
  }
  .process-story.is-process-pinned .process-step.is-current{
    background:#fffaf0;border-color:#967238;
    box-shadow:0 12px 25px #082b3a13;
  }
  .process-story.is-process-pinned .step-visual{
    display:flex;flex-direction:row;align-items:center;justify-content:space-between;
    height:40px;gap:12px;margin:0 0 10px;
  }
  .process-story.is-process-pinned .step-number{font-size:1.5rem;line-height:1;margin:0;letter-spacing:0}
  .process-story.is-process-pinned .process-icon{width:44px;height:44px;object-fit:contain}
  .process-story.is-process-pinned .process-step h3{font-size:1.2rem;line-height:1.2}
  .process-story.is-process-pinned .process-step p{font-size:1rem;line-height:1.5;margin-top:10px;max-width:none}
  .process-story.is-process-pinned .process-footer{
    grid-column:1;grid-row:3;display:flex;align-items:center;justify-content:space-between;
    gap:12px 20px;flex-wrap:wrap;margin:0;padding:12px 0 0;min-width:0;
  }
  .process-story.is-process-pinned .process-footer p{font-size:.875rem;line-height:1.6}
  .process-story.is-process-pinned .process-footer .text-link{font-size:.875rem;white-space:nowrap}
  .process-story.is-process-pinned .process-visual{
    grid-column:2;grid-row:1/4;order:0;align-self:start;
    height:calc(100% - 95px);min-height:0;margin:0;
  }
  .process-story.is-process-pinned .process-scene-photo{
    display:block;position:absolute;left:0;top:0;width:82%;height:57%;margin:0;
    overflow:hidden;border:6px solid #fffaf0;box-shadow:0 15px 35px #082b3a25;
    transform-origin:top left;
    translate:var(--process-photo-x,0px) var(--process-photo-y,0px);
    rotate:var(--process-photo-rotation,0deg);
    scale:var(--process-photo-scale,1);
    z-index:var(--process-photo-z,1);
    will-change:translate,rotate,scale;
  }
  .process-story.is-process-pinned .process-photo>img{object-position:62% center}
  .process-story.is-process-pinned .process-scene-secondary>img{object-position:center 35%}
  .process-story.is-process-pinned .process-photo figcaption{
    left:18px;right:18px;bottom:17px;font-size:1.5rem;
  }
}

/* Compact pinned stages keep the same text size; only their spacing tightens. */
@media(min-width:1000px) and (min-height:800px) and (max-height:900px) and (prefers-reduced-motion:no-preference){
  .process-story.is-process-pinned .process-pin{row-gap:14px}
  .process-story.is-process-pinned .process-heading .display-title{font-size:clamp(2rem,3.6vw,2.7rem)}
  .process-story.is-process-pinned .process-track{gap:12px}
  .process-story.is-process-pinned .process-step,
  .process-story.is-process-pinned .process-step+.process-step,
  .process-story.is-process-pinned .process-step:nth-child(3),
  .process-story.is-process-pinned .process-step:nth-child(4){padding:12px 14px}
  .process-story.is-process-pinned .step-visual{height:32px;margin-bottom:8px}
  .process-story.is-process-pinned .process-icon{width:36px;height:36px}
  .process-story.is-process-pinned .step-number{font-size:1.3rem}
  .process-story.is-process-pinned .process-step h3{font-size:1.1rem}
  .process-story.is-process-pinned .process-step p{line-height:1.4;margin-top:8px}
}

@media(max-width:999px){
  .process-story .process-visual{height:330px;margin-top:38px}
}
@media(max-width:680px){
  .process-story .process-pin{display:flex;position:relative;height:auto}
  .process-story .process-visual{order:0;width:100%;height:clamp(210px,58vw,260px);margin:0 0 32px}
  .process-story .process-photo{width:100%;height:100%;margin:0;box-shadow:none}
  .process-story .process-photo>img{object-position:57% center;transform:none!important;will-change:auto}
  .process-story .process-scene-secondary{display:none}
  .process-story .process-heading{order:1}
  .process-story .process-track{order:2}
  .process-story .process-footer{order:3}
  .process-story.process-scene-ready .process-step.is-current{background:#fff8e127}
  .process+.funnel{padding-top:68px}
}
@media(prefers-reduced-motion:reduce){
  .process-story .process-step{translate:none!important;rotate:none!important}
  .process-story .process-scene-photo{translate:none!important;rotate:none!important;scale:none!important;will-change:auto!important}
}

/* Alternate the composition while keeping the four steps in reading order. */
.process-story .process-step:nth-child(even){text-align:right}
.process-story .process-step:nth-child(even) .step-visual{flex-direction:row-reverse}
.process-story .process-step:nth-child(even) h3,
.process-story .process-step:nth-child(even) p{margin-left:auto;margin-right:0}
@media(max-width:680px){
  .process-story .process-step,
  .process-story .process-step+.process-step,
  .process-story .process-step:nth-child(3),
  .process-story .process-step:nth-child(4){padding-inline:14px}
}
