/* =========================
   ED CONTROLS — PROJECT OVERVIEW
   ========================= */

.project-ed {
  background: var(--cs-cream);
  color: var(--cs-ink);
  font-family: "Satoshi", system-ui, sans-serif;

  /* =========================
     ED CONTROLS — DESIGN TOKENS
     One responsive scale used throughout the case study.
     ========================= */

  /* Typography */
  --ed-text-xs: clamp(12px, 0.75vw, 14px);
  --ed-text-sm: clamp(14px, 0.9vw, 16px);
  --ed-text-md: clamp(16px, 1vw, 18px);
  --ed-text-lg: clamp(18px, 1.25vw, 22px);

  --ed-heading-sm: clamp(20px, 1.6vw, 26px);
  --ed-heading-md: clamp(26px, 2.3vw, 36px);
  --ed-heading-lg: clamp(34px, 3.5vw, 52px);

  --ed-display: clamp(48px, 5vw, 76px);
  --ed-number: clamp(52px, 6vw, 84px);
  --ed-phase-number: clamp(40px, 4vw, 60px);
  --ed-label-size: clamp(13px, 0.9vw, 16px);

  /* Line heights */
  --ed-line-tight: 1.12;
  --ed-line-heading: 1.2;
  --ed-line-body: 1.45;

  /* Spacing */
  --ed-space-xs: clamp(8px, 1vw, 12px);
  --ed-space-sm: clamp(16px, 2vw, 24px);
  --ed-space-md: clamp(28px, 4vw, 48px);
  --ed-space-lg: clamp(48px, 6vw, 80px);
  --ed-space-xl: clamp(72px, 9vw, 120px);
}

.project-ed main {
  background: var(--cs-cream);
}

.project-ed .ed-overview-section {
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(44px, 7vw, 110px);
}

.project-ed .ed-label {
  margin: 0 0 clamp(28px, 4vw, 56px);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 800;
  font-size: var(--ed-label-size);
  color: #0b1b34;
}

.project-ed .ed-overview-title {
  max-width: 1120px;
  margin: 0;
  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 600;
  font-size: var(--ed-heading-lg);
  line-height: var(--ed-line-heading);
  letter-spacing: -0.035em;
  color: #0b1b34;
}

.project-ed .ed-overview-title span,
.project-ed .ed-overview-goal span {
  color: #2f8cff;
  font-weight: 800;
}

.project-ed .ed-overview-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
  margin-top: clamp(56px, 8vw, 110px);
}

.project-ed .ed-overview-image {
  margin: 0;
  width: 100%;
}

.project-ed .ed-overview-image img {
  display: block;
  width: 100%;
  height: auto;
}

.project-ed .ed-overview-copy {
  max-width: 720px;
  margin: 0;
  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 600;
  font-size: var(--ed-text-lg);
  line-height: var(--ed-line-body);
  letter-spacing: -0.035em;
  color: #0b1b34;
}

.project-ed .ed-overview-goal {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  margin-inline: auto;
  margin-top: clamp(64px, 9vw, 130px);
}

.project-ed .ed-overview-goal-icon {
  margin: 0;
}

.project-ed .ed-overview-goal-icon img {
  width: clamp(72px, 9vw, 120px);
  height: auto;
  display: block;
}

.project-ed .ed-overview-goal p {
  margin: 0;
  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 700;
  font-size: var(--ed-heading-lg);
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: #0b1b34;
}

/* Responsive */
@media (max-width: 900px) {
  .project-ed .ed-overview-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 48px;
  }

  .project-ed .ed-overview-goal {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 56px;
  }
}

@media (max-width: 520px) {
  .project-ed .ed-overview-section {
    padding-top: 34px;
    padding-bottom: 60px;
  }

  .project-ed .ed-label {
    margin-bottom: 26px;
  }

  .project-ed .ed-overview-title {
    font-size: var(--ed-heading-lg);
  }

  .project-ed .ed-overview-copy {
    font-size: var(--ed-text-lg);
  }

  .project-ed .ed-overview-goal p {
    font-size: var(--ed-heading-lg);
  }
}

/* =========================
   ED CONTROLS — DESIGN PROCESS
   Responsive pinned scroll story
   ========================= */

.project-ed .ed-process-story {
  position: relative;

  min-height: 440vh;

  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: 0;
}


/* =========================
   STICKY SECTION LABEL
   ========================= */

.project-ed .ed-process-story > .ed-label {
  position: sticky;

  top: calc(
    var(--visible-header-h, var(--header-h, 64px))
    + 20px
  );

  z-index: 5;

  margin-bottom: 0;

  opacity: 1;
  transform: translateY(0);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    top 0.25s ease;
}

.project-ed
.ed-process-story.is-process-complete
> .ed-label {
  opacity: 0;

  transform: translateY(-12px);

  pointer-events: none;
}


/* =========================
   STICKY VIEWPORT
   ========================= */

.project-ed .ed-process-sticky {
  position: sticky;
  top: 0;

  height: 100svh;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}


/* =========================
   DESKTOP CANVAS
   ========================= */

.project-ed .ed-process-canvas {
  position: relative;

  width: min(
    1407px,
    calc(100vw - (var(--g) * 2))
  );

  aspect-ratio: 1407 / 664;

  margin-inline: auto;
}


/* =========================
   DESKTOP SVG ARCS
   ========================= */

.project-ed .ed-process-arcs {
  position: absolute;

  left: 0;
  top: 0;

  width: 100%;
  height: 68%;

  overflow: visible;

  pointer-events: none;

  z-index: 1;
}

