









.s-process {
  
  --color-accent: var(--brand-teal);
  --color-accent-hover: color-mix(in srgb, var(--color-accent) 86%, #000);
  --color-accent-soft: color-mix(in srgb, var(--color-accent) 14%, transparent);
  --color-accent-border: color-mix(in srgb, var(--color-accent) 40%, transparent);
  --color-on-accent: var(--dark-bg);
  --focus-ring: 0 0 0 4px color-mix(in srgb, var(--color-accent) 30%, transparent);
  
  --color-bg: var(--dark-bg);
  --color-bg-subtle: color-mix(in srgb, #fff 6%, var(--dark-bg));
  --color-surface: color-mix(in srgb, #fff 4%, var(--dark-bg));
  --color-text: #f2f2f2;
  --color-text-muted: #b8b8b8;
  --color-text-subtle: #8c8c8c;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-border-strong: rgba(255, 255, 255, 0.24);
  --border: 1px solid var(--color-border);
  --shadow-xs: none;
  --shadow-sm: none;

  
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: clamp(28px, 3vw, 56px);
  scroll-margin-top: 0; 
  background: var(--dark-bg);
  color: var(--color-text);
  overflow-x: clip; 
}


.s-process__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: calc(var(--wide-max) + var(--wide-pad) * 2);
  margin-inline: auto;
  padding-inline: var(--wide-pad);
}




.s-process__stage {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  gap: 24px;
}
@media (min-width: 768px) {
  .s-process__stage {
    gap: 16px;
  }
}




.s-process__head {
  position: relative;
  z-index: 6; 
  pointer-events: none;
  

  padding-bottom: clamp(24px, calc(50svh - 300px), 150px);
}
.s-process__eyebrow {
  margin-bottom: 16px;
  font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.125rem); 
}
.s-process__title {
  min-height: 1.08em; 
  perspective: 600px; 
}
.s-process__title-char {
  display: inline-block;
  transform-origin: 50% 100%;
}
.s-process__lead {
  min-height: 3.2em; 
}
@media (min-width: 768px) {
  .s-process__lead {
    min-height: 1.6em;
  }
}







@media (min-width: 1024px) {
  .s-process.is-fit .s-process__inner {
    position: relative;
  }
  .s-process.is-fit .s-process__stage {
    position: absolute;
    left: 50%;
    top: 50%;
    flex: none;
    width: 1360px;
    height: 814px;
    transform: translate(-50%, -50%) scale(var(--fit, 1));
  }
  .s-process.is-fit .s-process__head {
    padding-bottom: 150px;
  }
  .s-process.is-fit .s-process__title {
    font-size: 64px; 
  }
  .s-process.is-fit .s-process__lead {
    font-size: 18.8px; 
  }
}





.s-process__arena {
  --bowl: clamp(196px, 32vw, 480px);
  --ing: clamp(60px, 9.7vw, 140px);
  --dy: calc(var(--bowl) * 20 / 420);

  position: relative;
  flex: none;
  height: var(--arena-h, clamp(320px, 60vh, 620px)); 
  
}

.s-process__glow,
.s-process__bowl,
.s-process__zone,
.s-process__ring {
  position: absolute;
  pointer-events: none;
}
.s-process__glow {
  --size: calc(var(--bowl) * 500 / 420);
  left: calc(50% - var(--size) / 2);
  top: calc(var(--cy, 50%) + var(--dy) * 2 - var(--size) / 2);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-accent) 16%, transparent), transparent 68%);
}


.s-process__bowl {
  z-index: 3; 
  left: calc(50% - var(--bowl) / 2);
  top: calc(var(--cy, 50%) + var(--dy) - var(--bowl) / 2);
  width: var(--bowl);
  height: var(--bowl);
  transform-origin: 50% 80%;
}
.s-process__bowl-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  user-select: none;
  -webkit-user-drag: none;
}
.s-process__bowl-img:last-child {
  opacity: 1;
}
.s-process.is-ready .s-process__bowl-img:last-child {
  opacity: 0;
}
.s-process.is-ready .s-process__bowl-img:first-child {
  opacity: 1;
}

.s-process__egg {
  position: absolute;
  left: 27.41%;
  top: 29.54%;
  width: 47.31%;
  height: auto;
  opacity: 0;
  visibility: hidden;
  transform-origin: 50% 70%;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}


.s-process__zone,
.s-process__ring {
  z-index: 4;
  left: calc(50% - var(--w) / 2);
  top: calc(var(--cy, 50%) + var(--dy) / 2 - var(--h) / 2);
  width: var(--w);
  height: var(--h);
  border-radius: 50%;
}
.s-process__zone {
  --w: calc(var(--bowl) * 200 / 420);
  --h: calc(var(--bowl) * 160 / 420);
}
.s-process__ring {
  --w: calc(var(--bowl) * 240 / 420);
  --h: calc(var(--bowl) * 200 / 420);
  border: 2px solid color-mix(in srgb, var(--color-accent) 80%, transparent);
  opacity: 0;
}


