.process-hero {
  padding-top: clamp(4.8rem, 9vw, 9rem);
  padding-bottom: 2.6rem;
}

.process-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
  gap: clamp(1.1rem, 3vw, 2.4rem);
  align-items: start;
}

.process-hero .section-head h1 {
  max-width: 13ch;
}

:where(
    .hero-chips span,
    .hero-visual,
    .hero-flow-list article,
    .step-card,
    .pipeline-node,
    .role-card,
    .rhythm-grid article
  ) {
  border-color: rgba(36, 65, 109, 0.3);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(226, 238, 252, 0.34));
  box-shadow:
    0 18px 32px rgba(18, 31, 53, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(142%);
  -webkit-backdrop-filter: blur(16px) saturate(142%);
  position: relative;
  overflow: hidden;
}

:where(
    .hero-visual,
    .hero-flow-list article,
    .step-card,
    .pipeline-node,
    .role-card,
    .rhythm-grid article
  )::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 0;
}

:where(
    .hero-visual *,
    .hero-flow-list article *,
    .step-card *,
    .pipeline-node *,
    .role-card *,
    .rhythm-grid article *
  ) {
  position: relative;
  z-index: 1;
}

.hero-chips {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-chips span {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(37, 57, 89, 0.24);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(227, 239, 252, 0.4));
  color: #2f4f7b;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.35rem 0.66rem;
  backdrop-filter: blur(10px) saturate(132%);
  -webkit-backdrop-filter: blur(10px) saturate(132%);
}

.hero-visual {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(34, 53, 83, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(226, 239, 252, 0.4));
  box-shadow:
    0 20px 34px rgba(20, 33, 54, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(138%);
  -webkit-backdrop-filter: blur(16px) saturate(138%);
  padding: 1rem;
}

.hero-visual-title {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #3b5b85;
  font-weight: 700;
}

.hero-flow-list {
  margin-top: 0.68rem;
  display: grid;
  gap: 0.5rem;
}

.hero-flow-list article {
  border-radius: 12px;
  border: 1px solid rgba(39, 57, 88, 0.2);
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  padding: 0.62rem;
}

.hero-flow-list strong {
  font-size: 0.9rem;
  color: #1c3559;
}

.hero-flow-list p {
  margin-top: 0.24rem;
  color: #5b6c82;
  font-size: 0.83rem;
}

.works-steps {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.steps-grid {
  margin-top: 1rem;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.steps-grid::before {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  top: 1.6rem;
  height: 1px;
  background: rgba(40, 62, 96, 0.2);
  z-index: 0;
}

.steps-grid::after {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: 0;
  width: 27%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(29, 63, 109, 0), rgba(29, 63, 109, 0.9), rgba(29, 63, 109, 0));
  animation: stepPulse 4.8s ease-in-out infinite;
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(38, 64, 105, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(228, 240, 252, 0.36));
  box-shadow:
    0 20px 34px rgba(20, 33, 53, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px) saturate(136%);
  -webkit-backdrop-filter: blur(14px) saturate(136%);
  padding: 1.05rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.step-card::after {
  content: "";
  position: absolute;
  left: -36%;
  bottom: 0;
  width: 36%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(29, 63, 109, 0), rgba(29, 63, 109, 0.85), rgba(29, 63, 109, 0));
  animation: stepSweep 3.8s ease-in-out infinite;
}

.step-card:nth-child(2)::after {
  animation-delay: 0.45s;
}

.step-card:nth-child(3)::after {
  animation-delay: 0.9s;
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 57, 95, 0.26);
  box-shadow: 0 14px 24px rgba(22, 35, 54, 0.12);
}

.step-card h3 {
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  color: #213a5f;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  border: 1px solid rgba(40, 60, 93, 0.26);
  background: rgba(255, 255, 255, 0.58);
  color: #2b4a74;
  font-size: 0.76rem;
  font-weight: 700;
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
}

.step-card p {
  margin-top: 0.42rem;
  color: var(--muted);
}

.pipeline {
  padding-top: 1.2rem;
  padding-bottom: 2.2rem;
}

.section-head.compact h2 {
  max-width: 18ch;
}

.pipeline-track {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.58rem;
}

.pipeline-node {
  border-radius: 14px;
  border: 1px solid rgba(37, 57, 89, 0.24);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(228, 240, 252, 0.34));
  box-shadow:
    0 18px 32px rgba(19, 31, 52, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(14px) saturate(136%);
  -webkit-backdrop-filter: blur(14px) saturate(136%);
  padding: 0.72rem;
  position: relative;
}

.pipeline-node::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.5rem;
  width: 1rem;
  height: 1px;
  background: rgba(58, 81, 114, 0.34);
}

.pipeline-node:last-child::after {
  display: none;
}

.pipeline-node strong {
  display: grid;
  font-size: 0.88rem;
  color: #1f3659;
}

.pipeline-node p {
  margin-top: 0.3rem;
  color: #5a6b81;
  font-size: 0.8rem;
}

.role-views {
  padding-top: 2.4rem;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.role-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(34, 52, 81, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(226, 238, 252, 0.38));
  box-shadow:
    0 20px 34px rgba(18, 30, 50, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px) saturate(136%);
  -webkit-backdrop-filter: blur(15px) saturate(136%);
  padding: 1.2rem;
}

.role-card h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

.role-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: #40526b;
  display: grid;
  gap: 0.46rem;
}

.weekly-rhythm {
  padding-top: 2.4rem;
}

.rhythm-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.78rem;
}

.rhythm-grid article {
  border-radius: var(--radius-md);
  border: 1px solid rgba(38, 56, 88, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(227, 238, 252, 0.34));
  box-shadow:
    0 18px 30px rgba(20, 31, 50, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(13px) saturate(130%);
  -webkit-backdrop-filter: blur(13px) saturate(130%);
  padding: 0.95rem;
}

.rhythm-grid h3 {
  font-size: 1.05rem;
}

.rhythm-grid p {
  margin-top: 0.4rem;
  color: var(--muted);
}

@keyframes stepPulse {
  0% {
    transform: translateX(-12%);
    opacity: 0.12;
  }

  50% {
    transform: translateX(145%);
    opacity: 0.9;
  }

  100% {
    transform: translateX(272%);
    opacity: 0.12;
  }
}

@keyframes stepSweep {
  0% {
    transform: translateX(0);
    opacity: 0.08;
  }

  45% {
    transform: translateX(310%);
    opacity: 0.88;
  }

  100% {
    transform: translateX(370%);
    opacity: 0.08;
  }
}

@media (max-width: 980px) {
  .process-hero-grid,
  .steps-grid,
  .pipeline-track,
  .role-grid,
  .rhythm-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid::before,
  .steps-grid::after {
    display: none;
  }

  .pipeline-node::after {
    display: none;
  }
}