.project-ed .ed-process-arc {
  fill: none;

  stroke: url(#edArcGradient);

  stroke-width: 5;
  stroke-linecap: butt;

  stroke-dasharray: 3 7;

  opacity: 0;

  stroke-dashoffset: 1200;

  transition:
    opacity 0.35s ease,
    stroke-dashoffset 0.9s cubic-bezier(.2,.75,.2,1);
}

.project-ed .ed-process-arc.is-visible {
  opacity: 1;

  stroke-dashoffset: 0;
}


/* =========================
   DESKTOP STEPS AREA
   ========================= */

.project-ed .ed-process-steps {
  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 32%;

  z-index: 2;
}


/* =========================
   DESKTOP STEP
   ========================= */

.project-ed .ed-process-step {
  position: absolute;

  bottom: 0;

  width: clamp(130px, 16vw, 270px);

  transform:
    translateX(-50%)
    translateY(24px);

  display: flex;
  flex-direction: column;

  align-items: center;

  gap: clamp(10px, 1.5vw, 20px);

  text-align: center;

  opacity: 0;

  transition:
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(.2,.75,.2,1);
}


/* Desktop x positions */

.project-ed .ed-process-step:nth-child(1) {
  left: 8.42%;
}

.project-ed .ed-process-step:nth-child(2) {
  left: 28.11%;
}

.project-ed .ed-process-step:nth-child(3) {
  left: 49.61%;
}

.project-ed .ed-process-step:nth-child(4) {
  left: 70.01%;
}

.project-ed .ed-process-step:nth-child(5) {
  left: 91.58%;
}


/* Visible state */

.project-ed .ed-process-step.is-visible,
.project-ed .ed-process-step--active {
  opacity: 1;

  transform:
    translateX(-50%)
    translateY(0);
}


/* =========================
   DESKTOP ICON
   ========================= */

.project-ed .ed-process-icon {
  width: clamp(52px, 5.4vw, 75px);
  height: clamp(52px, 5.4vw, 75px);

  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(227, 220, 215, 0.28);
}

.project-ed .ed-process-icon img {
  width: clamp(24px, 2.4vw, 34px);
  height: clamp(24px, 2.4vw, 34px);

  object-fit: contain;
}


/* Desktop does not need vertical connector */

.project-ed .ed-process-mobile-line {
  display: none;
}


/* =========================
   DESKTOP TEXT
   ========================= */

.project-ed .ed-process-step h3 {
  margin: 0;

  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 500;

  font-size: var(--ed-heading-sm);
  line-height: 1.05;

  letter-spacing: -0.04em;

  color: #0b1b34;
}

.project-ed .ed-process-step p {
  max-width: 270px;

  margin: 0;

  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 400;

  font-size: var(--ed-text-sm);
  line-height: 1.35;

  color: #0b1b34;
}


/* =========================================================
   TABLET / SMALL LAPTOP
   Vertical layout
   Larger spacing between steps
   ========================================================= */

@media (max-width: 1100px) {

  .project-ed .ed-process-story {
    min-height: 440vh;

    padding-top: 32px;
    padding-bottom: 0;
  }


  /* =========================
     LABEL
     ========================= */

  .project-ed .ed-process-story > .ed-label {
    position: sticky;

    top: calc(
      var(--visible-header-h, var(--header-h, 64px))
      + 14px
    );

    z-index: 10;

    margin: 0;

    opacity: 1;

    transform: translateY(0);

    transition:
      opacity 0.35s ease,
      transform 0.35s ease,
      top 0.25s ease;
  }

  .project-ed
  .ed-process-story.is-process-complete
  > .ed-label {
    opacity: 0;

    transform: translateY(-10px);

    pointer-events: none;
  }


  /* =========================
     STICKY VIEWPORT
     ========================= */

  .project-ed .ed-process-sticky {
    position: sticky;
    top: 0;

    width: 100%;
    height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding-top:
      calc(
        var(--visible-header-h, var(--header-h, 64px))
        + 72px
      );

    padding-bottom: 24px;

    box-sizing: border-box;

    overflow: hidden;
  }


  /* =========================
     VERTICAL CANVAS
     ========================= */

  .project-ed .ed-process-canvas {
    position: relative;

    width: 100%;
    height: auto;

    max-height: 100%;

    margin: 0;

    aspect-ratio: auto;

    transform: none;

    display: flex;
    align-items: center;
  }


  /* Remove desktop arcs */

  .project-ed .ed-process-arcs {
    display: none;
  }


  /* =========================
     VERTICAL STEPS
     ========================= */

  .project-ed .ed-process-steps {
    position: static;

    width: 100%;
    height: auto;

    display: flex;
    flex-direction: column;

    gap: clamp(38px, 5.2vh, 56px);

    transform: none;
  }


  /* =========================
     INDIVIDUAL STEP
     ========================= */

  .project-ed .ed-process-step {
    position: static;

    left: auto;
    bottom: auto;

    width: 100%;

    display: grid;

    grid-template-columns:
      64px
      minmax(0, 1fr);

    grid-template-rows:
      auto
      auto;

    column-gap: clamp(22px, 4vw, 36px);

    row-gap: 5px;

    align-items: center;

    padding: 0;

    text-align: left;

    opacity: 0;

    transform: translateY(16px);

    pointer-events: none;

    transition:
      opacity 0.45s ease,
      transform 0.55s cubic-bezier(.2,.75,.2,1);
  }

  .project-ed .ed-process-step.is-visible,
  .project-ed .ed-process-step--active {
    opacity: 1;

    transform: translateY(0);

    pointer-events: auto;
  }


  /* =========================
     STEP MEDIA
     ========================= */

  .project-ed .ed-process-step-media {
    grid-column: 1;
    grid-row: 1 / span 2;

    align-self: stretch;

    display: flex;
    flex-direction: column;

    align-items: center;
  }


  /* =========================
     ICON
     ========================= */

  .project-ed .ed-process-icon {
    flex: 0 0 auto;

    width: 64px;
    height: 64px;

    border-radius: 999px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(227, 220, 215, 0.28);

    z-index: 2;
  }

  .project-ed .ed-process-icon img {
    width: 28px;
    height: 28px;

    object-fit: contain;
  }


  /* =========================
     VERTICAL CONNECTOR
     ========================= */

  .project-ed .ed-process-mobile-line {
    display: block;

    flex: 1 1 auto;

    width: 4px;

    min-height: 34px;
    max-height: 52px;

    margin-top: 10px;

    background-image:
      linear-gradient(
        to bottom,
        #006BF5 0 48%,
        transparent 48% 100%
      );

    background-size: 4px 9px;

    background-repeat: repeat-y;

    border-radius: 999px;

    opacity: 0;

    transform: scaleY(0);

    transform-origin: top;

    transition:
      opacity 0.35s ease,
      transform 0.55s cubic-bezier(.2,.75,.2,1);
  }

  .project-ed
  .ed-process-mobile-line.is-visible {
    opacity: 1;

    transform: scaleY(1);
  }


  /* =========================
     HEADING
     ========================= */

  .project-ed .ed-process-step h3 {
    grid-column: 2;
    grid-row: 1;

    align-self: end;

    margin: 0;

    font-family: "Satoshi", system-ui, sans-serif;
    font-weight: 500;

    font-size: clamp(19px, 2.3vw, 24px);
    line-height: 1.1;

    letter-spacing: -0.035em;

    color: #0b1b34;
  }


  /* =========================
     DESCRIPTION
     ========================= */

  .project-ed .ed-process-step p {
    grid-column: 2;
    grid-row: 2;

    align-self: start;

    width: 100%;
    max-width: 680px;

    margin: 0;

    font-family: "Satoshi", system-ui, sans-serif;
    font-weight: 400;

    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.35;

    color: #0b1b34;
  }
}


/* =========================================================
   SHORT TABLET / SMALL LAPTOP
   Larger than before, but still safe for short screens
   ========================================================= */

@media (max-width: 1100px) and (max-height: 760px) {

  .project-ed .ed-process-sticky {
    padding-top:
      calc(
        var(--visible-header-h, var(--header-h, 64px))
        + 58px
      );

    padding-bottom: 16px;
  }

  .project-ed .ed-process-steps {
    gap: 28px;
  }

  .project-ed .ed-process-step {
    grid-template-columns:
      56px
      minmax(0, 1fr);

    column-gap: 18px;

    row-gap: 3px;
  }

  .project-ed .ed-process-icon {
    width: 56px;
    height: 56px;
  }

  .project-ed .ed-process-icon img {
    width: 25px;
    height: 25px;
  }

  .project-ed .ed-process-mobile-line {
    min-height: 22px;
    max-height: 32px;

    margin-top: 7px;
  }

  .project-ed .ed-process-step h3 {
    font-size: 18px;

    line-height: 1.1;
  }

  .project-ed .ed-process-step p {
    font-size: 13px;

    line-height: 1.3;
  }
}


/* =========================================================
   MOBILE
   Bigger gap + much clearer connector lines
   ========================================================= */

@media (max-width: 600px) {

  .project-ed .ed-process-story {
    min-height: 460vh;

    padding-top: 26px;
  }


  /* Give label/header enough room */

  .project-ed .ed-process-sticky {
    padding-top:
      calc(
        var(--visible-header-h, var(--header-h, 64px))
        + 54px
      );

    padding-bottom: 14px;
  }


  /* Bigger spacing between process steps */

  .project-ed .ed-process-steps {
    gap: clamp(30px, 4.8vh, 42px);
  }


  /* Step */

  .project-ed .ed-process-step {
    grid-template-columns:
      52px
      minmax(0, 1fr);

    column-gap: 18px;
    row-gap: 3px;

    padding: 0;
  }


  /* Icon */

  .project-ed .ed-process-icon {
    width: 52px;
    height: 52px;
  }

  .project-ed .ed-process-icon img {
    width: 24px;
    height: 24px;
  }


  /* Connecting line */

  .project-ed .ed-process-mobile-line {
    width: 4px;

    min-height: 26px;
    max-height: 38px;

    margin-top: 8px;

    background-size: 4px 8px;
  }


  /* Heading */

  .project-ed .ed-process-step h3 {
    font-size: 17px;

    line-height: 1.1;
  }


  /* Description */

  .project-ed .ed-process-step p {
    font-size: 13px;

    line-height: 1.3;
  }
}


/* =========================================================
   VERY SMALL / SHORT MOBILE
   Still noticeably more separated
   ========================================================= */

@media (max-width: 420px),
       (max-width: 600px) and (max-height: 680px) {

  .project-ed .ed-process-sticky {
    padding-top:
      calc(
        var(--visible-header-h, var(--header-h, 64px))
        + 46px
      );

    padding-bottom: 10px;
  }

  .project-ed .ed-process-steps {
    gap: 22px;
  }

  .project-ed .ed-process-step {
    grid-template-columns:
      46px
      minmax(0, 1fr);

    column-gap: 15px;

    row-gap: 2px;
  }

  .project-ed .ed-process-icon {
    width: 46px;
    height: 46px;
  }

  .project-ed .ed-process-icon img {
    width: 21px;
    height: 21px;
  }

  .project-ed .ed-process-mobile-line {
    min-height: 18px;
    max-height: 26px;

    margin-top: 6px;
  }

  .project-ed .ed-process-step h3 {
    font-size: 16px;

    line-height: 1.08;
  }

  .project-ed .ed-process-step p {
    font-size: 12px;

    line-height: 1.25;
  }
}

/* =========================
   ED CONTROLS — CONTEXT STORY
   pinned role animation
   ========================= */

.project-ed .ed-context-story {
  position: relative;
  min-height: 520vh;
  padding-top: clamp(36px, 5vw, 72px);
  padding-bottom: 0;
}


/* =========================
   STICKY SECTION LABEL
   ========================= */

.project-ed .ed-context-story > .ed-label {
  position: sticky;
  top: calc(
    var(--visible-header-h, var(--header-h, 64px))
    + 18px
  );

  z-index: 10;
  margin-bottom: 0;

  opacity: 1;
  transform: translateY(0);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    top 0.25s ease;
}

.project-ed
.ed-context-story.is-context-complete
> .ed-label {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}


/* =========================
   STICKY VIEWPORT
   ========================= */

.project-ed .ed-context-sticky {
  position: sticky;
  top: 0;

  height: 100svh;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}


/* =========================
   DESKTOP STAGE
   ========================= */

.project-ed .ed-context-stage {
  position: relative;

  width: min(1280px, 100%);
  height: min(720px, calc(100svh - 80px));

  display: grid;
  align-items: center;
}


/* =========================
   ROLE PILLS — DESKTOP
   ========================= */

.project-ed .ed-context-roles {
  position: absolute;

  left: 50%;
  top: 50%;

  width: min(1120px, 100%);

  transform: translate(-50%, -50%);

  display: flex;
  flex-wrap: wrap;

  justify-content: center;
  align-items: center;

  /* bigger gap */
  gap: clamp(16px, 2vw, 24px);

  z-index: 8;

  transition:
    top 0.65s cubic-bezier(.2,.75,.2,1),
    transform 0.65s cubic-bezier(.2,.75,.2,1);
}

.project-ed
.ed-context-story.is-docked
.ed-context-roles {
  top: clamp(76px, 12vh, 116px);
  transform: translate(-50%, 0);
}


/* Individual role pill */

.project-ed .ed-context-roles span {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 0.65rem 1.1rem;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.42);

  color: #0b1b34;

  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 400;

  font-size: var(--ed-text-sm);
  line-height: 1;

  white-space: nowrap;

  transition:
    background-color 0.35s ease,
    transform 0.35s ease,
    opacity 0.35s ease;
}

.project-ed
.ed-context-roles
span.is-highlighted {
  background: #DBECF6;
  transform: translateY(3px);
}


/* =========================
   SHARED PANEL — DESKTOP
   ========================= */

.project-ed .ed-context-panel {
  position: absolute;

  left: 50%;
  top: 58%;

  width: min(1120px, 100%);

  transform:
    translate(-50%, -50%)
    translateY(34px);

  display: grid;

  grid-template-columns:
    minmax(320px, 1fr)
    minmax(320px, 0.82fr);

  gap: clamp(36px, 6vw, 88px);

  align-items: center;

  opacity: 0;

  pointer-events: none;

  transition:
    opacity 0.45s ease,
    transform 0.65s cubic-bezier(.2,.75,.2,1);
}