.s-process__orb {
  position: absolute;
  z-index: 1;
  left: calc(50% - var(--ing) / 2);
  top: calc(var(--cy, 50%) - var(--ing) * 121 / 140 / 2); 
  width: var(--ing);
  display: none; 
}
.s-process.is-ready .s-process__orb {
  display: block;
}
.s-process__ing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  border-radius: var(--radius-md);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.s-process__ing:active {
  cursor: grabbing;
}
.s-process__ing:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}







.s-process__ing-label {
  visibility: hidden;
  color: var(--color-accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  white-space: nowrap;
}
.s-process__ing.is-next .s-process__ing-label {
  visibility: visible;
}
.s-process__ing-cue {
  --chev: calc(var(--ing) * 0.15 + 6px); 
  position: absolute;
  left: 50%;
  top: calc(var(--ing) * 121 / 140 / 2); 
  width: 0;
  height: 0;
  rotate: var(--cue-angle, 90deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) ease;
}
.s-process__ing.is-next .s-process__ing-cue {
  opacity: 1;
}
.s-process__ing-cue i {
  position: absolute;
  top: calc(var(--chev) / -2);
  left: calc(var(--ing) * 0.46 + var(--n) * var(--chev) * 0.75);
  width: var(--chev);
  height: var(--chev);
  border-top: 3px solid var(--color-accent);
  border-right: 3px solid var(--color-accent);
  border-radius: 2px;
  rotate: 45deg; 
  opacity: 0.25;
  animation: process-cue 1.2s ease-in-out infinite;
  animation-delay: calc(var(--n) * 0.15s);
}
.s-process__ing-cue i:nth-child(1) {
  --n: 0;
}
.s-process__ing-cue i:nth-child(2) {
  --n: 1;
}
.s-process__ing-cue i:nth-child(3) {
  --n: 2;
}
@keyframes process-cue {
  0%,
  100% {
    opacity: 0.25;
    translate: 0 0;
  }
  40% {
    opacity: 1;
    translate: 5px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .s-process__ing-cue i {
    animation: none;
    opacity: calc(0.4 + var(--n) * 0.3); 
  }
}
.s-process__ing img {
  width: 100%;
  height: auto; 
  aspect-ratio: 140 / 121;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}


.s-process__particle {
  position: absolute;
  z-index: 20;
  border-radius: 50%;
  pointer-events: none;
}


.s-process__toast-wrap {
  position: absolute;
  top: calc(var(--cy, 50%) - var(--bowl) * 240 / 420);
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.s-process__toast {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-text);
  color: var(--color-bg);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
}





.s-process__foot {
  position: relative;
  z-index: 6;
  display: grid;
  justify-items: center;
  row-gap: 20px;
}
.s-process__dots,
.s-process__finish,
.s-process__chips {
  grid-area: 1 / 1;
  align-self: center;
}

.s-process__finish {
  display: none;
}
.s-process.is-ready .s-process__finish {
  display: inline-flex;
  visibility: hidden;
  opacity: 0;
}
.s-process__dots {
  display: none; 
  gap: 10px;
}
.s-process.is-ready .s-process__dots {
  display: flex;
}
.s-process__dot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
  color: var(--color-text-subtle);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  font-variant-numeric: tabular-nums;
  transition: background-color var(--duration-base) ease, border-color var(--duration-base) ease,
    color var(--duration-base) ease;
}
.s-process__dot.is-filled {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-on-accent);
}
.s-process__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.s-process.is-ready .s-process__chips {
  visibility: hidden; 
}
.s-process__chip.badge {
  height: auto;
  padding: 10px 16px;
  color: var(--color-text);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-transform: none;
  white-space: normal;
}
.s-process__chip b {
  margin-right: 8px;
  color: var(--color-accent);
  font-weight: var(--fw-bold);
}

@media (min-width: 768px) {
  .s-process__foot {
    grid-template-columns: minmax(0, 1fr);
    min-height: 52px;
  }
}

@media (max-width: 767px) {
  
  .s-process.is-ready:not(.is-complete) .s-process__chips {
    display: none;
  }
  .s-process.is-complete .s-process__dots {
    display: none;
  }
  .s-process__ing-label {
    display: none; 
  }
  .s-process__toast {
    padding: 8px 14px;
    font-size: var(--fs-xs);
  }
  .s-process__dot {
    width: 40px;
    height: 40px;
  }
  .s-process__chip.badge {
    padding: 8px 12px;
    font-size: var(--fs-xs);
  }
}
