.how-we-work {
  background: white;
}
.how-we-work .section-heading {
  gap: 35px;
}
.work-heading-aside p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
}
.work-process-line {
  height: 25px;
  position: relative;
  margin: 0 12% 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.work-process-line:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #c9d8e5;
}
.work-process-line > span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #638aaa, transparent);
  background-size: 40% 100%;
  background-repeat: no-repeat;
  animation: process-flow 8s linear infinite;
}
.work-process-line i {
  display: block;
  width: 8px;
  height: 8px;
  border: 1px solid #7e9bb3;
  border-radius: 50%;
  background: white;
  position: relative;
  box-shadow: 0 0 0 6px white;
}
.work-stage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.work-stage {
  padding: 26px 22px;
  border: 1px solid #d9e3ec;
  background: #f9fbfc;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition:
    transform 0.35s,
    box-shadow 0.35s,
    border-color 0.35s;
}
.work-stage:hover {
  transform: translateY(-5px);
  border-color: #9bb7cc;
  box-shadow: 0 16px 36px #0823410b;
}
.work-stage-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.work-number {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #6b879e;
}
.work-stage-icon {
  color: #335f83;
  font-size: 25px;
  transition: transform 0.5s;
}
.work-stage:hover .work-stage-icon {
  transform: rotate(20deg);
}
.work-stage h3 {
  font-family: Manrope, Arial, sans-serif;
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -0.6px;
  line-height: 1.4;
}
.work-stage > p {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
  margin: 15px 0 25px;
  min-height: 134px;
}
.work-deliverables-label {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: var(--blue);
  font-weight: 650;
  padding-top: 20px;
  border-top: 1px solid #d8e2eb;
}
.work-stage ul {
  padding: 0;
  list-style: none;
  margin: 17px 0 28px;
}
.work-stage li {
  font-size: 11px;
  line-height: 1.8;
  color: #3f5c74;
  padding-left: 12px;
  margin-bottom: 12px;
  position: relative;
}
.work-stage li:before {
  content: '+';
  position: absolute;
  left: 0;
  color: #527b9d;
}
.work-stage > a {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--blue);
  font-weight: 600;
  border-top: 1px solid #d8e2eb;
  padding-top: 18px;
}
.work-stage > a span {
  font-size: 18px;
}
.work-agreement {
  margin-top: 35px;
  display: flex;
  gap: 35px;
  align-items: start;
  background: #edf3f7;
  padding: 25px 28px;
}
.work-agreement > .eyebrow {
  font-size: 8px;
  min-width: 210px;
  line-height: 1.9;
  color: #456b8b;
}
.work-agreement > p {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 700px;
}
.work-hero {
  background: radial-gradient(ellipse at 90% 0%, #dce7ef, transparent 65%);
  padding-top: 65px;
  padding-bottom: 60px;
}
.work-hero > .eyebrow {
  color: var(--blue);
  margin-bottom: 30px;
}
.work-hero h1 {
  font-size: clamp(40px, 4.8vw, 70px);
  white-space: normal;
  line-height: 1.15;
  letter-spacing: -2.4px;
  animation: hero-arrive 0.8s ease both;
}
.work-hero > p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 28px;
}
.work-stage-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.work-stage-links a {
  font-size: 12px;
  border-bottom: 1px solid #a7bfd1;
  padding-bottom: 10px;
  display: flex;
  gap: 15px;
  color: var(--blue);
}
.work-stage-links a > span {
  font-size: 9px;
  color: #6b879e;
}
.work-detail-list {
  background: white;
  padding-top: 35px;
}
.work-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  padding: 60px 0;
  border-bottom: 1px solid #d7e1ea;
  scroll-margin-top: 30px;
}
.work-detail-heading > .eyebrow {
  color: var(--blue);
  margin-bottom: 25px;
}
.work-detail-heading h2 {
  font-size: 40px;
  letter-spacing: -1.5px;
  margin-bottom: 25px;
}
.work-detail-heading p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 460px;
}
.work-detail-output > h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}
.work-detail-output > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.work-detail-output > ul li {
  padding: 16px 0 16px 20px;
  border-top: 1px solid #d9e3eb;
  font-size: 13px;
  color: #3c5871;
  line-height: 1.8;
  position: relative;
}
.work-detail-output > ul li:before {
  content: '+';
  position: absolute;
  left: 0;
  color: #587e9e;
}
.work-checkpoint {
  padding: 23px;
  background: #edf3f7;
  margin-top: 25px;
  border-left: 2px solid #8baac2;
}
.work-checkpoint .eyebrow {
  font-size: 8px;
  color: #4c7393;
}
.work-checkpoint p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 12px;
}
.ai-visual-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 15px;
}
.ai-visual-controls button {
  border: 1px solid #b9cddc;
  padding: 10px 13px;
  background: #f5f9fc;
  color: #284f70;
  font-size: 10px;
  cursor: pointer;
}
.ai-visual-controls a {
  font-size: 10px;
  color: var(--blue);
}
.ai-learning-figure .ai-image-expand {
  background: #082341e8;
}
.ai-learning-figure > .ai-new-visual {
  background: #071a2f;
  border-color: #203c57;
}
.ai-new-visual img {
  transform: none !important;
}
.ai-learning-figure .ai-new-caption {
  font-size: 9px;
  line-height: 1.8;
}
.work-process-line[aria-hidden] {
  pointer-events: none;
}
@keyframes process-flow {
  from {
    background-position: -60% 0;
  }
  to {
    background-position: 160% 0;
  }
}
@media (max-width: 1100px) {
  .work-stage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .work-stage > p {
    min-height: 67px;
  }
  .work-process-line {
    display: none;
  }
  .work-stage h3 {
    font-size: 23px;
  }
  .work-stage li {
    font-size: 12px;
  }
}
@media (max-width: 700px) {
  .work-stage-grid {
    grid-template-columns: 1fr;
  }
  .work-stage {
    padding: 25px;
  }
  .work-stage > p {
    min-height: 0;
    font-size: 13px;
  }
  .work-stage-top {
    margin-bottom: 22px;
  }
  .work-stage li {
    font-size: 12px;
  }
  .work-heading-aside {
    margin-top: 25px;
  }
  .work-agreement {
    display: block;
    padding: 23px;
  }
  .work-agreement > p {
    margin-top: 12px;
  }
  .work-hero {
    padding-top: 45px;
    padding-bottom: 45px;
  }
  .work-hero h1 {
    font-size: 39px;
    letter-spacing: -1.7px;
  }
  .work-hero > p {
    font-size: 14px;
  }
  .work-stage-links {
    gap: 20px 25px;
  }
  .work-stage-links a {
    font-size: 11px;
  }
  .work-detail {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0;
  }
  .work-detail-heading h2 {
    font-size: 33px;
  }
  .work-detail-heading p {
    font-size: 14px;
  }
  .work-detail-output > ul li {
    font-size: 12px;
  }
  .ai-visual-controls {
    align-items: start;
  }
  .ai-visual-controls a {
    font-size: 9px;
    line-height: 1.7;
  }
}
@media (prefers-reduced-motion: reduce) {
  .work-process-line > span,
  .work-hero h1 {
    animation: none;
  }
  .work-stage,
  .work-stage-icon {
    transition: none;
  }
  .work-stage:hover,
  .work-stage:hover .work-stage-icon {
    transform: none;
  }
}