.project-ed
.ed-context-panel.is-visible {
  opacity: 1;

  transform:
    translate(-50%, -50%)
    translateY(0);

  pointer-events: auto;
}


/* =========================
   PANEL IMAGE
   ========================= */

.project-ed .ed-context-panel-image {
  margin: 0;

  justify-self: center;

  width: 100%;
}

.project-ed .ed-context-panel-image img {
  display: block;

  width: 100%;
  height: auto;

  object-fit: contain;
}

.project-ed
.ed-context-panel-image--accountable {
  max-width: 740px;
}

.project-ed
.ed-context-panel-image--reporter {
  max-width: 740px;
}


/* =========================
   PANEL COPY ANIMATION
   ========================= */

.project-ed .ed-context-panel-copy {
  opacity: 0;

  transform: translateY(24px);

  transition:
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(.2,.75,.2,1);
}

.project-ed
.ed-context-panel.is-copy-visible
.ed-context-panel-copy {
  opacity: 1;
  transform: translateY(0);
}


/* =========================
   PANEL TYPOGRAPHY
   ========================= */

.project-ed .ed-context-panel-copy h3 {
  margin: 0 0 14px;

  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 600;

  font-size: var(--ed-heading-sm);
  line-height: 1.12;

  letter-spacing: -0.035em;

  color: #0b1b34;
}

.project-ed
.ed-context-panel-copy
> p:not(.ed-context-panel-note-text) {
  margin: 0;

  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 400;

  font-size: var(--ed-text-md);
  line-height: var(--ed-line-body);

  letter-spacing: -0.02em;

  color: #0b1b34;
}

.project-ed
.ed-context-panel-copy
> .ed-context-panel-note-text {
  display: block;

  margin: 18px 0 0;

  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 400;
  font-style: italic;

  font-size: var(--ed-text-sm);
  line-height: 1.35;

  letter-spacing: -0.02em;

  color: #0870F5;
}


/* =========================
   ACCOUNTABLE — DESKTOP
   ========================= */

.project-ed
.ed-context-panel--accountable {
  grid-template-columns:
    minmax(320px, 1fr)
    minmax(320px, 0.82fr);
}

.project-ed
.ed-context-panel--accountable
.ed-context-panel-image {
  grid-column: 1;
  grid-row: 1;
}

.project-ed
.ed-context-panel--accountable
.ed-context-panel-copy {
  grid-column: 2;
  grid-row: 1;

  max-width: 560px;
}


/* =========================
   REPORTER — DESKTOP
   ========================= */

.project-ed
.ed-context-panel--reporter {
  grid-template-columns:
    minmax(320px, 0.82fr)
    minmax(320px, 1fr);

  gap: clamp(36px, 6vw, 88px);

  align-items: center;
  justify-items: stretch;

  text-align: left;
}

.project-ed
.ed-context-panel--reporter
.ed-context-panel-copy {
  grid-column: 1;
  grid-row: 1;

  max-width: 560px;

  justify-self: start;

  text-align: left;
}

.project-ed
.ed-context-panel--reporter
.ed-context-panel-image {
  grid-column: 2;
  grid-row: 1;

  justify-self: center;

  max-width: 740px;
}


