.how-work { position: relative; background: rgb(255, 255, 255); color: rgb(20, 20, 19); height: 480svh; }
.how-pin { position: sticky; top: 0px; height: 100svh; overflow: hidden; isolation: isolate; }
.how-heading { position: absolute; z-index: 2; top: 5%; left: 2.5%; width: 46%; pointer-events: none; }
.how-heading > .eyebrow { display: block; font-size: 9px; letter-spacing: 1.5px; margin-bottom: 26px; }
.how-heading h2 { font: clamp(42px, 5.5vw, 86px) / 0.98 Georgia, serif; letter-spacing: -0.045em; }
.how-heading h2 > span { color: rgb(182, 182, 182); transition: color 0.25s; }
.how-visual { position: absolute; left: 50.5%; top: 0px; bottom: 0px; width: 49.5%; overflow: hidden; z-index: 1; will-change: left, width; }
.how-image { position: absolute; inset: 0px; object-fit: cover; width: 100%; height: 100%; clip-path: inset(100% 100% 0px 0px); transition: clip-path 0.8s cubic-bezier(0.22, 1, 0.36, 1); will-change: clip-path; }
.how-image:first-child, .how-image.is-active { clip-path: inset(0px); }
.how-image-shade { position: absolute; inset: 0px; background: rgb(0, 0, 0); opacity: 0; pointer-events: none; }
.how-cards { position: absolute; inset: 0px; z-index: 3; pointer-events: none; }
.how-card { width: var(--card-size,380px); height: var(--card-size,380px); background: rgb(240, 240, 239); position: absolute; top: 0px; left: 0px; display: flex; flex-direction: column; pointer-events: auto; will-change: transform; transition: background-color 0.4s; }
.how-card.is-active { background: rgb(243, 255, 144); }
.how-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.how-card h3 { font: 400 clamp(23px, 2.55vw, 43px) / 1 Georgia, serif; letter-spacing: -0.04em; padding: 15px 14px; max-width: 70%; }
.how-icon { width: 33%; aspect-ratio: 1 / 1; background: rgb(255, 107, 77); padding: 20px; flex-shrink: 0; }
.how-icon svg { width: 100%; height: 100%; }
.how-number { padding: 5px 15px; font-size: 9px; letter-spacing: 1px; opacity: 0.5; }
.how-card > p { margin-top: auto; padding: 15px; font-size: 14px; line-height: 1.32; max-width: 100%; color: rgb(106, 112, 81); }
.how-finale-label { position: absolute; z-index: 3; bottom: 35px; left: 3%; font-size: 10px; letter-spacing: 2px; color: white; opacity: 0; }
.how-work.is-expanded .how-heading { color: white; }
.how-work.is-expanded .how-heading h2 > span { color: rgba(255, 255, 255, 0.627); }
@media (max-width: 760px) {
  .how-work { height: 470svh; }
  .how-heading { left: 6%; top: 8%; width: 86%; }
  .how-heading h2 { font-size: 43px; line-height: 1; }
  .how-heading h2 > span > br { display: none; }
  .how-heading > .eyebrow { margin-bottom: 18px; }
  .how-visual { left: 0px; top: 36%; width: 100%; height: 64%; bottom: auto; }
  .how-card h3 { font-size: 29px; }
  .how-card > p { font-size: 13px; }
  .how-icon { padding: 16px; }
  .how-finale-label { font-size: 8px; left: 6%; max-width: 80%; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
  .how-work { height: auto !important; }
  .how-pin { position: relative; height: auto; overflow: hidden; padding: 50px 6%; }
  .how-heading { position: relative; width: auto; left: auto; top: auto; margin-bottom: 35px; }
  .how-visual, .how-finale-label { display: none; }
  .how-cards { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
  .how-card { position: relative; width: 100%; height: 330px; transform: none !important; }
}
