.how-it-works {
  --how-active: var(--cyan, #13a6c2);
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: clip;
  padding: clamp(72px, 8vw, 112px) clamp(24px, 5.2vw, 80px) 48px;
  background:
    radial-gradient(ellipse at 87% 18%, rgba(19,166,194,.08), transparent 24%),
    radial-gradient(ellipse at 8% 78%, rgba(211,76,130,.055), transparent 26%),
    var(--paper, #f3f0e8);
  color: var(--ink, #171719);
}
.how-it-works::before,
.how-it-works::after {
  position: absolute;
  z-index: -1;
  width: min(54vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(19,166,194,.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.how-it-works::before { top: 4%; right: -32%; }
.how-it-works::after { bottom: -46%; left: -34%; border-color: rgba(211,76,130,.11); }
.how-it-works-shell { position: relative; z-index: 1; width: min(100%, 1450px); margin: 0 auto; }
.how-it-works-layout { display: grid; grid-template-columns: minmax(255px, .43fr) minmax(0, 1.42fr); align-items: start; gap: clamp(38px, 6vw, 94px); }
.how-it-works-header { position: sticky; top: 12svh; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(22px, 3vw, 34px); min-width: 0; padding-top: 12svh; }
.how-orbit-mark { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(100%, 310px); aspect-ratio: 1; isolation: isolate; border: 1px solid rgba(23,23,25,.18); border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(19,166,194,.08), transparent 66%); }
.how-orbit-mark::before,
.how-orbit-mark::after { position: absolute; z-index: -1; border: 1px solid rgba(19,166,194,.33); border-radius: 50%; content: ""; pointer-events: none; }
.how-orbit-mark::before { inset: 11px; border-color: color-mix(in srgb, var(--how-active) 18%, transparent); }
.how-orbit-mark::after { inset: -10px; border-color: color-mix(in srgb, var(--how-active) 42%, transparent); clip-path: inset(0 0 0 48%); transform: rotate(var(--how-orbit-angle, -90deg)); transition: border-color .45s ease, transform .5s cubic-bezier(.2,.75,.25,1); }
.how-orbit-label { position: absolute; top: 24%; color: #77736d; font-size: 8px; font-weight: 850; letter-spacing: .19em; }
.how-it-works-title { margin: 0; color: var(--ink, #171719); font: 760 clamp(42px, 4.4vw, 64px)/.9 var(--font-display, "Manrope", Arial, sans-serif); letter-spacing: -.065em; text-align: center; }
.how-it-works-title em { color: var(--red, #ed6049); font-family: var(--font-accent, Georgia, serif); font-size: 1.03em; font-weight: 550; letter-spacing: -.005em; }
.how-it-works.is-story-visible .how-it-works-title { animation: how-circle-title-in .8s cubic-bezier(.18,.76,.24,1) both; }
@keyframes how-circle-title-in { from { opacity: 0; transform: translateY(14px) scale(.96); letter-spacing: -.09em; } to { opacity: 1; transform: translateY(0) scale(1); letter-spacing: -.065em; } }
.how-orbit-dot { position: absolute; width: 9px; height: 9px; border: 2px solid var(--paper, #f3f0e8); border-radius: 50%; box-shadow: 0 0 0 1px rgba(23,23,25,.12); }
.how-orbit-dot-one { top: 12%; left: 49%; background: var(--cyan, #13a6c2); }
.how-orbit-dot-two { right: 8%; bottom: 34%; background: var(--magenta, #d34c82); }
.how-orbit-dot-three { bottom: 10%; left: 30%; background: var(--yellow, #e8c746); }
.how-it-works-copy { width: 100%; max-width: 330px; }
.how-it-works-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 13px; color: #77736d; font-size: 8px; font-weight: 850; letter-spacing: .14em; }
.how-it-works-eyebrow b { color: var(--red, #ed6049); }
.how-it-works-eyebrow i { width: 18px; height: 1px; background: #aaa59b; }
.how-it-works-eyebrow span { color: var(--ink, #171719); }
.how-it-works-intro { margin: 0; color: var(--muted, #6d6a63); font-size: 13px; line-height: 1.8; }
.how-it-works-intro strong { color: var(--ink, #171719); font-weight: 750; text-decoration: underline; text-decoration-color: var(--cyan, #13a6c2); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.how-it-works.is-story-visible .how-it-works-copy { animation: how-intro-arrive .78s .16s cubic-bezier(.2,.75,.25,1) both; }
@keyframes how-intro-arrive { from { opacity: 0; transform: translateY(12px); filter: blur(3px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
.how-orbit-hint { display: flex; align-items: center; gap: 9px; margin-top: 18px; color: #88837b; font-size: 7px; font-weight: 850; letter-spacing: .16em; }
.how-orbit-hint i { width: 23px; height: 1px; background: var(--how-active); transition: background .35s ease; }
.how-map { position: relative; min-width: 0; margin-top: 0; --how-progress: 0%; }
.how-map-route { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.how-route-base,
.how-route-progress { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.how-route-base { stroke: rgba(23,23,25,.18); stroke-width: 3; }
.how-route-progress { stroke: url(#how-route-gradient); stroke-width: 4; stroke-dasharray: 1000; stroke-dashoffset: 1000; filter: drop-shadow(0 0 5px rgba(19,166,194,.35)); transition: stroke-dashoffset .22s linear; }
.how-route-node { fill: var(--how-node-accent, #13a6c2); stroke: #fffefa; stroke-width: 2.5; opacity: .5; transform-box: fill-box; transform-origin: center; vector-effect: non-scaling-stroke; transition: opacity .4s ease, transform .4s ease, filter .4s ease; }
.how-route-node.is-current { opacity: 1; transform: scale(1.28); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--how-node-accent) 55%, transparent)); }
.how-map-arrow { display: none; }
.how-map-grid { position: relative; z-index: 1; display: block; }
.how-map-step {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-height: 100svh;
  padding: 12svh 0 4svh;
  scroll-margin-top: 0;
  --how-step-accent: var(--how-active);
}
.how-map-step.is-active { z-index: 2; }
.how-map-card {
  position: sticky;
  z-index: 1;
  top: 12svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  width: min(100%, 1160px);
  height: min(72svh, 700px);
  min-height: 450px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(23,23,25,.13);
  border-radius: 26px;
  background: #fffefa;
  box-shadow: 0 24px 68px rgba(23,23,25,.075);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .45s ease, box-shadow .55s ease, transform .55s cubic-bezier(.2,.75,.25,1);
}
.how-map-card:hover,
.how-map-card:focus-visible,
.how-map-step.is-active .how-map-card { border-color: color-mix(in srgb, var(--how-step-accent) 64%, transparent); box-shadow: 0 30px 76px rgba(23,23,25,.14), 0 0 0 5px color-mix(in srgb, var(--how-step-accent) 10%, transparent); }
.how-map-card:focus-visible { outline: 2px solid var(--how-step-accent); outline-offset: 5px; }
.how-map-photo { position: relative; display: block; min-width: 0; min-height: 0; height: 100%; overflow: hidden; background: #d7d0c3; }
.how-map-photo::after { position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(15,16,18,.4)); content: ""; opacity: .72; pointer-events: none; transition: opacity .45s ease; }
.how-map-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.045); transition: transform 1.1s cubic-bezier(.18,.75,.22,1), filter .7s ease; filter: saturate(.9); }
.how-map-step.is-active .how-map-photo img,
.how-map-card:hover .how-map-photo img,
.how-map-card:focus-visible .how-map-photo img { transform: scale(1); filter: saturate(1.04); }
.how-map-step.is-active .how-map-photo::after,
.how-map-card:hover .how-map-photo::after { opacity: .92; }
.how-map-number,
.how-map-tag { position: absolute; z-index: 1; top: 18px; display: inline-flex; align-items: center; justify-content: center; color: #fff; text-shadow: 0 1px 9px rgba(0,0,0,.34); }
.how-map-number { left: 18px; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.78); border-radius: 50%; background: color-mix(in srgb, var(--how-step-accent) 90%, transparent); font-size: 10px; font-weight: 850; letter-spacing: .08em; backdrop-filter: blur(6px); transition: transform .4s ease, background .4s ease; }
.how-map-step.is-active .how-map-number { transform: scale(1.1); background: var(--how-step-accent); animation: how-stage-pulse 1.7s ease-out infinite; }
@keyframes how-stage-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--how-step-accent) 24%, transparent); } 55% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--how-step-accent) 0%, transparent); } }
.how-map-tag { right: 18px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.62); border-radius: 99px; background: rgba(20,20,22,.28); font-size: 8px; font-weight: 850; letter-spacing: .15em; backdrop-filter: blur(6px); }
.how-map-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: clamp(24px, 3.2vw, 54px); }
.how-step-kicker { display: block; margin-bottom: 11px; color: #817d76; font-size: 9px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; transition: color .35s ease; }
.how-step-title { display: block; width: fit-content; max-width: 100%; color: var(--ink, #171719); font: 760 clamp(30px, 4.2vw, 62px)/1.04 var(--font-display, "Manrope", Arial, sans-serif); letter-spacing: -.052em; transition: color .35s ease; }
.how-step-title .how-title-word { display: inline-block; }
.how-step-title.is-revealing .how-title-word { animation: how-title-rise .62s cubic-bezier(.2,.8,.25,1) both; animation-delay: calc(var(--word-index, 0) * 65ms); }
@keyframes how-title-rise { 0% { opacity: .12; transform: translateY(18px); clip-path: inset(0 0 100% 0); } 100% { opacity: 1; transform: translateY(0); clip-path: inset(0); } }
.how-step-title::after { display: block; width: 100%; height: 3px; margin-top: 10px; border-radius: 99px; background: var(--how-step-accent); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.2,.75,.25,1); }
.how-step-description { display: block; max-width: 470px; margin-top: 17px; color: var(--muted, #6d6a63); font-size: 15px; line-height: 1.75; }
.how-map-note { display: block; margin-top: 17px; padding: 12px 14px; border-left: 2px solid var(--cyan, #13a6c2); border-radius: 0 8px 8px 0; background: rgba(19,166,194,.045); color: #77736d; }
.how-map-note-kicker { display: block; margin-bottom: 5px; color: var(--cyan, #13a6c2); font-size: 8px; font-weight: 850; letter-spacing: .15em; }
.how-map-note-copy { display: block; font-size: 12px; line-height: 1.55; }
.how-stage-aside { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: start; gap: 8px 13px; width: 100%; margin-top: 12px; padding: 12px 14px; border-left: 2px solid color-mix(in srgb, var(--how-step-accent) 72%, transparent); border-radius: 0 8px 8px 0; background: color-mix(in srgb, var(--how-step-accent) 5%, #fffefa); color: var(--muted, #6d6a63); opacity: .28; transform: translateY(7px); transition: border-color .4s ease, background .4s ease, opacity .5s ease, transform .55s cubic-bezier(.2,.75,.25,1); }
.how-stage-aside-kicker { display: block; margin: 2px 0 0; color: var(--how-step-accent); font-size: 8px; font-weight: 850; letter-spacing: .13em; line-height: 1.5; text-transform: uppercase; white-space: nowrap; }
.how-stage-aside-copy { display: block; margin: 0; font-size: 12px; line-height: 1.55; }
.how-map-step.is-active .how-stage-aside.is-visible { background: color-mix(in srgb, var(--how-step-accent) 8%, #fffefa); opacity: 1; transform: translateY(0); animation: how-aside-reveal .5s .18s cubic-bezier(.18,.76,.24,1) both; }
@keyframes how-aside-reveal { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
.how-step-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(23,23,25,.1); color: #827d75; font-size: 9px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; transition: border-color .35s ease, color .35s ease, transform .35s ease; }
.how-step-link i { color: var(--how-step-accent); font-size: 16px; font-style: normal; }
.how-map-card:hover .how-step-link,
.how-map-card:focus-visible .how-step-link,
.how-map-step.is-active .how-step-link { border-color: color-mix(in srgb, var(--how-step-accent) 46%, transparent); color: var(--ink, #171719); transform: translateX(3px); }
.how-map-step.is-active .how-step-title,
.how-map-step.is-active .how-step-kicker { color: var(--how-step-accent); }
.how-map-step.is-active .how-step-title::after { transform: scaleX(1); }
.how-map-step.is-active .how-step-description { animation: how-copy-in .55s .08s cubic-bezier(.2,.75,.25,1) both; }
@keyframes how-copy-in { from { opacity: .15; transform: translateY(12px); clip-path: inset(0 0 40% 0); } to { opacity: 1; transform: translateY(0); clip-path: inset(0); } }
@media (min-width: 901px) {
  .how-map-card { width: min(100%, 850px); }
  .how-map-step:nth-child(1) .how-map-card { transform: translateX(-46px); }
  .how-map-step:nth-child(2) .how-map-card { transform: translateX(-24px); }
  .how-map-step:nth-child(3) .how-map-card { transform: translateX(0); }
  .how-map-step:nth-child(4) .how-map-card { transform: translateX(24px); }
  .how-map-step:nth-child(5) .how-map-card { transform: translateX(46px); }
}
.how-it-works-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(24px, 4vw, 48px); padding-top: 17px; color: #77736d; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.how-journey-status { display: inline-flex; align-items: center; gap: 10px; }
.how-journey-counter { min-width: 54px; color: var(--ink, #171719); font-size: 10px; font-variant-numeric: tabular-nums; letter-spacing: .12em; text-align: right; }
.how-journey-status > i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--how-active); box-shadow: 0 0 0 5px color-mix(in srgb, var(--how-active) 15%, transparent); transition: background .4s ease, box-shadow .4s ease; }
.how-journey-control { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid rgba(23,23,25,.18); border-radius: 99px; background: transparent; color: var(--ink, #171719); font: inherit; font-size: 8px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.how-journey-control:hover, .how-journey-control:focus-visible { border-color: var(--red, #ed6049); background: #fffefa; transform: translateY(-2px); }
.how-journey-control:focus-visible { outline: 2px solid var(--cyan, #13a6c2); outline-offset: 3px; }
.how-journey-control i { color: var(--red, #ed6049); font-size: 15px; font-style: normal; }
.how-it-works-cmyk { display: inline-flex; gap: 5px; }
.how-it-works-cmyk i { width: 7px; height: 7px; border-radius: 50%; }
.how-it-works-cmyk i:nth-child(1) { background: var(--cyan, #13a6c2); }
.how-it-works-cmyk i:nth-child(2) { background: var(--magenta, #d34c82); }
.how-it-works-cmyk i:nth-child(3) { background: var(--yellow, #e8c746); }
.how-it-works-cmyk i:nth-child(4) { background: var(--ink, #171719); }
@media (max-width: 900px) {
  .how-it-works-layout { grid-template-columns: minmax(225px, .48fr) minmax(0, 1.4fr); gap: 30px; }
  .how-it-works-header { gap: 22px; }
  .how-orbit-mark { width: min(100%, 255px); }
  .how-it-works-title { font-size: clamp(38px, 5vw, 52px); }
  .how-map-card { width: min(100%, 900px); grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .how-map-copy { padding: clamp(20px, 3vw, 34px); }
  .how-step-title { font-size: clamp(27px, 4vw, 44px); }
  .how-step-description { font-size: 13px; }
  .how-stage-aside { grid-template-columns: 1fr; gap: 4px; padding: 10px 12px; }
  .how-stage-aside-kicker { margin: 0; }
  .how-stage-aside-copy { font-size: 11px; }
}
@media (max-width: 760px) {
  .how-it-works-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .how-it-works-header { position: relative; top: auto; display: grid; grid-template-columns: minmax(130px, .38fr) minmax(0, 1fr); align-items: center; gap: 22px; padding-top: 0; }
  .how-orbit-mark { width: min(100%, 210px); }
  .how-it-works-title { font-size: clamp(30px, 6.2vw, 48px); }
  .how-it-works-copy { max-width: 520px; }
  .how-map { margin-top: 8px; }
  .how-map-step:nth-child(n) .how-map-card { transform: none; }
}
@media (max-width: 640px) {
  .how-it-works { padding: 58px 18px 34px; }
  .how-it-works-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .how-it-works-header { position: relative; top: auto; display: grid; grid-template-columns: minmax(118px, .72fr) minmax(0, 1fr); align-items: center; gap: 18px; padding-top: 0; }
  .how-orbit-mark { width: min(100%, 166px); }
  .how-orbit-mark::before { inset: 7px; }
  .how-orbit-mark::after { inset: -6px; }
  .how-orbit-label { top: 21%; font-size: 5px; letter-spacing: .12em; }
  .how-it-works-title { font-size: clamp(25px, 8vw, 36px); letter-spacing: -.07em; }
  .how-orbit-dot { width: 7px; height: 7px; }
  .how-it-works-copy { max-width: none; }
  .how-it-works-eyebrow { gap: 5px; margin-bottom: 8px; font-size: 6px; letter-spacing: .1em; }
  .how-it-works-eyebrow i { width: 10px; }
  .how-it-works-intro { font-size: 10px; line-height: 1.55; }
  .how-orbit-hint { gap: 6px; margin-top: 10px; font-size: 5px; letter-spacing: .1em; }
  .how-orbit-hint i { width: 13px; }
  .how-map { margin-top: 16px; }
  .how-map-step { min-height: 100svh; padding: 10svh 0 8svh; }
  .how-map-step:nth-child(n) .how-map-card { transform: none; }
  .how-map-card { top: 10svh; width: 100%; height: min(76svh, 660px); min-height: 480px; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(205px, .56fr) minmax(0, .44fr); border-radius: 18px; }
  .how-map-photo { min-height: 0; height: 100%; }
  .how-map-photo::after { inset: 35% 0 0; }
  .how-map-number { top: 12px; left: 12px; width: 30px; height: 30px; font-size: 8px; }
  .how-map-tag { top: 12px; right: 12px; padding: 7px 9px; font-size: 6px; }
  .how-map-copy { justify-content: flex-start; padding: 18px 17px 14px; overflow: hidden; }
  .how-step-kicker { margin-bottom: 6px; font-size: 7px; }
  .how-step-title { font-size: clamp(23px, 7vw, 34px); }
  .how-step-title::after { height: 2px; margin-top: 6px; }
  .how-step-description { margin-top: 8px; font-size: 11px; line-height: 1.48; }
  .how-map-note { margin-top: 9px; padding: 7px 9px; }
  .how-map-note-kicker { margin-bottom: 3px; font-size: 6px; }
  .how-map-note-copy { font-size: 9px; line-height: 1.42; }
  .how-stage-aside { gap: 2px; margin-top: 7px; padding: 6px 8px; }
  .how-stage-aside-kicker { font-size: 6px; letter-spacing: .1em; }
  .how-stage-aside-copy { font-size: 9px; line-height: 1.35; }
  .how-step-link { margin-top: auto; padding-top: 7px; font-size: 6px; letter-spacing: .1em; }
  .how-step-link i { font-size: 12px; }
  .how-it-works-footer { flex-wrap: wrap; margin-top: 24px; font-size: 7px; letter-spacing: .1em; }
  .how-journey-control { gap: 6px; padding: 8px 9px; font-size: 6px; letter-spacing: .08em; }
  .how-map-route { opacity: .8; }
}
@media (max-height: 620px) and (min-width: 641px) {
  .how-map-step { min-height: 112svh; padding-top: 9svh; }
  .how-map-card { top: 9svh; height: 78svh; min-height: 0; }
  .how-map-copy { padding: 20px 24px; }
  .how-step-description { margin-top: 9px; font-size: 12px; }
  .how-map-note, .how-stage-aside { margin-top: 8px; padding: 8px 10px; }
  .how-map-note-copy, .how-stage-aside-copy { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .how-it-works *, .how-it-works *::before, .how-it-works *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .how-map-card, .how-map-step.is-active .how-map-card { transform: none; }
  .how-map-step.is-active .how-map-number { animation: none; }
}

/* Stage detail columns follow the in-place inspection pattern from Quality. */
.how-stage-hover { position: absolute; z-index: 3; top: var(--how-cursor-y, 50%); left: var(--how-cursor-x, 50%); display: inline-flex; align-items: center; gap: 11px; max-width: calc(100% - 28px); padding: 13px 16px; border: 1px solid rgba(23,23,25,.16); border-radius: 999px; background: rgba(255,254,250,.97); color: var(--ink, #171719); box-shadow: 0 12px 32px rgba(0,0,0,.2); font-size: 9px; font-weight: 850; letter-spacing: .11em; white-space: nowrap; opacity: 0; transform: translate(-50%,-50%) scale(.94); transition: opacity .2s ease, top .17s cubic-bezier(.2,.75,.25,1), left .17s cubic-bezier(.2,.75,.25,1), transform .3s cubic-bezier(.2,.75,.25,1); pointer-events: none; }
.how-stage-hover i { color: var(--how-step-accent); font-size: 12px; font-style: normal; }
.how-stage-hover b { color: var(--how-step-accent); font-size: 14px; }
.how-map-photo:hover .how-stage-hover,
.how-map-card:focus-visible .how-stage-hover { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.how-stage-detail { position: absolute; z-index: 4; inset: 0 0 0 54%; display: flex; flex-direction: column; align-items: stretch; gap: clamp(12px, 1.4vw, 20px); overflow-y: auto; overscroll-behavior: contain; padding: clamp(24px, 3.1vw, 46px); border-left: 1px solid color-mix(in srgb, var(--how-step-accent) 28%, rgba(23,23,25,.12)); background: rgba(255,254,250,.985); color: var(--ink, #171719); text-align: left; opacity: 0; transform: translateX(18px); transform-origin: right center; transition: opacity .3s ease, transform .46s cubic-bezier(.2,.8,.25,1); }
.how-stage-detail[hidden] { display: none !important; }
.how-map-card.is-expanded .how-stage-detail { opacity: 1; transform: translateX(0); animation: how-detail-open .5s cubic-bezier(.2,.8,.25,1) both; }
@keyframes how-detail-open { from { opacity: 0; transform: translateX(22px); clip-path: inset(0 0 0 9%); } to { opacity: 1; transform: translateX(0); clip-path: inset(0); } }
.how-detail-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 11px; border-bottom: 1px solid rgba(23,23,25,.14); color: #77736d; font-size: 8px; font-weight: 850; letter-spacing: .14em; }
.how-detail-top > span:last-child { color: var(--how-step-accent); white-space: nowrap; }
.how-detail-top i { margin-left: 5px; font-size: 12px; font-style: normal; }
.how-detail-title { display: block; max-width: 440px; color: var(--how-step-accent); font: 760 clamp(25px, 2.8vw, 39px)/1.02 var(--font-display, "Manrope", Arial, sans-serif); letter-spacing: -.055em; animation: how-detail-text-in .52s .06s both cubic-bezier(.2,.8,.25,1); }
.how-detail-lead { display: block; max-width: 480px; color: #5f5b54; font-size: clamp(13px, 1.08vw, 15px); line-height: 1.7; animation: how-detail-text-in .52s .13s both cubic-bezier(.2,.8,.25,1); }
.how-detail-list { display: grid; gap: 0; border-top: 1px solid rgba(23,23,25,.12); animation: how-detail-text-in .52s .2s both cubic-bezier(.2,.8,.25,1); }
.how-detail-item { display: grid; grid-template-columns: minmax(92px, .42fr) minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(23,23,25,.1); color: #5f5b54; font-size: 12px; line-height: 1.5; }
.how-detail-item b { color: var(--how-step-accent); font-size: 8px; font-weight: 850; letter-spacing: .12em; line-height: 1.6; }
.how-detail-foot { display: block; margin-top: auto; padding-top: 12px; color: #77736d; font-size: 10px; font-weight: 650; line-height: 1.5; animation: how-detail-text-in .52s .27s both cubic-bezier(.2,.8,.25,1); }
@keyframes how-detail-text-in { from { opacity: 0; transform: translateY(11px); filter: blur(2px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
.how-map-card.is-expanded .how-step-link { color: var(--how-step-accent); }
@media (max-width: 900px) {
  .how-stage-detail { left: 52.6%; padding: clamp(18px, 2.5vw, 30px); }
  .how-detail-title { font-size: clamp(24px, 3.6vw, 34px); }
  .how-detail-item { grid-template-columns: 1fr; gap: 3px; padding: 9px 0; }
}
@media (max-width: 640px) {
  .how-stage-detail { inset: 27% 0 0; gap: 9px; padding: 15px 16px 13px; border-top: 1px solid color-mix(in srgb, var(--how-step-accent) 28%, rgba(23,23,25,.12)); border-left: 0; }
  .how-detail-top { padding-bottom: 7px; font-size: 7px; letter-spacing: .1em; }
  .how-detail-title { font-size: clamp(22px, 6vw, 30px); }
  .how-detail-lead { font-size: 12px; line-height: 1.5; }
  .how-detail-item { grid-template-columns: minmax(78px, .34fr) minmax(0, 1fr); gap: 8px; padding: 7px 0; font-size: 12px; line-height: 1.45; }
  .how-detail-item b { font-size: 7px; }
  .how-detail-foot { padding-top: 6px; font-size: 9px; }
  .how-stage-hover { top: auto; right: 12px; bottom: 12px; left: auto; padding: 9px 11px; gap: 7px; font-size: 7px; transform: none; }
  .how-map-photo:hover .how-stage-hover,
  .how-map-card:focus-visible .how-stage-hover { transform: none; }
}
@media (max-height: 620px) and (min-width: 641px) {
  .how-stage-detail { gap: 9px; padding: 18px 22px; }
  .how-detail-item { padding: 8px 0; font-size: 10px; }
}
@media (hover: none) {
  .how-stage-hover { top: auto; right: 14px; bottom: 14px; left: auto; opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .how-stage-hover { transition: none; }
}

/* Full-viewport stage viewer: photo and readable process detail share one screen. */
.how-stage-dialog { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; overflow: hidden; border: 0; background: var(--paper, #f3f0e8); color: var(--ink, #171719); }
.how-stage-dialog[open] { display: block; animation: how-dialog-enter .38s cubic-bezier(.2,.8,.25,1) both; }
.how-stage-dialog::backdrop { background: rgba(14,15,17,.84); backdrop-filter: blur(12px); }
.how-stage-dialog::before { position: fixed; z-index: 12; top: 0; left: 0; width: var(--how-dialog-progress, 20%); height: 4px; background: linear-gradient(90deg, #13a6c2, #d34c82, #e8c746, #ed6049, #171719); content: ""; transition: width .42s cubic-bezier(.2,.75,.25,1); }
@keyframes how-dialog-enter { from { opacity: 0; transform: translateY(18px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.how-dialog-track { width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; scroll-snap-type: y mandatory; scroll-snap-stop: always; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(23,23,25,.28) transparent; }
.how-dialog-page { --how-step-accent: #13a6c2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; height: 100dvh; min-height: 100svh; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; background: var(--paper, #f3f0e8); }
.how-dialog-photo { position: relative; min-width: 0; min-height: 0; height: 100%; overflow: hidden; margin: 0; background: #d8d0c2; }
.how-dialog-photo::after { position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(11,12,14,.48)); content: ""; pointer-events: none; }
.how-dialog-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform 1.15s cubic-bezier(.18,.75,.22,1), filter .7s ease; filter: saturate(.88); }
.how-dialog-page.is-active .how-dialog-photo img { transform: scale(1); filter: saturate(1.03); }
.how-dialog-photo-index, .how-dialog-photo-tag { position: absolute; z-index: 1; top: 28px; display: inline-flex; align-items: center; padding: 11px 14px; border: 1px solid rgba(255,255,255,.68); border-radius: 999px; color: #fff; font-size: 9px; font-weight: 850; letter-spacing: .14em; text-shadow: 0 1px 10px rgba(0,0,0,.4); backdrop-filter: blur(8px); }
.how-dialog-photo-index { left: 28px; background: color-mix(in srgb, var(--how-step-accent) 80%, transparent); }
.how-dialog-photo-tag { right: 28px; background: rgba(23,23,25,.28); }
.how-dialog-copy { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: clamp(38px, 6vw, 94px) clamp(30px, 6.1vw, 100px) clamp(34px, 5vw, 68px); }
.how-dialog-topline { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 0 14px; border-bottom: 1px solid rgba(23,23,25,.15); color: #77736d; font-size: 9px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.how-dialog-counter { color: var(--how-step-accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.how-dialog-title { margin: clamp(28px, 4.2vw, 62px) 0 0; color: var(--how-step-accent); font: 760 clamp(42px, 5.3vw, 76px)/.96 var(--font-display, "Manrope", Arial, sans-serif); letter-spacing: -.065em; }
.how-dialog-summary { max-width: 610px; margin: 20px 0 0; color: #5f5b54; font-size: clamp(15px, 1.35vw, 19px); line-height: 1.7; }
.how-dialog-detail { display: flex; flex-direction: column; align-items: stretch; gap: clamp(14px, 1.5vw, 21px); margin-top: clamp(22px, 3vw, 38px); color: var(--ink, #171719); }
.how-dialog-detail .how-detail-top { padding-bottom: 12px; font-size: 8px; }
.how-dialog-detail .how-detail-title,
.how-dialog-detail .how-detail-lead { display: none; }
.how-dialog-detail .how-detail-list { border-top-color: rgba(23,23,25,.16); }
.how-dialog-detail .how-detail-item { grid-template-columns: minmax(120px, .38fr) minmax(0, 1fr); gap: 18px; padding: 15px 0; font-size: 14px; line-height: 1.55; }
.how-dialog-detail .how-detail-item b { font-size: 9px; }
.how-dialog-detail .how-detail-foot { margin: 0; padding: 0; font-size: 12px; }
.how-dialog-nav { display: flex; align-items: stretch; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: clamp(22px, 3vw, 40px); }
.how-dialog-prev, .how-dialog-next { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-width: min(42%, 170px); padding: 13px 16px; border: 1px solid rgba(23,23,25,.18); border-radius: 999px; background: transparent; color: var(--ink, #171719); font: inherit; font-size: 8px; font-weight: 850; letter-spacing: .13em; cursor: pointer; transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease; }
.how-dialog-prev:hover:not(:disabled), .how-dialog-next:hover { border-color: var(--how-step-accent); background: #fffefa; transform: translateY(-2px); }
.how-dialog-next { border-color: color-mix(in srgb, var(--how-step-accent) 48%, rgba(23,23,25,.15)); }
.how-dialog-prev:disabled { opacity: .36; cursor: default; }
.how-dialog-prev b, .how-dialog-next b { color: var(--how-step-accent); font-size: 16px; }
.how-dialog-prev:focus-visible, .how-dialog-next:focus-visible, .how-dialog-close:focus-visible { outline: 2px solid var(--how-step-accent); outline-offset: 3px; }
.how-dialog-close { position: fixed; z-index: 20; top: 22px; right: 24px; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(23,23,25,.18); border-radius: 50%; background: rgba(255,254,250,.96); color: var(--ink, #171719); box-shadow: 0 8px 24px rgba(23,23,25,.12); font-size: 28px; line-height: 1; cursor: pointer; transition: transform .25s ease, background .25s ease; }
.how-dialog-close:hover { transform: rotate(90deg); background: #fff; }
.how-dialog-hint { position: fixed; z-index: 10; bottom: 22px; left: 24px; display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 8px; font-weight: 850; letter-spacing: .14em; text-shadow: 0 1px 10px rgba(0,0,0,.5); pointer-events: none; }
.how-dialog-hint i { color: #fff; font-size: 14px; font-style: normal; }
.how-dialog-page.is-active .how-dialog-topline,
.how-dialog-page.is-active .how-dialog-title,
.how-dialog-page.is-active .how-dialog-summary,
.how-dialog-page.is-active .how-dialog-detail,
.how-dialog-page.is-active .how-dialog-nav { animation: how-dialog-copy-arrive .55s both cubic-bezier(.2,.8,.25,1); }
.how-dialog-page.is-active .how-dialog-title { animation-delay: .06s; }
.how-dialog-page.is-active .how-dialog-summary { animation-delay: .12s; }
.how-dialog-page.is-active .how-dialog-detail { animation-delay: .2s; }
.how-dialog-page.is-active .how-dialog-nav { animation-delay: .28s; }
@keyframes how-dialog-copy-arrive { from { opacity: .12; transform: translateY(16px); clip-path: inset(0 0 22% 0); } to { opacity: 1; transform: translateY(0); clip-path: inset(0); } }
@media (max-width: 760px) {
  .how-dialog-page { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(205px, 32svh) minmax(0, 1fr); }
  .how-dialog-photo { height: 32svh; min-height: 205px; }
  .how-dialog-copy { padding: 21px 22px 24px; }
  .how-dialog-topline { padding-bottom: 9px; font-size: 7px; letter-spacing: .09em; }
  .how-dialog-title { margin-top: 19px; font-size: clamp(34px, 9vw, 52px); }
  .how-dialog-summary { margin-top: 10px; font-size: 13px; line-height: 1.55; }
  .how-dialog-detail { gap: 10px; margin-top: 16px; }
  .how-dialog-detail .how-detail-top { padding-bottom: 8px; font-size: 7px; }
  .how-dialog-detail .how-detail-item { grid-template-columns: minmax(84px, .34fr) minmax(0, 1fr); gap: 10px; padding: 9px 0; font-size: 12px; line-height: 1.45; }
  .how-dialog-detail .how-detail-item b { font-size: 7px; }
  .how-dialog-detail .how-detail-foot { font-size: 10px; }
  .how-dialog-nav { padding-top: 17px; }
  .how-dialog-prev, .how-dialog-next { gap: 9px; min-width: 43%; padding: 11px 12px; font-size: 7px; }
  .how-dialog-close { top: 11px; right: 12px; width: 38px; height: 38px; font-size: 24px; }
  .how-dialog-photo-index, .how-dialog-photo-tag { top: auto; bottom: 13px; padding: 8px 10px; font-size: 7px; }
  .how-dialog-photo-index { left: 13px; }
  .how-dialog-photo-tag { right: 13px; }
  .how-dialog-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .how-stage-dialog[open], .how-dialog-page.is-active .how-dialog-topline,
  .how-dialog-page.is-active .how-dialog-title, .how-dialog-page.is-active .how-dialog-summary,
  .how-dialog-page.is-active .how-dialog-detail, .how-dialog-page.is-active .how-dialog-nav { animation: none; }
  .how-dialog-track { scroll-behavior: auto; }
  .how-dialog-photo img { transform: none !important; transition: none; }
}