/* =========================================================
   TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 1050px) {

  .project-ed .ed-context-story {
    min-height: 560vh;

    padding-top: 32px;
  }


  /* Sticky label */

  .project-ed
  .ed-context-story
  > .ed-label {
    position: sticky;

    top:
      calc(
        var(--visible-header-h, var(--header-h, 64px))
        + 14px
      );

    z-index: 12;

    margin: 0;
  }


  /* Sticky viewport */

  .project-ed .ed-context-sticky {
    align-items: stretch;
    justify-content: center;

    overflow: hidden;
  }


  /* =========================
     STAGE
     ========================= */

  .project-ed .ed-context-stage {
    width: 100%;
    height: 100svh;

    display: grid;

    grid-template-rows:
      auto
      minmax(0, 1fr);

    align-items: start;

    padding-top:
      calc(
        var(--visible-header-h, var(--header-h, 64px))
        + 72px
      );

    padding-bottom: 20px;

    box-sizing: border-box;
  }


  /* =========================
     ROLE PILLS
     ========================= */

  .project-ed
  .ed-context-roles,

  .project-ed
  .ed-context-story.is-docked
  .ed-context-roles {
    position: relative;

    left: auto;
    top: auto;

    transform: none;

    grid-row: 1;

    width:
      min(
        780px,
        calc(100% - 28px)
      );

    max-width: 780px;

    margin-inline: auto;

    display: flex;
    flex-wrap: wrap;

    justify-content: center;
    align-items: center;

    /* bigger tablet spacing */
    gap: 12px 18px;

    padding: 0;

    box-sizing: border-box;

    z-index: 8;
  }

  .project-ed
  .ed-context-roles span {
    padding: 0.55rem 0.85rem;

    font-size: 14px;

    line-height: 1;
  }


  /* =========================
     CENTERED CONTENT PANEL
     ========================= */

  .project-ed .ed-context-panel,
  .project-ed .ed-context-panel--accountable,
  .project-ed .ed-context-panel--reporter {
    position: relative;

    left: auto;
    top: auto;

    grid-row: 2;
    grid-column: 1;

    width: 100%;
    height: 100%;

    max-width: 860px;

    margin-inline: auto;

    transform: translateY(18px);

    display: grid;

    grid-template-columns: 1fr;

    grid-template-rows:
      auto
      auto;

    gap: clamp(16px, 2.5vh, 24px);

    align-content: center;

    align-items: start;
    justify-items: center;

    padding-top: 8px;
    padding-bottom: 8px;

    box-sizing: border-box;

    text-align: center;

    overflow: hidden;
  }

  .project-ed
  .ed-context-panel.is-visible {
    transform: translateY(0);
  }


  /* =========================
     IMAGE
     ========================= */

  .project-ed
  .ed-context-panel-image,

  .project-ed
  .ed-context-panel--accountable
  .ed-context-panel-image,

  .project-ed
  .ed-context-panel--reporter
  .ed-context-panel-image {
    grid-column: 1;
    grid-row: 1;

    width:
      min(
        470px,
        68vw
      );

    max-width: 470px;

    margin: 0;

    justify-self: center;
  }


  /* =========================
     COPY
     ========================= */

  .project-ed
  .ed-context-panel-copy,

  .project-ed
  .ed-context-panel--accountable
  .ed-context-panel-copy,

  .project-ed
  .ed-context-panel--reporter
  .ed-context-panel-copy {
    grid-column: 1;
    grid-row: 2;

    width:
      min(
        680px,
        calc(100% - 40px)
      );

    max-width: 680px;

    margin-inline: auto;

    justify-self: center;

    text-align: center;

    box-sizing: border-box;
  }

  .project-ed
  .ed-context-panel-copy h3 {
    margin-bottom: 10px;

    font-size: var(--ed-heading-sm);

    line-height: 1.1;
  }

  .project-ed
  .ed-context-panel-copy
  > p:not(.ed-context-panel-note-text) {
    width: 100%;

    font-size: var(--ed-text-md);

    line-height: 1.4;

    overflow-wrap: break-word;
  }

  .project-ed
  .ed-context-panel-copy
  > .ed-context-panel-note-text {
    width: 100%;

    margin-top: 14px;

    font-size: var(--ed-text-sm);

    line-height: 1.35;

    overflow-wrap: break-word;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {

  .project-ed .ed-context-story {
    min-height: 580vh;

    padding-top: 26px;
  }


  /* =========================
     STAGE
     ========================= */

  .project-ed .ed-context-stage {
    padding-top:
      calc(
        var(--visible-header-h, var(--header-h, 64px))
        + 78px
      );

    padding-bottom: 14px;
  }


  /* =========================
     ROLE PILLS
     ========================= */

  .project-ed
  .ed-context-roles,

  .project-ed
  .ed-context-story.is-docked
  .ed-context-roles {
    width:
      calc(100% - 20px);

    max-width: 455px;

    /* clearly larger gap */
    gap: 10px 14px;

    margin-inline: auto;
  }

  .project-ed
  .ed-context-roles span {
    padding: 0.48rem 0.72rem;

    font-size: 13px;
  }


  /* =========================
     CENTERED PANEL
     ========================= */

  .project-ed .ed-context-panel,
  .project-ed .ed-context-panel--accountable,
  .project-ed .ed-context-panel--reporter {
    width: 100%;

    max-width: 440px;

    align-content: center;

    gap: 16px;

    padding-top: 0;
    padding-bottom: 12px;
  }


  /* =========================
     MOBILE IMAGE
     ========================= */

  .project-ed
  .ed-context-panel-image,

  .project-ed
  .ed-context-panel--accountable
  .ed-context-panel-image,

  .project-ed
  .ed-context-panel--reporter
  .ed-context-panel-image {
    width:
      min(
        325px,
        75vw
      );

    max-width: 325px;
  }


  /* =========================
     MOBILE COPY
     ========================= */

  .project-ed
  .ed-context-panel-copy,

  .project-ed
  .ed-context-panel--accountable
  .ed-context-panel-copy,

  .project-ed
  .ed-context-panel--reporter
  .ed-context-panel-copy {
    width:
      calc(100% - 32px);

    max-width: 410px;

    margin-inline: auto;

    text-align: center;
  }

  .project-ed
  .ed-context-panel-copy h3 {
    margin-bottom: 7px;

    font-size: 20px;

    line-height: 1.1;
  }

  .project-ed
  .ed-context-panel-copy
  > p:not(.ed-context-panel-note-text) {
    font-size: 15px;

    line-height: 1.38;

    letter-spacing: -0.01em;
  }

  .project-ed
  .ed-context-panel-copy
  > .ed-context-panel-note-text {
    margin-top: 11px;

    font-size: 14px;

    line-height: 1.35;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 440px) {

  .project-ed .ed-context-stage {
    padding-top:
      calc(
        var(--visible-header-h, var(--header-h, 64px))
        + 70px
      );

    padding-bottom: 10px;
  }


  /* Role pills */

  .project-ed
  .ed-context-roles,

  .project-ed
  .ed-context-story.is-docked
  .ed-context-roles {
    width:
      calc(100% - 16px);

    /* still larger, but safe */
    gap: 8px 10px;
  }

  .project-ed
  .ed-context-roles span {
    padding: 0.42rem 0.62rem;

    font-size: 12px;
  }


  /* Panel */

  .project-ed .ed-context-panel,
  .project-ed .ed-context-panel--accountable,
  .project-ed .ed-context-panel--reporter {
    gap: 13px;

    align-content: center;

    padding-top: 0;
    padding-bottom: 10px;
  }


  /* Image */

  .project-ed
  .ed-context-panel-image,

  .project-ed
  .ed-context-panel--accountable
  .ed-context-panel-image,

  .project-ed
  .ed-context-panel--reporter
  .ed-context-panel-image {
    width:
      min(
        290px,
        70vw
      );
  }


  /* Copy */

  .project-ed
  .ed-context-panel-copy,

  .project-ed
  .ed-context-panel--accountable
  .ed-context-panel-copy,

  .project-ed
  .ed-context-panel--reporter
  .ed-context-panel-copy {
    width:
      calc(100% - 28px);

    max-width: 390px;
  }

  .project-ed
  .ed-context-panel-copy h3 {
    font-size: 18px;

    margin-bottom: 6px;
  }

  .project-ed
  .ed-context-panel-copy
  > p:not(.ed-context-panel-note-text) {
    font-size: 14px;

    line-height: 1.35;
  }

  .project-ed
  .ed-context-panel-copy
  > .ed-context-panel-note-text {
    margin-top: 9px;

    font-size: 13px;

    line-height: 1.3;
  }
}


/* =========================================================
   SHORT TABLET / MOBILE
   Tighten only when height becomes limited
   ========================================================= */

@media (max-width: 1050px) and (max-height: 720px) {

  .project-ed .ed-context-stage {
    padding-top:
      calc(
        var(--visible-header-h, var(--header-h, 64px))
        + 60px
      );

    padding-bottom: 8px;
  }


  /* Roles */
  .project-ed
  .ed-context-roles,

  .project-ed
  .ed-context-story.is-docked
  .ed-context-roles {
    gap: 8px 10px;
  }

  .project-ed
  .ed-context-roles span {
    padding: 0.4rem 0.62rem;

    font-size: 12px;
  }


  /* Content */
  .project-ed .ed-context-panel,
  .project-ed .ed-context-panel--accountable,
  .project-ed .ed-context-panel--reporter {
    align-content: center;

    gap: 11px;

    padding-top: 0;
    padding-bottom: 6px;
  }


  /* Image */

  .project-ed
  .ed-context-panel-image,

  .project-ed
  .ed-context-panel--accountable
  .ed-context-panel-image,

  .project-ed
  .ed-context-panel--reporter
  .ed-context-panel-image {
    width:
      min(
        270px,
        62vw
      );
  }


  /* Copy */

  .project-ed
  .ed-context-panel-copy h3 {
    margin-bottom: 5px;

    font-size: 17px;
  }

  .project-ed
  .ed-context-panel-copy
  > p:not(.ed-context-panel-note-text) {
    font-size: 13px;

    line-height: 1.3;
  }

  .project-ed
  .ed-context-panel-copy
  > .ed-context-panel-note-text {
    margin-top: 8px;

    font-size: 12px;

    line-height: 1.28;
  }
}


/* =========================================================
   VERY SMALL + SHORT MOBILE
   ========================================================= */

@media (max-width: 420px) and (max-height: 680px) {

  .project-ed .ed-context-stage {
    padding-top:
      calc(
        var(--visible-header-h, var(--header-h, 64px))
        + 54px
      );
  }


  /* Still keep some breathing room */
  .project-ed
  .ed-context-roles,

  .project-ed
  .ed-context-story.is-docked
  .ed-context-roles {
    gap: 7px 8px;
  }


  /* Image */

  .project-ed
  .ed-context-panel-image,

  .project-ed
  .ed-context-panel--accountable
  .ed-context-panel-image,

  .project-ed
  .ed-context-panel--reporter
  .ed-context-panel-image {
    width:
      min(
        245px,
        60vw
      );
  }


  /* Copy */

  .project-ed
  .ed-context-panel-copy,

  .project-ed
  .ed-context-panel--accountable
  .ed-context-panel-copy,

  .project-ed
  .ed-context-panel--reporter
  .ed-context-panel-copy {
    width:
      calc(100% - 24px);
  }

  .project-ed
  .ed-context-panel-copy h3 {
    font-size: 16px;
  }

  .project-ed
  .ed-context-panel-copy
  > p:not(.ed-context-panel-note-text) {
    font-size: 12px;

    line-height: 1.28;
  }

  .project-ed
  .ed-context-panel-copy
  > .ed-context-panel-note-text {
    font-size: 12px;

    line-height: 1.25;
  }
}
/* =========================
   ED CONTROLS — RESEARCH METHODS
   compact responsive scroll reveal story
   ========================= */

.project-ed .ed-research-methods-section {
  position: relative;

  min-height: 460vh;

  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: 0;
}


/* =========================
   STICKY RESEARCH LABEL
   ========================= */

.project-ed .ed-research-methods-section > .ed-label {
  position: sticky;

  top: calc(
    var(--visible-header-h, var(--header-h, 64px))
    + 18px
  );

  z-index: 5;

  margin-bottom: 0;

  opacity: 1;
  transform: translateY(0);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    top 0.25s ease;
}

.project-ed
.ed-research-methods-section.is-research-complete
> .ed-label {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}


/* =========================
   STICKY STAGE
   ========================= */

.project-ed .ed-research-methods {
  position: sticky;
  top: 0;

  width: min(1280px, 100%);
  height: 100svh;
  min-height: 700px;

  margin-inline: auto;

  display: grid;
  place-items: center;

  overflow: hidden;
}


/* =========================
   CENTER TITLE
   ========================= */

.project-ed .ed-research-methods-title {
  position: absolute;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%)
    translateY(20px);

  opacity: 0;

  margin: 0;

  z-index: 2;

  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 500;

  font-size: clamp(42px, 4.5vw, 66px);
  line-height: 1;

  letter-spacing: -0.05em;

  color: #0b1b34;

  text-align: center;

  transition:
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(.2,.75,.2,1);
}

.project-ed .ed-research-methods-title.is-visible {
  opacity: 1;

  transform:
    translate(-50%, -50%)
    translateY(0);
}


/* =========================
   METHOD CARD
   ========================= */

.project-ed .ed-method-card {
  position: absolute;

  width: min(455px, 35vw);
  min-height: 112px;

  display: grid;

  grid-template-columns:
    62px
    minmax(0, 1fr);

  gap: 18px;

  align-items: center;

  padding: 16px 20px;

  box-sizing: border-box;

  border-radius: 20px;

  background: #E4EEF3;

  opacity: 0;

  transform:
    translateY(24px)
    scale(0.97);

  pointer-events: none;

  transition:
    opacity 0.45s ease,
    transform 0.6s cubic-bezier(.2,.75,.2,1);
}

.project-ed .ed-method-card.is-visible {
  opacity: 1;

  transform:
    translateY(0)
    scale(1);

  pointer-events: auto;
}


/* =========================
   ICON
   ========================= */

.project-ed .ed-method-icon {
  width: 62px;
  height: 62px;

  padding: 0;

  box-sizing: border-box;

  border-radius: 17px;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(
      270.4deg,
      rgba(232,245,252,.2) 3.81%,
      rgba(219,236,246,.2) 92.06%
    );

  box-shadow:
    inset 1px 1px 1px rgba(255,255,255,.75),
    inset -1px -1px 1px rgba(160,180,190,.14),
    0 10px 24px rgba(12,27,52,.04);

  backdrop-filter: blur(10px);
}

.project-ed .ed-method-icon img {
  width: 34px;
  height: 34px;

  object-fit: contain;
}


/* =========================
   CARD TEXT
   ========================= */

.project-ed .ed-method-content {
  min-width: 0;
}

.project-ed .ed-method-content h3 {
  margin: 0 0 5px;

  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 600;

  font-size: clamp(19px, 1.45vw, 23px);
  line-height: 1.12;

  letter-spacing: -0.02em;

  color: #0b1b34;
}

.project-ed .ed-method-content p {
  margin: 0;

  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 400;

  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.38;

  color: #0b1b34;
}


/* =========================
   DESKTOP CARD POSITIONS
   ========================= */

/* Personas — top center */
.project-ed .ed-method-card--personas {
  left: 50%;
  top: 6%;

  transform:
    translateX(-50%)
    translateY(24px)
    scale(0.97);
}

.project-ed .ed-method-card--personas.is-visible {
  transform:
    translateX(-50%)
    translateY(0)
    scale(1);
}


/* Interviews — middle left */
.project-ed .ed-method-card--interviews {
  left: 0;
  top: 29%;
}


/* Desk research — middle right */
.project-ed .ed-method-card--desk {
  right: 0;
  top: 29%;
}


/* User testing — lower left */
.project-ed .ed-method-card--testing {
  left: 0;
  top: 66%;
}


/* Benchmark — lower right */
.project-ed .ed-method-card--benchmark {
  right: 0;
  top: 66%;
}


/* Journey mapping — bottom center */
.project-ed .ed-method-card--journey {
  left: 50%;
  bottom: 1%;

  width: min(455px, 35vw);

  transform:
    translateX(-50%)
    translateY(24px)
    scale(0.97);
}

.project-ed .ed-method-card--journey.is-visible {
  transform:
    translateX(-50%)
    translateY(0)
    scale(1);
}


/* =========================
   SMALLER DESKTOP / LAPTOP
   901px – 1200px
   ========================= */

@media (min-width: 901px) and (max-width: 1200px) {

  .project-ed .ed-research-methods {
    width: 100%;
    min-height: 680px;
  }

  .project-ed .ed-method-card {
    width: min(390px, 36vw);
    min-height: 104px;

    grid-template-columns:
      56px
      minmax(0, 1fr);

    gap: 15px;

    padding: 14px 16px;

    border-radius: 18px;
  }

  .project-ed .ed-method-card--journey {
    width: min(390px, 36vw);
  }

  .project-ed .ed-method-icon {
    width: 56px;
    height: 56px;

    border-radius: 15px;
  }

  .project-ed .ed-method-icon img {
    width: 31px;
    height: 31px;
  }

  .project-ed .ed-method-content h3 {
    font-size: clamp(18px, 1.7vw, 21px);
  }

  .project-ed .ed-method-content p {
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.35;
  }

  .project-ed .ed-research-methods-title {
    font-size: clamp(40px, 5vw, 58px);
  }
}


/* =========================
   TABLET
   STACKED + COMPACT
   ========================= */

@media (max-width: 900px) {

  .project-ed .ed-research-methods-section {
    min-height: 540vh;
    padding-top: 32px;
  }

  .project-ed .ed-research-methods-section > .ed-label {
    top: calc(
      var(--visible-header-h, var(--header-h, 64px))
      + 12px
    );
  }

  .project-ed .ed-research-methods {
    width: 100%;

    height: 100svh;
    min-height: 0;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    /* More breathing room */
    gap: 16px;

    padding:
      clamp(60px, 8vh, 82px)
      0
      clamp(14px, 2vh, 24px);

    box-sizing: border-box;

    overflow: hidden;
  }


  /* Hide large title in stacked layout */
  .project-ed .ed-research-methods-title,
  .project-ed .ed-research-methods-title.is-visible {
    display: none;
  }


  /* Reset desktop positioning */
  .project-ed .ed-method-card,
  .project-ed .ed-method-card--personas,
  .project-ed .ed-method-card--interviews,
  .project-ed .ed-method-card--desk,
  .project-ed .ed-method-card--testing,
  .project-ed .ed-method-card--benchmark,
  .project-ed .ed-method-card--journey {
    position: static;

    left: auto;
    right: auto;
    top: auto;
    bottom: auto;

    width: min(560px, calc(100% - 32px));

    min-height: 86px;

    grid-template-columns:
      54px
      minmax(0, 1fr);

    gap: 14px;

    padding: 12px 16px;

    box-sizing: border-box;

    border-radius: 17px;

    transform:
      translateY(16px)
      scale(0.985);
  }

  .project-ed .ed-method-card.is-visible,
  .project-ed .ed-method-card--personas.is-visible,
  .project-ed .ed-method-card--journey.is-visible {
    transform:
      translateY(0)
      scale(1);
  }


  /* Tablet icon */
  .project-ed .ed-method-icon {
    width: 54px;
    height: 54px;

    border-radius: 14px;
  }

  .project-ed .ed-method-icon img {
    width: 30px;
    height: 30px;
  }


  /* Tablet typography */
  .project-ed .ed-method-content h3 {
    margin-bottom: 4px;

    font-size: 18px;
    line-height: 1.1;
  }

  .project-ed .ed-method-content p {
    font-size: 14px;
    line-height: 1.3;
  }
}


/* =========================
   SHORT TABLET SCREENS
   ========================= */

@media (max-width: 900px) and (max-height: 760px) {

  .project-ed .ed-research-methods {
    gap: 12px;

    padding-top:
      calc(
        var(--visible-header-h, var(--header-h, 64px))
        + 42px
      );

    padding-bottom: 10px;
  }

  .project-ed .ed-method-card,
  .project-ed .ed-method-card--personas,
  .project-ed .ed-method-card--interviews,
  .project-ed .ed-method-card--desk,
  .project-ed .ed-method-card--testing,
  .project-ed .ed-method-card--benchmark,
  .project-ed .ed-method-card--journey {
    min-height: 76px;

    grid-template-columns:
      48px
      minmax(0, 1fr);

    gap: 12px;

    padding: 9px 13px;

    border-radius: 15px;
  }

  .project-ed .ed-method-icon {
    width: 48px;
    height: 48px;

    border-radius: 13px;
  }

  .project-ed .ed-method-icon img {
    width: 27px;
    height: 27px;
  }

  .project-ed .ed-method-content h3 {
    margin-bottom: 3px;

    font-size: 16px;
  }

  .project-ed .ed-method-content p {
    font-size: 13px;
    line-height: 1.25;
  }
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 560px) {

  .project-ed .ed-research-methods-section {
    min-height: 580vh;
    padding-top: 26px;
  }

  .project-ed .ed-research-methods {
    gap: 14px;

    padding:
      clamp(56px, 8vh, 72px)
      0
      12px;
  }

  .project-ed .ed-method-card,
  .project-ed .ed-method-card--personas,
  .project-ed .ed-method-card--interviews,
  .project-ed .ed-method-card--desk,
  .project-ed .ed-method-card--testing,
  .project-ed .ed-method-card--benchmark,
  .project-ed .ed-method-card--journey {
    width: calc(100% - 24px);

    min-height: 78px;

    grid-template-columns:
      48px
      minmax(0, 1fr);

    gap: 12px;

    padding: 10px 12px;

    border-radius: 15px;
  }

  .project-ed .ed-method-icon {
    width: 48px;
    height: 48px;

    border-radius: 13px;
  }

  .project-ed .ed-method-icon img {
    width: 27px;
    height: 27px;
  }

  .project-ed .ed-method-content h3 {
    margin-bottom: 3px;

    font-size: 16px;
    line-height: 1.1;
  }

  .project-ed .ed-method-content p {
    font-size: 13px;
    line-height: 1.28;
  }
}


/* =========================
   VERY SMALL / SHORT MOBILE
   ========================= */

@media (max-width: 420px),
       (max-width: 560px) and (max-height: 700px) {

  .project-ed .ed-research-methods {
    gap: 11px;

    padding-top:
      calc(
        var(--visible-header-h, var(--header-h, 64px))
        + 32px
      );

    padding-bottom: 8px;
  }

  .project-ed .ed-method-card,
  .project-ed .ed-method-card--personas,
  .project-ed .ed-method-card--interviews,
  .project-ed .ed-method-card--desk,
  .project-ed .ed-method-card--testing,
  .project-ed .ed-method-card--benchmark,
  .project-ed .ed-method-card--journey {
    width: calc(100% - 20px);

    min-height: 70px;

    grid-template-columns:
      43px
      minmax(0, 1fr);

    gap: 10px;

    padding: 8px 10px;

    border-radius: 14px;
  }

  .project-ed .ed-method-icon {
    width: 43px;
    height: 43px;

    border-radius: 12px;
  }

  .project-ed .ed-method-icon img {
    width: 24px;
    height: 24px;
  }

  .project-ed .ed-method-content h3 {
    margin-bottom: 2px;

    font-size: 15px;
  }

  .project-ed .ed-method-content p {
    font-size: 12px;
    line-height: 1.22;
  }
}

/* =========================
   ED CONTROLS — KEY INSIGHTS
   scroll story
   ========================= */

.project-ed .ed-key-insights-section {
  position: relative;
  min-height: 580vh;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: 0;
}

/* Sticky pill */
.project-ed .ed-key-insights-head {
  position: sticky;
  top: calc(var(--visible-header-h, var(--header-h, 64px)) + 18px);
  z-index: 8;

  display: flex;
  justify-content: center;

  margin: 0;
  opacity: 1;
  transform: translateY(0);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    top 0.25s ease;
}

.project-ed .ed-key-insights-section.is-insights-complete .ed-key-insights-head {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

.project-ed .ed-insights-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;

  background: #f7f7f7;
  color: #111827;

  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--ed-label-size);
  line-height: 1;
}

/* Sticky viewport */
.project-ed .ed-key-insights-list {
  position: sticky;
  top: 0;

  height: 100svh;
  min-height: 720px;
  width: min(1180px, 100%);
  margin-inline: auto;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
  align-items: center;

  overflow: hidden;
}

.project-ed .ed-insight-row {
  position: absolute;
  inset: 0;

  min-height: auto;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
  align-items: center;

  opacity: 0;
  transform: translateY(38px);
  pointer-events: none;

  transition:
    opacity 0.45s ease,
    transform 0.65s cubic-bezier(.2,.75,.2,1);
}

.project-ed .ed-insight-row.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.project-ed .ed-insight-row.is-before {
  opacity: 0.18;
  transform: translateY(-34vh) scale(0.96);
}

.project-ed .ed-insight-row.is-after {
  opacity: 0.18;
  transform: translateY(34vh) scale(0.96);
}

.project-ed .ed-insight-line {
  grid-column: 2;
  justify-self: center;

  width: 22px;
  height: clamp(150px, 26vh, 230px);

  border-radius: 0 12px 12px 0;
  background: #E4EEF3;
}

.project-ed .ed-insight-line--blue,
.project-ed .ed-insight-line--light {
  background: #006BF5;
}

/* Numbers */
.project-ed .ed-insight-number {
  display: flex;
  align-items: center;
}

.project-ed .ed-insight-number span {
  display: block;

  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--ed-number);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #000;
}

/* Text */
.project-ed .ed-insight-text {
  max-width: 380px;
}

.project-ed .ed-insight-text p {
  margin: 0;

  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--ed-text-lg);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #111827;
}

.project-ed .ed-insight-row--right .ed-insight-number {
  grid-column: 1;
  justify-content: end;
  padding-right: clamp(54px, 8vw, 130px);
}

.project-ed .ed-insight-row--right .ed-insight-text {
  grid-column: 3;
  justify-self: start;
  padding-left: clamp(54px, 8vw, 130px);
}

.project-ed .ed-insight-row--left .ed-insight-text {
  grid-column: 1;
  justify-self: end;
  padding-right: clamp(54px, 8vw, 130px);
}

.project-ed .ed-insight-row--left .ed-insight-number {
  grid-column: 3;
  justify-content: start;
  padding-left: clamp(54px, 8vw, 130px);
}

/* Final sentence */
.project-ed .ed-key-insights-conclusion {
  position: sticky;
  top: 0;
  z-index: 5;

  height: 100svh;
  width: min(920px, calc(100% - (var(--g) * 2)));
  margin: -100svh auto 0;

  display: block;
  padding-top: clamp(470px, 64vh, 560px);

  opacity: 0;
  transform: translateY(22px);
  pointer-events: none;

  text-align: center;
  font-family: "Satoshi", system-ui, sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: var(--ed-heading-sm);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: #111827;

  transition:
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(.2,.75,.2,1);
}

.project-ed .ed-key-insights-conclusion.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.project-ed .ed-key-insights-conclusion .ed-gradient-text {
  background: linear-gradient(90deg, #A8CBF3 0%, #0870F5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  display: inline;
}

@media (max-width: 900px) {
  .project-ed .ed-key-insights-section {
    min-height: 640vh;
  }

  .project-ed .ed-key-insights-list {
    min-height: auto;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr);
  }

  .project-ed .ed-insight-row {
    grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr);
  }

  .project-ed .ed-insight-line {
    width: 16px;
    height: clamp(130px, 24vh, 190px);
  }

  .project-ed .ed-insight-number span {
    font-size: var(--ed-number);
  }

  .project-ed .ed-insight-text {
    max-width: 260px;
  }

  .project-ed .ed-insight-text p {
    font-size: var(--ed-text-lg);
  }

  .project-ed .ed-insight-row--right .ed-insight-number {
    padding-right: clamp(24px, 5vw, 54px);
  }

  .project-ed .ed-insight-row--right .ed-insight-text {
    padding-left: clamp(24px, 5vw, 54px);
  }

  .project-ed .ed-insight-row--left .ed-insight-text {
    padding-right: clamp(24px, 5vw, 54px);
  }

  .project-ed .ed-insight-row--left .ed-insight-number {
    padding-left: clamp(24px, 5vw, 54px);
  }

  .project-ed .ed-key-insights-conclusion {
    font-size: var(--ed-heading-sm);
  }
}

@media (max-width: 620px) {
  .project-ed .ed-key-insights-section {
    min-height: 680vh;
    padding-top: 32px;
  }

  .project-ed .ed-key-insights-head {
    justify-content: center;
  }

  .project-ed .ed-insights-pill {
    padding: 0.6rem 1.1rem;
    font-size: var(--ed-label-size);
  }

  .project-ed .ed-key-insights-list {
    grid-template-columns: 1fr 12px 1fr;
    width: 100%;
    min-height: auto;
  }

  .project-ed .ed-insight-row {
    grid-template-columns: 1fr 12px 1fr;
  }

  .project-ed .ed-insight-line {
    width: 12px;
    height: 150px;
  }

  .project-ed .ed-insight-number span {
    font-size: var(--ed-number);
  }

  .project-ed .ed-insight-text {
    max-width: 145px;
  }

  .project-ed .ed-insight-text p {
    font-size: var(--ed-text-sm);
    line-height: 1.28;
    letter-spacing: -0.01em;
  }

  .project-ed .ed-insight-row--right .ed-insight-number {
    padding-right: 16px;
  }

  .project-ed .ed-insight-row--right .ed-insight-text {
    padding-left: 16px;
  }

  .project-ed .ed-insight-row--left .ed-insight-text {
    padding-right: 16px;
  }

  .project-ed .ed-insight-row--left .ed-insight-number {
    padding-left: 16px;
  }

  .project-ed .ed-key-insights-conclusion {
    width: min(360px, calc(100% - 32px));
    margin-top: -100svh;
    padding-top: clamp(440px, 68vh, 520px);

    font-size: var(--ed-heading-sm);
    line-height: 1.45;
    letter-spacing: -0.01em;
    text-align: center;
  }

  .project-ed .ed-key-insights-conclusion br {
    display: none;
  }
}

/* =========================================================
   ED CONTROLS — PHASE-BASED ACCESS
   ========================================================= */

.project-ed .ed-design-phase-section {
  position: relative;
  min-height: 430vh;
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: 0;

  --phase-progress: 0;
}


/* =========================================================
   STICKY LABEL
   ========================================================= */

.project-ed
.ed-design-phase-section
> .ed-label {
  position: sticky;

  top:
    calc(
      var(
        --visible-header-h,
        var(--header-h, 64px)
      )
      + 18px
    );

  z-index: 12;

  margin-bottom: 0;

  opacity: 1;

  transform: translateY(0);

  transition:
    opacity 0.4s ease,
    transform 0.5s cubic-bezier(.2,.75,.2,1),
    top 0.25s ease;
}


.project-ed
.ed-design-phase-section.is-phase-complete
> .ed-label {
  opacity: 0;

  transform: translateY(-12px);

  pointer-events: none;
}


/* =========================================================
   STICKY VIEWPORT
   ========================================================= */

.project-ed .ed-phase-sticky {
  position: sticky;
  top: 0;

  height: 100svh;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}


.project-ed .ed-phase-stage {
  position: relative;

  width: min(1320px, 100%);
  height: calc(100svh - 42px);

  margin-inline: auto;

  display: grid;

  grid-template-rows:
    auto
    minmax(0, 1fr);

  align-items: stretch;
}


/* =========================================================
   PILL
   ========================================================= */

.project-ed .ed-design-phase-head {
  display: flex;
  justify-content: center;

  margin-top: clamp(42px, 6vh, 70px);
  margin-bottom: clamp(28px, 4vh, 42px);

  opacity: 1;

  transform: translateY(0);

  transition:
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(.2,.75,.2,1);
}


.project-ed .ed-design-phase-pill {
  margin: 0;

  padding: 0.65rem 1.55rem;

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.28);

  border:
    1px solid
    rgba(255, 255, 255, 0.58);

  color: #20324D;

  font-family:
    "Satoshi",
    system-ui,
    sans-serif;

  font-weight: 500;

  font-size:
    var(--ed-label-size);

  line-height: 1;
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.project-ed .ed-phase-content {
  position: relative;

  min-height: 0;

  display: grid;

  grid-template-columns:
    minmax(0, 0.92fr)
    minmax(280px, 0.58fr);

  gap: clamp(50px, 7vw, 110px);

  align-items: center;
}


.project-ed .ed-phase-left {
  width: min(760px, 100%);

  min-width: 0;
}


/* =========================================================
   INITIAL OVERVIEW
   ========================================================= */

.project-ed
.ed-design-phase-section[data-phase-stage="0"]
.ed-phase-content {
  grid-template-columns: 1fr;
}


.project-ed
.ed-design-phase-section[data-phase-stage="0"]
.ed-phase-left {
  width: 100%;
}


.project-ed
.ed-design-phase-section[data-phase-stage="0"]
.ed-phase-visual {
  display: none;
}


.project-ed
.ed-design-phase-section[data-phase-stage="0"]
.ed-phase-copy-area {
  display: none;
}


/* =========================================================
   PHASE TRACK
   ========================================================= */

.project-ed .ed-phase-track {
  position: relative;

  isolation: isolate;

  width: 100%;
  max-width: 720px;

  margin-inline: auto;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: clamp(12px, 1.6vw, 22px);

  align-items: start;
}


.project-ed
.ed-design-phase-section:not([data-phase-stage="0"])
.ed-phase-track {
  margin-inline: 0;
}


/* =========================================================
   CONNECTING LINE
   ========================================================= */

.project-ed
.ed-phase-track::before,

.project-ed
.ed-phase-track::after {
  content: "";

  position: absolute;

  left: 16.666%;
  top: 27px;

  height: 2px;

  border-radius: 999px;

  pointer-events: none;

  z-index: 0;
}


/* Full neutral line */

.project-ed
.ed-phase-track::before {
  width: 66.666%;

  background:
    rgba(32, 50, 77, 0.13);
}


/* Blue progress line */

.project-ed
.ed-phase-track::after {
  width:
    calc(
      66.666%
      * var(--phase-progress)
    );

  background: #0870F5;

  transform-origin: left center;

  transition:
    width 0.18s linear;
}


/* Hide line during overview */

.project-ed
.ed-design-phase-section[data-phase-stage="0"]
.ed-phase-track::before,

.project-ed
.ed-design-phase-section[data-phase-stage="0"]
.ed-phase-track::after {
  opacity: 0;
}


/* =========================================================
   PHASE ITEM
   ========================================================= */

.project-ed .ed-phase-card-item {
  position: relative;

  z-index: 1;

  min-width: 0;

  display: grid;

  grid-template-rows:
    auto
    auto;

  justify-items: center;

  /*
    IMPORTANT:
    keep parent fully opaque
  */
  opacity: 1;

  transform: none;
}


/* =========================================================
   NUMBER
   ========================================================= */

.project-ed .ed-phase-number {
  position: relative;

  z-index: 3;

  width: 56px;
  height: 56px;

  margin-bottom: 14px;

  border-radius: 999px;

  display: grid;
  place-items: center;

  /*
    Fully opaque background.
    This masks the line underneath.
  */
  background:
    var(--cs-cream);

  border:
    1px solid
    rgba(8, 112, 245, 0.20);

  color:
    rgba(8, 112, 245, 0.56);

  /*
    Gives a clean visible gap
    before/after the circle.
  */
  box-shadow:
    0 0 0 7px
    var(--cs-cream);

  font-family:
    "Satoshi",
    system-ui,
    sans-serif;

  font-weight: 500;
  font-size: 24px;
  line-height: 1;

  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease;
}


/* =========================================================
   PHASE CARD
   ========================================================= */

.project-ed .ed-design-phase-top {
  position: relative;

  width: 100%;

  min-height: 88px;

  padding: 14px 16px;

  border-radius: 13px;

  background:
    rgba(255, 255, 255, 0.12);

  border:
    1px solid
    rgba(255, 255, 255, 0.55);

  overflow: hidden;

  box-sizing: border-box;

  opacity: 1;

  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    opacity 0.35s ease;
}


/* left accent */

.project-ed
.ed-design-phase-top::before {
  content: "";

  position: absolute;

  top: 0;
  bottom: 0;
  left: 0;

  width: 4px;

  border-radius:
    13px
    0
    0
    13px;

  background: #0870F5;

  opacity: 0.18;

  transition:
    opacity 0.35s ease;
}


/* =========================================================
   PHASE CARD TYPOGRAPHY
   ========================================================= */

.project-ed
.ed-design-phase-top
h3 {
  margin:
    0
    0
    5px;

  font-family:
    "Satoshi",
    system-ui,
    sans-serif;

  font-weight: 500;

  font-size:
    clamp(16px, 1.3vw, 20px);

  line-height: 1.12;

  letter-spacing:
    -0.025em;

  color: #111111;

  transition:
    color 0.35s ease,
    opacity 0.35s ease;
}


.project-ed
.ed-design-phase-top
p {
  margin: 0;

  font-family:
    "Satoshi",
    system-ui,
    sans-serif;

  font-weight: 400;

  font-size:
    clamp(12px, 0.95vw, 14px);

  line-height: 1.35;

  letter-spacing:
    -0.015em;

  color: #20324D;

  transition:
    color 0.35s ease,
    opacity 0.35s ease;
}


/* =========================================================
   ACTIVE PHASE
   ========================================================= */

.project-ed
.ed-phase-card-item.is-active-phase
.ed-phase-number {
  background: #0870F5;

  border-color: #0870F5;

  color: #ffffff;

  box-shadow:
    0 0 0 7px
    var(--cs-cream);
}


.project-ed
.ed-phase-card-item.is-active-phase
.ed-design-phase-top {
  opacity: 1;

  background:
    rgba(255, 255, 255, 0.34);

  border-color:
    rgba(8, 112, 245, 0.40);
}


.project-ed
.ed-phase-card-item.is-active-phase
.ed-design-phase-top::before {
  opacity: 1;
}


.project-ed
.ed-phase-card-item.is-active-phase
.ed-design-phase-top h3,

.project-ed
.ed-phase-card-item.is-active-phase
.ed-design-phase-top p {
  opacity: 1;
}


/* =========================================================
   INACTIVE PHASES
   Past and future look identical
   ========================================================= */

.project-ed
.ed-phase-card-item.is-past-phase,

.project-ed
.ed-phase-card-item.is-future-phase {
  /*
    Do not lower this opacity.
    Parent must stay opaque.
  */
  opacity: 1;
}


/* inactive circle */

.project-ed
.ed-phase-card-item.is-past-phase
.ed-phase-number,

.project-ed
.ed-phase-card-item.is-future-phase
.ed-phase-number {
  background:
    var(--cs-cream);

  border-color:
    rgba(8, 112, 245, 0.11);

  color:
    rgba(8, 112, 245, 0.28);

  box-shadow:
    0 0 0 7px
    var(--cs-cream);
}


/* inactive card */

.project-ed
.ed-phase-card-item.is-past-phase
.ed-design-phase-top,

.project-ed
.ed-phase-card-item.is-future-phase
.ed-design-phase-top {
  opacity: 0.38;

  background:
    rgba(255, 255, 255, 0.12);

  border-color:
    rgba(255, 255, 255, 0.55);
}


/* inactive accent */

.project-ed
.ed-phase-card-item.is-past-phase
.ed-design-phase-top::before,

.project-ed
.ed-phase-card-item.is-future-phase
.ed-design-phase-top::before {
  opacity: 0.16;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.project-ed .ed-phase-copy-area {
  position: relative;

  display: block;

  width:
    min(660px, 100%);

  min-height: 250px;

  margin-top:
    clamp(32px, 5vh, 52px);
}


/* =========================================================
   DESCRIPTION STATES
   ========================================================= */

.project-ed
.ed-design-phase-copy {
  position: absolute;

  inset: 0;

  opacity: 0;

  transform:
    translateY(18px);

  filter: blur(2px);

  pointer-events: none;

  transition:
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(.2,.75,.2,1),
    filter 0.4s ease;
}


/* previous */

.project-ed
.ed-design-phase-copy.is-before {
  opacity: 0;

  transform:
    translateY(-18px);
}


/* upcoming */

.project-ed
.ed-design-phase-copy.is-after {
  opacity: 0;

  transform:
    translateY(18px);
}


/* active */

.project-ed
.ed-design-phase-copy.is-visible {
  opacity: 1;

  transform:
    translateY(0);

  filter: blur(0);

  pointer-events: auto;
}


/* copy typography */

.project-ed
.ed-design-phase-copy
p {
  margin:
    0
    0
    16px;

  font-family:
    "Satoshi",
    system-ui,
    sans-serif;

  font-weight: 400;

  font-size:
    var(--ed-text-md);

  line-height:
    var(--ed-line-body);

  letter-spacing:
    -0.015em;

  color: #111827;
}


.project-ed
.ed-design-phase-copy
p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   PHONE VISUAL
   ========================================================= */

.project-ed .ed-phase-visual {
  position: relative;

  display: flex;

  align-items: center;
  justify-content: center;

  min-height:
    min(
      680px,
      calc(100svh - 170px)
    );

  perspective: 900px;
}


/* subtle background halo */

.project-ed
.ed-phase-visual::before {
  content: "";

  position: absolute;

  width:
    min(420px, 32vw);

  aspect-ratio: 1;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(8, 112, 245, 0.11)
      0%,

      rgba(8, 112, 245, 0.04)
      45%,

      transparent
      72%
    );

  pointer-events: none;
}


/* =========================================================
   PHONE IMAGES
   ========================================================= */

.project-ed
.ed-phase-image {
  position: absolute;

  inset: 0;

  margin: auto;

  width:
    min(
      320px,
      28vw,
      38vh
    );

  max-height:
    min(
      680px,
      78vh
    );

  object-fit: contain;

  opacity: 0;

  transform:
    translateY(28px)
    scale(0.96);

  filter: blur(2px);

  pointer-events: none;

  transition:
    opacity 0.48s ease,
    transform 0.62s cubic-bezier(.2,.75,.2,1),
    filter 0.4s ease;
}


/* previous image */

.project-ed
.ed-phase-image.is-before {
  opacity: 0;

  transform:
    translateY(-22px)
    scale(0.97);
}


/* upcoming image */

.project-ed
.ed-phase-image.is-after {
  opacity: 0;

  transform:
    translateY(22px)
    scale(0.97);
}


/* active image */

.project-ed
.ed-phase-image.is-visible {
  opacity: 1;

  transform:
    translateY(0)
    scale(1);

  filter: blur(0);
}


/* =========================================================
   SECTION EXIT
   ========================================================= */

.project-ed
.ed-design-phase-section.is-phase-complete
.ed-design-phase-head {
  opacity: 0;

  transform:
    translateY(-12px);

  pointer-events: none;
}


/* =========================================================
   SHORT DESKTOP
   ========================================================= */

@media
(max-height: 820px)
and
(min-width: 921px) {

  .project-ed
  .ed-design-phase-head {
    margin-top: 26px;
    margin-bottom: 20px;
  }


  .project-ed
  .ed-phase-number {
    width: 48px;
    height: 48px;

    margin-bottom: 10px;

    font-size: 21px;

    box-shadow:
      0 0 0 7px
      var(--cs-cream);
  }


  .project-ed
  .ed-phase-card-item.is-active-phase
  .ed-phase-number,

  .project-ed
  .ed-phase-card-item.is-past-phase
  .ed-phase-number,

  .project-ed
  .ed-phase-card-item.is-future-phase
  .ed-phase-number {
    box-shadow:
      0 0 0 7px
      var(--cs-cream);
  }


  .project-ed
  .ed-phase-track::before,

  .project-ed
  .ed-phase-track::after {
    top: 23px;
  }


  .project-ed
  .ed-design-phase-top {
    min-height: 76px;

    padding:
      11px
      14px;
  }


  .project-ed
  .ed-design-phase-top
  h3 {
    font-size: 17px;
  }


  .project-ed
  .ed-design-phase-top
  p {
    font-size: 12px;
  }


  .project-ed
  .ed-phase-copy-area {
    min-height: 205px;

    margin-top: 24px;
  }


  .project-ed
  .ed-phase-image {
    width:
      min(
        260px,
        25vw,
        42vh
      );
  }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 920px) {

  .project-ed
  .ed-design-phase-section {
    min-height: 460vh;
  }


  .project-ed
  .ed-phase-stage {
    height: 100svh;
  }


  .project-ed
  .ed-phase-content {
    grid-template-columns: 1fr;

    gap: 0;
  }


  .project-ed
  .ed-phase-left {
    width: 100%;

    max-width: none;
  }


  .project-ed
  .ed-phase-visual {
    display: none;
  }


  .project-ed
  .ed-phase-track {
    margin-inline: auto;
  }


  .project-ed
  .ed-phase-copy-area {
    width: 100%;

    max-width: 760px;

    min-height: 0;

    height: auto;

    margin-top: 30px;
  }


  .project-ed
  .ed-design-phase-copy {
    position: static;

    display: none;

    filter: none;

    transform:
      translateY(12px);
  }


  .project-ed
  .ed-design-phase-copy.is-visible {
    display: block;

    opacity: 1;

    transform:
      translateY(0);
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 780px) {

  .project-ed
  .ed-design-phase-section {
    min-height: 480vh;

    padding-top: 28px;
  }


  .project-ed
  .ed-design-phase-head {
    margin-top: 52px;

    margin-bottom: 24px;
  }


  .project-ed
  .ed-design-phase-pill {
    padding:
      0.6rem
      1.2rem;
  }


  .project-ed
  .ed-phase-track {
    width: 100%;

    max-width: none;

    margin-inline: auto;

    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );

    gap: 8px;
  }


  /* line */

  .project-ed
  .ed-phase-track::before,

  .project-ed
  .ed-phase-track::after {
    left: 16.666%;

    top: 20px;
  }


  .project-ed
  .ed-phase-track::before {
    width: 66.666%;
  }


  .project-ed
  .ed-phase-track::after {
    width:
      calc(
        66.666%
        * var(--phase-progress)
      );
  }


  /* circles */

  .project-ed
  .ed-phase-number {
    width: 42px;

    height: 42px;

    margin-bottom: 10px;

    font-size: 19px;

    box-shadow:
      0 0 0 6px
      var(--cs-cream);
  }


  .project-ed
  .ed-phase-card-item.is-active-phase
  .ed-phase-number,

  .project-ed
  .ed-phase-card-item.is-past-phase
  .ed-phase-number,

  .project-ed
  .ed-phase-card-item.is-future-phase
  .ed-phase-number {
    box-shadow:
      0 0 0 6px
      var(--cs-cream);
  }


  /* cards */

  .project-ed
  .ed-design-phase-top {
    width: 100%;

    min-height: 69px;

    padding: 9px;

    border-radius: 10px;
  }


  .project-ed
  .ed-design-phase-top::before {
    width: 3px;

    border-radius:
      10px
      0
      0
      10px;
  }


  .project-ed
  .ed-design-phase-top
  h3 {
    margin-bottom: 4px;

    font-size:
      clamp(
        12px,
        3.5vw,
        15px
      );

    line-height: 1.08;
  }


  .project-ed
  .ed-design-phase-top
  p {
    font-size:
      clamp(
        10px,
        2.8vw,
        12px
      );

    line-height: 1.2;
  }


  /* copy */

  .project-ed
  .ed-phase-copy-area {
    margin-top: 28px;
  }


  .project-ed
  .ed-design-phase-copy
  p {
    margin-bottom: 14px;

    font-size: 15px;

    line-height: 1.45;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

  .project-ed
  .ed-design-phase-top
  p {
    display: none;
  }


  .project-ed
  .ed-design-phase-top {
    min-height: 54px;

    display: flex;

    align-items: center;
  }


  .project-ed
  .ed-design-phase-top
  h3 {
    margin: 0;

    font-size: 12px;

    line-height: 1.1;
  }


  .project-ed
  .ed-phase-number {
    width: 40px;

    height: 40px;

    font-size: 18px;

    box-shadow:
      0 0 0 5px
      var(--cs-cream);
  }


  .project-ed
  .ed-phase-card-item.is-active-phase
  .ed-phase-number,

  .project-ed
  .ed-phase-card-item.is-past-phase
  .ed-phase-number,

  .project-ed
  .ed-phase-card-item.is-future-phase
  .ed-phase-number {
    box-shadow:
      0 0 0 5px
      var(--cs-cream);
  }


  .project-ed
  .ed-phase-track::before,

  .project-ed
  .ed-phase-track::after {
    top: 19px;
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media
(prefers-reduced-motion: reduce) {

  .project-ed
  .ed-phase-number,

  .project-ed
  .ed-design-phase-top,

  .project-ed
  .ed-design-phase-copy,

  .project-ed
  .ed-phase-image,

  .project-ed
  .ed-design-phase-head {
    transition:
      none !important;
  }


  .project-ed
  .ed-design-phase-copy,

  .project-ed
  .ed-phase-image {
    filter:
      none !important;
  }
}

/* =========================
   ED CONTROLS — CLARITY OVER DATA
   ========================= */

.project-ed .ed-clarity-section {
  padding-top: var(--ed-space-lg);
  padding-bottom: var(--ed-space-xl);
}

.project-ed .ed-clarity-head {
  display: flex;
  justify-content: center;
  margin-bottom: var(--ed-space-md);
}

.project-ed .ed-clarity-copy {
  max-width: 1260px;
  margin: 0 auto var(--ed-space-md);

  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--ed-text-lg);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: #111827;
}

.project-ed .ed-clarity-image {
  margin: 0 auto;
  width: min(1280px, 100%);
}

.project-ed .ed-clarity-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .project-ed .ed-clarity-head {
    justify-content: flex-start;
    margin-bottom: 34px;
  }

  .project-ed .ed-clarity-copy {
    margin-bottom: 38px;
  }
}

@media (max-width: 620px) {
  .project-ed .ed-clarity-section {
    padding-top: 34px;
    padding-bottom: 72px;
  }

  .project-ed .ed-clarity-copy {
    font-size: var(--ed-text-lg);
    line-height: 1.5;
  }
}

/* =========================
   ED CONTROLS — UPDATES
   ========================= */

.project-ed .ed-updates-section {
  padding-top: var(--ed-space-lg);
  padding-bottom: var(--ed-space-xl);
}

.project-ed .ed-updates-head {
  display: flex;
  justify-content: center;
  margin-bottom: var(--ed-space-md);
}

.project-ed .ed-updates-copy {
  max-width: 1260px;
  margin: 0 auto var(--ed-space-md);

  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--ed-text-lg);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: #111827;
}

.project-ed .ed-updates-image {
  margin: 0 auto;
  width: min(1280px, 100%);
}

.project-ed .ed-updates-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .project-ed .ed-updates-head {
    justify-content: flex-start;
    margin-bottom: 34px;
  }

  .project-ed .ed-updates-copy {
    margin-bottom: 38px;
  }
}

@media (max-width: 620px) {
  .project-ed .ed-updates-section {
    padding-top: 34px;
    padding-bottom: 72px;
  }

  .project-ed .ed-updates-copy {
    font-size: var(--ed-text-lg);
    line-height: 1.5;
  }
}

/* =========================
   ED CONTROLS — REPORTING A TICKET
   ========================= */

.project-ed .ed-reporting-section {
  padding-top: var(--ed-space-lg);
  padding-bottom: var(--ed-space-xl);
}

.project-ed .ed-reporting-head {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(28px, 4vw, 42px);
}

.project-ed .ed-reporting-copy {
  max-width: 1180px;
  margin: 0 auto clamp(34px, 5vw, 52px);
  text-align: center;
}

.project-ed .ed-reporting-copy p {
  margin: 0;
  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--ed-text-lg);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: #111827;
}

.project-ed .ed-reporting-copy p + p {
  margin-top: 18px;
}

.project-ed .ed-reporting-image {
  margin: 0 auto;
  width: 100%;
}

.project-ed .ed-reporting-image img {
  display: block;
  width: 100%;
  height: auto;
}

.project-ed .ed-reporting-image--top {
  max-width: 1120px;
  margin-bottom: clamp(34px, 5vw, 52px);
}

.project-ed .ed-reporting-image--bottom {
  max-width: 980px;
}

@media (max-width: 900px) {
  .project-ed .ed-reporting-head {
    justify-content: flex-start;
  }

  .project-ed .ed-reporting-copy {
    text-align: left;
    margin-bottom: 34px;
  }

  .project-ed .ed-reporting-image--top {
    margin-bottom: 28px;
  }
}

@media (max-width: 620px) {
  .project-ed .ed-reporting-section {
    padding-top: 34px;
    padding-bottom: 72px;
  }

  .project-ed .ed-reporting-copy p {
    font-size: var(--ed-text-lg);
    line-height: 1.5;
  }

  .project-ed .ed-reporting-copy p + p {
    margin-top: 14px;
  }
}

/* =========================
   ED CONTROLS — DESIGN VISUAL SECTIONS
   ========================= */

.project-ed .ed-design-visual-section {
  padding-top: var(--ed-space-lg);
  padding-bottom: var(--ed-space-xl);
}

.project-ed .ed-design-visual-head {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.project-ed .ed-design-visual-image {
  margin: 0 auto;
  width: 100%;
  max-width: 1280px;
}

.project-ed .ed-design-visual-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 1500px) {
  .project-ed .ed-design-visual-image {
    max-width: 1180px;
  }
}

@media (max-width: 900px) {
  .project-ed .ed-design-visual-section {
    padding-top: 36px;
    padding-bottom: 72px;
  }

  .project-ed .ed-design-visual-head {
    margin-bottom: 28px;
  }

  .project-ed .ed-design-visual-image {
    max-width: 100%;
  }
}

@media (max-width: 620px) {
  .project-ed .ed-design-visual-section {
    padding-top: 30px;
    padding-bottom: 56px;
  }

  .project-ed .ed-design-visual-head {
    justify-content: center;
    margin-bottom: 22px;
  }
}

/* =========================
   ED CONTROLS — FINAL VISUAL
   ========================= */

.project-ed .ed-final-visual-section {
  padding-top: var(--ed-space-lg);
  padding-bottom: var(--ed-space-xl);
}

.project-ed .ed-final-visual-image {
  margin: 0 auto;
  width: min(1150px, 100%);
}

.project-ed .ed-final-visual-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .project-ed .ed-final-visual-section {
    padding-top: 36px;
    padding-bottom: 84px;
  }

  .project-ed .ed-final-visual-image {
    width: min(820px, 100%);
  }
}

@media (max-width: 620px) {
  .project-ed .ed-final-visual-section {
    padding-top: 30px;
    padding-bottom: 64px;
  }
}