/* FedEx Client Case Study */

:root {
  --purple: #4d148c;
  --purple-deep: #2a0a4d;
  --orange: #ff6200;
  --surface: #ffffff;
  --surface-soft: #f5f5f7;
  --ink: #333333;
  --ink-soft: #555555;
  --line: #e5e5e5;
  --white: #ffffff;
  --grad: linear-gradient(110deg, #4d148c 0%, #7a1fa8 38%, #c2379a 62%, #ff6200 100%);
  --maxw: 1152px;
  --font-display: Manrope, "Segoe UI", sans-serif;
  --font-body: Manrope, "Segoe UI", sans-serif;
  --text-body: 18px;
  --radius: 4px;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01" on, "kern" on;
  overflow-x: clip;
  max-width: 100%;
}

/* Readable body copy across the case study (18px) */
p.body,
p.lead,
.hero .sub,
.hero-outcomes li,
.overview-card p,
.problem-context,
.problem-lead,
.problem-list li,
.problem-note,
.problem-visual figcaption,
.research-context p,
.research-table td,
.research-quote p,
.userflow-lead,
.roadmap-lead,
.challenges-lead,
.challenge-text,
.learn-copy p,
.roadmap-copy li,
.timeline-body li,
.role-item strong,
.role-item span,
.ia-lead,
.ia-why,
.ia-caption,
.ia-stack li,
.ia-flow-tree li,
ul.ticks li,
.decision-card p,
.wf-col p,
.flow-label,
.takeaway-support,
.final-ui-lead,
.interaction p.body,
.testing p.body,
.testing-participants,
.qa-close p,
.impact p.body {
  font-size: var(--text-body) !important;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

strong {
  font-weight: 600;
  color: inherit;
}

img { display: block; max-width: 100%; }

/* FedEx plane motif */
.fx-plane {
  display: inline-block;
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
}

.fx-plane--sm {
  width: 1rem;
  height: 1rem;
}

.fx-plane--flow {
  width: 1.35rem;
  height: 1.35rem;
  mix-blend-mode: multiply;
}

.fx-plane--on-dark {
  width: 1rem;
  height: 1rem;
  border-radius: 0.2rem;
}

.fx-plane--takeaway {
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 auto 0.55rem;
  padding: 0.35rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero — FedEx marketing: solid purple, clean type, open layout */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: min(72vh, 580px);
  display: flex;
  align-items: center;
  padding: 4.5rem 0 4rem;
  background: linear-gradient(115deg, #3d0f72 0%, #4d148c 55%, #5a1a9e 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 85% 50%, rgba(255, 98, 0, 0.18), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  display: none;
}

.hero-glow {
  display: none;
}

.hero .wrap {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-logo {
  margin-bottom: 1.15rem;
}

.hero-logo img {
  display: block;
  width: auto;
  height: clamp(2.4rem, 4.5vw, 3.25rem);
  max-width: min(100%, 12rem);
  object-fit: contain;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.eyebrow .fx-plane {
  background: transparent;
  border-radius: 0;
  padding: 0;
  width: 1.05rem;
  height: 1.05rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4.6vw, 3.35rem);
  font-weight: 700;
  max-width: 14ch;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

.hero-title-tight {
  display: inline;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.hero .sub {
  margin-top: 1.15rem;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  max-width: 36ch;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.hero-outcomes {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 34rem;
}

.hero-outcomes li {
  position: relative;
  padding-left: 1.15rem;
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.8vw, 1.15rem);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.hero-outcomes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--orange);
}

.hero-outcomes strong {
  font-weight: 700;
  color: #fff;
}

.hero-visual {
  display: flex;
  justify-content: center;
  perspective: none;
  position: relative;
  z-index: 2;
}

.hero-mockup {
  width: min(100%, 32rem);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  transform: none;
  transition: none;
  background: #1a0f2e;
  box-shadow: 0 18px 40px rgba(20, 8, 40, 0.35);
}

.hero-mockup:hover {
  transform: none;
  box-shadow: 0 18px 40px rgba(20, 8, 40, 0.35);
}

.hero-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 88% 52%;
  transform: scale(1.16);
  transform-origin: 88% 52%;
  display: block;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 1.5rem 2rem;
    align-items: center;
  }

  .hero-visual {
    justify-content: flex-end;
    margin-left: -0.75rem;
    margin-right: 0;
  }

  .hero-mockup {
    width: min(100%, 32rem);
  }
}

@media (max-width: 899px) {
  .hero {
    min-height: auto;
    padding: 3.25rem 0 2.5rem;
  }

  .hero-glow {
    width: 90%;
    left: -10%;
    top: 0;
    height: 18rem;
  }

  .hero-title-tight {
    white-space: normal;
  }

  .hero-mockup {
    transform: none;
    width: min(100%, 26rem);
  }

  .hero-mockup:hover { transform: none; }
}

/* Sections — open rhythm like FedEx marketing */

.block {
  padding: 5rem 0;
  border-top: none;
  background: var(--white);
}

.block:nth-of-type(even):not(.final-ui) {
  background: var(--surface-soft);
}

/* Overview — open columns + dividers, no cards */

.overview {
  padding: 4.5rem 0;
  background: var(--white);
}

.overview .sec-head {
  font-size: clamp(1.55rem, 2.6vw, 2rem);
}

.overview h2.sec .bar {
  margin-top: 0.7rem;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin-top: 2.75rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.overview-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  width: 100%;
  padding: 1.5rem 1.35rem 1.55rem;
  background: transparent;
  border: none;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  transition: none;
}

.overview-card:last-child {
  border-right: none;
}

.overview-card-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.overview-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--purple);
  flex-shrink: 0;
}

.overview-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.overview-card h4 {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--purple);
  margin: 0;
}

.overview-card p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}

.overview-card--impact {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.overview-card--impact .overview-icon {
  color: var(--orange);
}

.overview-card--impact h4 {
  color: var(--orange);
}

.overview-card--impact p {
  color: var(--ink);
}

.overview-card:hover,
.overview-card--impact:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}

.overview-card:last-child:hover {
  border-color: transparent;
}

@media (max-width: 900px) {
  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 2.25rem;
  }

  .overview-card:nth-child(2) {
    border-right: none;
  }

  .overview-card:nth-child(1),
  .overview-card:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 480px) {
  .overview-grid { grid-template-columns: 1fr; }

  .overview-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .overview-card:last-child {
    border-bottom: none;
  }
}

/* Problem — pain left, annotated UI right */

.problem {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.problem-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.problem .sec-head {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.problem h2.sec .bar {
  margin-top: 0.65rem;
}

.problem-context {
  margin-top: 1.1rem;
  margin-bottom: 0;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.55;
  color: #3a3f45;
  max-width: 38ch;
}

.problem-lead {
  margin-top: 1.15rem;
  margin-bottom: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.45;
  max-width: 34ch;
}

.problem-divider {
  border: 0;
  height: 1px;
  width: 3.25rem;
  margin: 1rem 0 1.1rem;
  background: rgba(77, 20, 140, 0.28);
}

.problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.problem-list li {
  position: relative;
  padding-left: 1.55rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  color: #3a3f45;
  max-width: 36ch;
}

.problem-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--orange);
}

.problem-list li strong {
  font-weight: 600;
  color: var(--ink);
}

.problem-note {
  margin-top: 1.25rem;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  max-width: 36ch;
  padding-left: 0.85rem;
  border-left: 3px solid var(--orange);
}

.problem-visual {
  margin: 0;
  position: relative;
}

.problem-visual-frame {
  position: relative;
  padding: 1rem;
  border-radius: 1.15rem;
  background:
    radial-gradient(ellipse 70% 60% at 70% 40%, rgba(255, 98, 0, 0.08), transparent 65%),
    linear-gradient(160deg, #f3eef9 0%, #ebe6f4 100%);
  border: 1px solid rgba(77, 20, 140, 0.1);
}

.problem-visual-frame::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 0.85rem;
  background: linear-gradient(
    180deg,
    rgba(20, 10, 30, 0.12) 0%,
    rgba(20, 10, 30, 0.05) 40%,
    rgba(20, 10, 30, 0.18) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.problem-visual-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: cover;
  object-position: top left;
  border-radius: 0.85rem;
  box-shadow:
    0 22px 48px rgba(42, 16, 72, 0.16),
    0 6px 16px rgba(42, 16, 72, 0.08);
  background: #eef0f4;
}

.problem-annotations {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 1rem;
  pointer-events: none;
  z-index: 2;
}

.problem-annotations .pa {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.pa-dot {
  position: relative;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--orange);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(255, 98, 0, 0.45), 0 4px 10px rgba(20, 10, 30, 0.25);
  animation: pa-pulse 1.8s ease-in-out infinite;
}

.pa-dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(255, 98, 0, 0.55);
  animation: pa-ring 1.8s ease-out infinite;
}

.pa-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 0.48rem 0.75rem;
  border-radius: 0.55rem;
  color: #fff;
  background: #ff6200;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 22px rgba(255, 98, 0, 0.35), 0 4px 10px rgba(20, 10, 30, 0.2);
  white-space: nowrap;
  transform: rotate(-2deg);
}

.pa-chip em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  opacity: 0.9;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  padding: 0.12rem 0.38rem;
}

.pa-1 {
  top: 9%;
  right: 3%;
}

.pa-1 .pa-chip {
  transform: rotate(2deg);
  background: #ff6200;
}

.pa-2 {
  top: 40%;
  left: 2.5%;
}

.pa-2 .pa-dot {
  background: #e03e2f;
  box-shadow: 0 0 0 3px rgba(224, 62, 47, 0.45), 0 4px 10px rgba(20, 10, 30, 0.25);
}

.pa-2 .pa-dot::after {
  border-color: rgba(224, 62, 47, 0.55);
}

.pa-2 .pa-chip {
  transform: rotate(-2.5deg);
  background: #d92d20;
  box-shadow: 0 10px 22px rgba(217, 45, 32, 0.35), 0 4px 10px rgba(20, 10, 30, 0.2);
}

.pa-3 {
  bottom: 7%;
  right: 3%;
}

.pa-3 .pa-dot {
  background: #4d148c;
  box-shadow: 0 0 0 3px rgba(77, 20, 140, 0.45), 0 4px 10px rgba(20, 10, 30, 0.25);
}

.pa-3 .pa-dot::after {
  border-color: rgba(77, 20, 140, 0.55);
}

.pa-3 .pa-chip {
  transform: rotate(1.5deg);
  background: #4d148c;
  box-shadow: 0 10px 22px rgba(77, 20, 140, 0.4), 0 4px 10px rgba(20, 10, 30, 0.2);
}

@keyframes pa-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes pa-ring {
  0% { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.55); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pa-dot,
  .pa-dot::after {
    animation: none;
  }
}

.problem-visual figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #4a5058;
  text-align: center;
}

.problem-cap-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
}

@media (min-width: 860px) {
  .problem-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.2fr);
    gap: 1.35rem 1.5rem;
    align-items: center;
  }

  .problem-visual {
    margin-left: -0.25rem;
  }
}

@media (max-width: 859px) {
  .pa-chip {
    font-size: 0.68rem;
    padding: 0.4rem 0.6rem;
  }

  .pa-chip em {
    display: none;
  }
}

/* Research — methods cards only; insights + quote open */

.research {
  padding-top: 3rem;
  padding-bottom: 3.25rem;
  background: #faf9fb;
}

.research-wrap {
  max-width: 1152px;
}

.research .sec-head {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.research-context {
  margin-top: 0.95rem;
  max-width: 52rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.research-context p {
  margin: 0;
  font-size: var(--text-body);
  line-height: 1.55;
  color: rgba(36, 40, 43, 0.72);
}

.research-body {
  margin-top: 1.65rem;
}

.board-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 1.75rem 0 0.85rem;
}

.research-methods {
  margin-top: 2.75rem;
  margin-bottom: 3rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.research-methods .board-label {
  margin-top: 0;
  margin-bottom: 1.1rem;
}

.sticky-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 100%;
  align-items: stretch;
  margin: 0;
}

.sticky {
  position: relative;
  min-height: 0;
  padding: 1.45rem 1.35rem 1.4rem;
  border-radius: 0;
  border: 0;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.sticky::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 10px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.sticky-icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  margin-bottom: 0.45rem;
  color: rgba(120, 90, 30, 0.7);
}

.sticky-icon svg {
  width: 100%;
  height: 100%;
}

.sticky-tag {
  display: none;
}

/* Methods as sticky notes — ruled notebook paper */
.sticky--method {
  background-color: #fff6d6;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 22%),
    repeating-linear-gradient(
      transparent 0,
      transparent 27px,
      rgba(180, 140, 60, 0.18) 27px,
      rgba(180, 140, 60, 0.18) 28px
    );
  background-size: 100% 100%, 100% 28px;
  background-position: 0 0, 0 2.15rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    2px 8px 16px rgba(80, 60, 20, 0.12),
    0 2px 4px rgba(80, 60, 20, 0.06);
}

.sticky--method p {
  font-family: "Patrick Hand", var(--font-body);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: #2c2834;
}

.sticky small {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(44, 40, 52, 0.62);
  font-weight: 400;
}

.research-visual {
  margin: 1.75rem 0 0;
  max-width: 100%;
}

.research-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.research-table-wrap {
  margin-top: 4rem;
  margin-bottom: 2.5rem;
  width: 100%;
  overflow-x: auto;
}

.research-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--text-body);
  line-height: 1.5;
  min-width: 40rem;
  border: 1px solid var(--line);
}

.research-table th,
.research-table td {
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink);
  width: 33.333%;
}

.research-table--4 {
  min-width: 52rem;
}

.research-table--4 th,
.research-table--4 td {
  width: 25%;
}

.research-table th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--purple);
  border-bottom: 2px solid var(--line);
}

.research-table th:nth-child(2),
.research-table th:nth-child(4) {
  color: var(--orange);
}

.research-table td {
  color: #3a3545;
}

.research-table td:nth-child(2) {
  font-weight: 500;
  color: #2c2834;
}

@media (max-width: 700px) {
  .research-table-wrap {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .research-table th,
  .research-table td {
    padding: 0.85rem 0.75rem;
    font-size: 0.95rem;
  }
}

/* Quote — editorial, not a card */
.research-quote {
  margin: 6.5rem 0 0;
  padding: 0.35rem 0 0.15rem 1.15rem;
  max-width: 36rem;
  border: 0;
  border-left: 3px solid var(--purple);
  background: none;
  box-shadow: none;
}

.research-quote .quote-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 0.7;
  color: rgba(77, 20, 140, 0.28);
  margin: 0 0 0.15rem;
}

.research-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}

.research-quote cite {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(77, 20, 140, 0.65);
}

.r1 { transform: rotate(-1.6deg); }
.r2 { transform: rotate(1.2deg); }
.r3 { transform: rotate(-0.8deg); }

.r1:hover { transform: translateY(-4px) rotate(-1.6deg); }
.r2:hover { transform: translateY(-4px) rotate(1.2deg); }
.r3:hover { transform: translateY(-4px) rotate(-0.8deg); }

@media (max-width: 900px) {
  .sticky-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .sticky-row {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }

  .r1,
  .r2,
  .r3,
  .r1:hover,
  .r2:hover,
  .r3:hover {
    transform: none;
  }
}

/* IA — centered structure diagram */

.ia {
  background: var(--white);
  text-align: center;
}

.ia .sec .bar {
  margin-inline: auto;
}

.ia-lead {
  margin: 1rem auto 0;
  max-width: 36rem;
}

.ia-why {
  margin: 1.75rem auto 0;
  max-width: 42rem;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
}

.ia-diagram {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr);
  gap: 1.25rem 1.5rem;
  align-items: stretch;
  text-align: left;
  max-width: 52rem;
  margin-inline: auto;
}

.ia-col {
  border-radius: 0.75rem;
  padding: 1.35rem 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-top: 3px solid #b7a8c9;
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 6px 18px rgba(42, 16, 72, 0.04);
}

.ia-col--before {
  border-top-color: #b7a8c9;
  opacity: 0.92;
}

.ia-col--after {
  border-top-color: var(--orange);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(77, 20, 140, 0.07);
}

.ia-col-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.ia-col-sub {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0.35rem 0 1rem;
  color: var(--ink);
}

.ia-stack {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  flex: 1;
}

.ia-stack li {
  padding: 0.7rem 0.85rem;
  border-radius: 0.55rem;
  background: #ebe7f1;
  color: var(--ink-soft);
  font-size: 0.92rem;
  text-align: center;
  border: 1px dashed #c9c0d8;
}

.ia-flow-tree {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  flex: 1;
  counter-reset: none;
}

.ia-flow-tree li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.65rem;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.95rem;
  position: relative;
}

.ia-flow-tree li + li::before {
  content: "";
  position: absolute;
  left: 1.35rem;
  top: -0.45rem;
  width: 2px;
  height: 0.45rem;
  background: #ffc39a;
}

.ia-flow-tree .n {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
  background: var(--purple);
  font-family: var(--font-body);
}

.ia-caption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}

.ia-shift {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding-top: 2rem;
}

.ia-shift-arrow {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(77, 20, 140, 0.12);
}

.ia-shift-text {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (max-width: 820px) {
  .ia-diagram {
    grid-template-columns: 1fr;
    max-width: 26rem;
  }

  .ia-shift {
    padding-top: 0;
    flex-direction: row;
    gap: 0.55rem;
  }

  .ia-shift-arrow {
    transform: rotate(90deg);
  }
}

/* Objective — big centered, memorable */

.objective {
  position: relative;
  padding: 2.25rem 0;
  background: var(--purple);
  border-top: none;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

.objective-inner {
  position: relative;
  z-index: 1;
  max-width: 52rem; /* ~832px reading width */
  margin: 0 auto;
}

.objective .sec-head {
  justify-content: center;
  margin-bottom: 0.85rem;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
}

.objective .kicker {
  color: rgba(255, 255, 255, 0.18);
}

.objective h2.sec {
  color: rgba(255, 255, 255, 0.92);
}

.objective h2.sec .bar {
  display: none;
}

.objective-line {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 auto;
  max-width: 50rem; /* ~800px */
}

.objective-line__a,
.objective-line__b {
  display: block;
}

.objective-line__b {
  margin-top: 0.15em;
}

.objective-accent {
  display: block;
  width: 2.75rem;
  height: 3px;
  margin: 0.9rem auto 0;
  border-radius: 2px;
  background: var(--orange);
}

.brand-word {
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-block;
}

.brand-word--purple { color: #fff; }
.brand-word--pink { color: #ffb4d9; }
.brand-word--orange { color: #ffb087; }

.objective-line[data-reveal].reveal-in .brand-word,
.objective-line.reveal-in .brand-word {
  animation: brand-pop 0.55s ease both;
}

.objective-line[data-reveal].reveal-in .brand-word--orange,
.objective-line.reveal-in .brand-word--orange {
  animation-delay: 0.12s;
}

@keyframes brand-pop {
  from {
    opacity: 0.35;
    transform: translateY(0.35em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767px) {
  .objective { padding: 1.85rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  .objective-line[data-reveal].reveal-in .brand-word,
  .objective-line.reveal-in .brand-word {
    animation: none;
  }
}

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 0.35rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.ia .sec-head,
.userflow .sec-head,
.wireframes .sec-head,
.final-ui-head .sec-head,
.decisions .sec-head,
.roadmap .sec-head,
.challenges .sec-head,
.learnings .sec-head,
.impact .sec-head {
  justify-content: center;
}

.kicker {
  font-family: var(--font-display);
  font-size: 1em;
  letter-spacing: -0.02em;
  text-transform: none;
  color: rgba(36, 40, 43, 0.1);
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
  flex-shrink: 0;
}

h2.sec {
  font-family: var(--font-display);
  font-size: 1em;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

h2.sec .bar {
  display: none;
}

h3.sub {
  font-weight: 600;
  font-size: 1.05rem;
  margin: 1.75rem 0 0.7rem;
  color: var(--purple);
}

p.lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 70ch;
  margin-top: 1.25rem;
}

p.body {
  color: var(--ink-soft);
  max-width: 70ch;
  font-weight: 400;
  font-size: var(--text-body);
  line-height: 1.6;
}

/* My Role — 2-column structured cards */

.role {
  padding-top: 3rem;
  padding-bottom: 3.25rem;
}

.role .sec-head {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.role-lead {
  margin-top: 1.15rem;
  margin-bottom: 0;
  max-width: 52ch;
  font-weight: 500;
  color: var(--ink);
}

.role-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.role-col {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.35rem 1.35rem 1.2rem;
  box-shadow: 0 6px 18px rgba(42, 16, 72, 0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.role-col:hover {
  transform: translateY(-2px);
  border-color: var(--line);
  box-shadow: 0 12px 28px rgba(77, 20, 140, 0.08);
}

.role-col-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(77, 20, 140, 0.12);
}

.role-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.05rem; /* ~16–20px */
}

.role-item {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.role-icon {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.12rem;
  color: rgba(77, 20, 140, 0.55);
}

.role-icon svg {
  width: 100%;
  height: 100%;
}

.role-item div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.role-item strong {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink);
}

.role-item span {
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.5;
  color: #5a5566;
}

.role-item--key strong {
  font-weight: 700;
  color: var(--ink);
}

.role-item--key .role-icon {
  color: var(--orange);
}

.role-item--key span {
  color: #3f3a4a;
}

@media (min-width: 800px) {
  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

ul.ticks {
  list-style: none;
  margin-top: 0.5rem;
}

ul.ticks li {
  position: relative;
  padding-left: 1.5rem;
  margin: 0.6rem 0;
  color: var(--ink-soft);
  max-width: 70ch;
  font-weight: 400;
}

ul.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--orange);
}

ul.ticks.purple li::before { background: var(--purple); }

ul.ticks.ticks--2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.5rem;
  row-gap: 0.35rem;
  max-width: 52rem;
}

ul.ticks.ticks--2col li {
  margin: 0.35rem 0;
  max-width: none;
}

@media (max-width: 640px) {
  ul.ticks.ticks--2col {
    grid-template-columns: 1fr;
    max-width: 70ch;
  }
}

.grid { display: grid; gap: 1rem; }
.g2 { grid-template-columns: 1fr; }
.g3 { grid-template-columns: 1fr; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.35rem 1.4rem;
}

.card h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.card p {
  margin-top: 0.45rem;
  font-size: 1.05rem;
  color: var(--ink);
  font-family: var(--font-display);
}

.pullquote {
  background:
    radial-gradient(ellipse 55% 80% at 90% 20%, rgba(255, 98, 0, 0.2), transparent 55%),
    linear-gradient(135deg, #3a0f6e 0%, #4d148c 55%, #5a1a9e 100%);
  color: #fff;
  border-radius: 1rem;
  padding: 1.35rem 2.35rem 1.45rem;
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.pullquote::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  pointer-events: none;
}

.pullquote::after {
  content: none;
}

.pullquote .label {
  position: relative;
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
}

.pullquote p {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
  margin-top: 0.55rem;
  max-width: 34ch;
  color: #fff;
}

.pullquote p strong {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 600px) {
  .pullquote {
    padding: 1.2rem 1.25rem 1.3rem;
  }
}

ol.steps {
  list-style: none;
  counter-reset: s;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  margin-top: 0.5rem;
}

ol.steps li {
  counter-increment: s;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 0.65rem;
  padding: 0.95rem 1.05rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

ol.steps li::before {
  content: counter(s);
  display: block;
  font-size: 0.75rem;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

/* User flow — horizontal steps with arrows */

.userflow {
  background: var(--white);
  text-align: center;
}

.userflow .sec .bar {
  margin-inline: auto;
}

.userflow-lead {
  margin: 0.85rem auto 0;
  max-width: 28rem;
  color: rgba(36, 40, 43, 0.65);
}

/* Simple linear loop: ●────●────● … ↺ */
.flow-loop {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem 0.15rem;
  margin: 2.25rem auto 0;
  padding: 0.5rem 0;
  max-width: 56rem;
  width: 100%;
  position: relative;
  overflow: visible;
}

.flow-loop::before {
  content: "";
  position: absolute;
  top: calc(0.5rem + 1.5rem);
  left: 3%;
  right: 3%;
  height: 1px;
  background: rgba(36, 40, 43, 0.18);
  z-index: 0;
}

.flow-step {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  max-width: 7.5rem;
  padding: 0 0.2rem;
}

.flow-num {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-body);
  background: #fff;
  color: var(--purple);
  border: 2px solid var(--purple);
  box-shadow: none;
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.flow-label {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(36, 40, 43, 0.75);
  line-height: 1.25;
  white-space: normal;
  text-wrap: balance;
  text-align: center;
}

.flow-step--current .flow-num {
  background: #fff;
  color: var(--orange);
  border-color: var(--orange);
}

.flow-step--current .flow-label {
  color: var(--orange);
  font-weight: 600;
}

.flow-step--loop .flow-num {
  border-style: dashed;
  color: var(--purple);
  border-color: var(--purple);
}

@media (max-width: 700px) {
  .flow-loop {
    gap: 1.25rem 0.5rem;
  }

  .flow-loop::before {
    display: none;
  }

  .flow-step {
    flex: 0 0 calc(33.333% - 0.5rem);
    max-width: none;
  }
}

/* Wireframes — clear layers: see → read → learn */

.wireframes {
  background: var(--white);
  text-align: center;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.wireframes .sec .bar {
  margin-inline: auto;
}

.wireframes-lead {
  margin: 1rem auto 0;
  max-width: 44rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* Image 75% + points 25%, stacked rows */
.wf-compare {
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: stretch;
  text-align: left;
  max-width: var(--maxw);
}

.wf-pair {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wf-pair-head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.wf-pair-body {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(10rem, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.wf-shot {
  margin: 0;
  min-width: 0;
}

.wf-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.wf-badge--after {
  color: var(--orange);
}

.wf-col-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 28ch;
  text-wrap: balance;
  margin: 0;
}

.wf-pair--after .wf-col-title {
  max-width: none;
}

.wf-media {
  position: relative;
  border-radius: 0.4rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f7f5fa;
}

.wf-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.wf-marks {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.wf-mark {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.wf-mark-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: #d92d20;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(217, 45, 32, 0.35);
}

.wf-mark-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.38rem 0.6rem;
  border-radius: 0.4rem;
  color: #fff;
  background: #d92d20;
  box-shadow: 0 6px 14px rgba(20, 10, 30, 0.22);
  white-space: nowrap;
}

.wf-mark-chip em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  opacity: 0.9;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  padding: 0.1rem 0.32rem;
}

/* Before — problem callouts */
.wf-mark--p1 { top: 18%; left: 4%; }           /* dense scattered body */
.wf-mark--p2 { top: 4%; right: 18%; }           /* KPIs in header */
.wf-mark--p2 .wf-mark-chip { transform: rotate(1deg); }
.wf-mark--p3 { top: 42%; left: 8%; }            /* red input/output labels */
.wf-mark--p4 { bottom: 8%; right: 6%; }         /* no clear CTA */

/* After — solution callouts (orange/purple) */
.wf-pair--after .wf-mark-dot {
  background: var(--orange);
  box-shadow: 0 0 0 2px rgba(255, 98, 0, 0.35);
}

.wf-pair--after .wf-mark-chip {
  background: var(--orange);
}

.wf-mark--s1 { top: 14%; left: 28%; }           /* main decision canvas */
.wf-mark--s2 { top: 38%; left: 36%; }           /* grouped input modules */
.wf-mark--s3 { top: 28%; left: 3%; }            /* KPI sidebar */
.wf-mark--s3 .wf-mark-dot,
.wf-mark--s3 .wf-mark-chip {
  background: var(--purple);
  box-shadow: 0 0 0 2px rgba(77, 20, 140, 0.3);
}
.wf-mark--s3 .wf-mark-chip {
  box-shadow: 0 6px 14px rgba(20, 10, 30, 0.22);
}
.wf-mark--s4 { bottom: 6%; left: 4%; }          /* Submit Decisions */

.wf-side {
  min-width: 0;
  padding-top: 0; /* lists start at image top */
}

.wf-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.wf-points li:first-child {
  padding-top: 0;
}

.wf-points li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
}

.wf-points li em {
  flex-shrink: 0;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #d92d20;
  margin-top: 0.2rem;
}

.wf-pair--after .wf-points li em {
  color: var(--orange);
}

@media (max-width: 700px) {
  .wf-mark-chip {
    font-size: 0.64rem;
    padding: 0.3rem 0.45rem;
  }

  .wf-mark--p2,
  .wf-mark--p4 {
    display: none;
  }

  .wf-mark--s2 {
    display: none;
  }
}

.wf-bridge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.5rem 0 0.75rem;
  color: var(--orange);
  text-align: left;
}

.wf-arrow {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.wf-bridge-text {
  margin: 0;
  max-width: 40rem;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  text-wrap: balance;
  text-align: left;
}

/* Layer 3 — tested / iterations */
.wf-meta {
  margin: 3.25rem auto 0;
  padding: 2.5rem 0 0;
  border-top: 1px solid var(--line);
  max-width: var(--maxw);
  width: 100%;
}

.wf-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 18px;
  line-height: 1.5;
  border: 1px solid var(--line);
}

.wf-table th,
.wf-table td {
  padding: 1.05rem 1.5rem;
  border: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink);
  background: transparent;
}

.wf-table th {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--purple);
  background: transparent;
  border-bottom: 2px solid var(--line);
}

.wf-table th:last-child {
  color: var(--orange);
  background: transparent;
}

.wf-table td:first-child,
.wf-table th:first-child {
  width: 50%;
}

.wf-table tbody tr:nth-child(even) td {
  background: transparent;
}

@media (max-width: 600px) {
  .wf-table th,
  .wf-table td {
    padding: 0.85rem 0.9rem;
    font-size: 16px;
  }
}

.wf-insight {
  margin: 3rem auto 0;
  max-width: 26rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.wf-insight::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 3px;
  margin: 0 auto 1rem;
  background: var(--orange);
  border-radius: 2px;
}

@media (max-width: 900px) {
  .wf-pair-body {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .wf-col-title {
    font-size: 1.2rem;
    max-width: none;
  }
}

/* Final UI — white section, readable dark text */

.final-ui {
  background: var(--white);
  color: var(--ink);
  border-top: none;
  border-bottom: none;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

.final-ui-head {
  text-align: center;
}

.final-ui .sec {
  color: var(--ink);
}

.final-ui .sec .bar {
  margin-inline: auto;
  background: var(--orange);
}

.final-ui p.body.final-ui-lead,
.final-ui .final-ui-lead {
  margin: 1rem auto 0;
  max-width: 36rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-soft);
}

.final-ui-callouts {
  list-style: none;
  margin: 1.75rem auto 0;
  padding: 0;
  width: 100%;
  max-width: var(--maxw);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}

.final-ui-callouts li {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.35rem 1.5rem;
  border-right: 1px solid var(--line);
}

.final-ui-callouts li:first-child {
  padding-left: 0;
}

.final-ui-callouts li:last-child {
  border-right: none;
  padding-right: 0;
}

.fui-callout-mark {
  display: inline-flex;
  color: var(--orange);
  margin-bottom: 0.15rem;
}

.fui-callout-mark svg {
  display: block;
}

.final-ui-callouts strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.final-ui-callouts li > span:last-child {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.final-ui-stack {
  margin-top: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

@media (max-width: 800px) {
  .final-ui-callouts {
    grid-template-columns: 1fr;
  }

  .final-ui-callouts li {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
  }

  .final-ui-callouts li:first-child {
    padding-top: 0;
  }

  .final-ui-callouts li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

.ui-shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ui-shot-meta {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  text-align: left;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
}

.ui-shot-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(36, 40, 43, 0.1);
  line-height: 1.15;
}

.ui-shot-title {
  font-family: var(--font-display);
  font-size: 1em;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
}

.ui-shot-frame {
  width: 100%;
  border-radius: 0.65rem;
  box-shadow:
    0 14px 32px rgba(42, 16, 72, 0.1),
    0 0 0 1px var(--line);
  background: #2a0a4d;
  overflow: hidden;
}

.ui-shot-frame img {
  /* Zoom + shift to crop decorative left/right margins in screenshots */
  width: 108%;
  max-width: none;
  height: auto;
  display: block;
  margin-left: -4%;
  /* Hide Figma top bar */
  margin-top: -2.35%;
  transition: transform 0.4s ease;
}

.ui-shot:hover .ui-shot-frame img {
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .final-ui-stack {
    gap: 2rem;
  }

  .ui-shot-meta {
    gap: 0.65rem;
  }
}

/* Design decisions — soft cards (grouped thinking, not flat row) */

.decisions {
  background: var(--white);
  text-align: center;
}

.decisions .sec .bar {
  margin-inline: auto;
}

.decision-grid {
  list-style: none;
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  max-width: 56rem;
  border: none;
}

.decision-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.6rem 1.25rem 1.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  min-height: 100%;
  box-shadow: 0 6px 18px rgba(42, 16, 72, 0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.decision-card:hover {
  border-color: #d4c8e6;
  box-shadow: 0 12px 28px rgba(77, 20, 140, 0.08);
  transform: translateY(-2px);
}

.decision-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: none;
  border: none;
  border-radius: 0;
  width: 3.75rem;
  height: 3.75rem;
  padding: 0;
  flex-shrink: 0;
}

.decision-icon img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  display: block;
}

.decision-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
  text-wrap: balance;
  max-width: 22ch;
}

.decision-text {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 26ch;
  text-wrap: pretty;
}

@media (min-width: 640px) {
  .decision-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .decision-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
    max-width: none;
  }

  .decision-card {
    padding: 1.65rem 1.1rem 1.75rem;
  }
}

/* Trade-offs & Constraints — compact card */
.tradeoffs {
  background: var(--surface-soft);
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
  text-align: center;
}

.tradeoffs-wrap {
  max-width: 1152px;
}

.tradeoffs .sec-head {
  justify-content: center;
}

.tradeoffs-card {
  margin: 1.35rem auto 0;
  max-width: 48rem;
  padding: 1.35rem 1.45rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: 0 6px 18px rgba(42, 16, 72, 0.04);
  text-align: left;
}

.tradeoffs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tradeoffs-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.55;
  color: #3a3545;
}

.tradeoffs-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--orange);
}

.interaction-video {
  margin: 1.75rem 0 0;
  width: 100%;
}

.interaction-video video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  border: 1px solid var(--line);
  background: #1a0f2e;
  box-shadow: 0 12px 28px rgba(42, 16, 72, 0.08);
}

.interaction-video figcaption {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-align: left;
}

/* Testing & Validation — QA examples */
.testing {
  background: var(--surface-soft);
}

.testing-wrap {
  max-width: 1152px;
}

.testing-participants {
  margin-top: 0.35rem;
  color: var(--ink-soft);
}

.qa-case {
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.qa-case:first-of-type {
  margin-top: 2rem;
  padding-top: 0;
  border-top: 0;
}

.qa-case-head {
  margin-bottom: 1.25rem;
}

.qa-case-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.4rem;
}

.qa-case-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
}

.qa-shot {
  margin: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.qa-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.qa-shot-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 800px) {
  .qa-shot-pair {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
}

.qa-table-wrap {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.qa-fix-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.qa-fix-list li {
  position: relative;
  padding-left: 0.95rem;
  color: #3a3545;
  line-height: 1.45;
}

.qa-fix-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--purple);
}

.qa-close {
  margin: 3.5rem auto 0;
  max-width: 46rem;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.85rem;
  text-align: center;
  background: none;
  border: 0;
  box-shadow: none;
}

.qa-close-brace {
  flex: 0 0 1.35rem;
  width: 1.35rem;
  align-self: stretch;
  color: var(--orange);
  opacity: 0.8;
  user-select: none;
}

.qa-close-brace svg {
  display: block;
  width: 100%;
  height: 100%;
}

.qa-close-body {
  min-width: 0;
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0;
}

.qa-close-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.75rem;
}

.qa-close p {
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.1vw, 1.3rem) !important;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.45 !important;
  color: var(--ink);
}

@media (max-width: 560px) {
  .qa-close {
    gap: 0.55rem;
  }

  .qa-close-brace {
    flex-basis: 1rem;
    width: 1rem;
  }
}

.visual {
  border: 1.5px dashed #cfc6de;
  border-radius: 0.9rem;
  background: repeating-linear-gradient(45deg, rgba(77, 20, 140, 0.035) 0 10px, transparent 10px 20px);
  padding: 1.4rem;
  margin-top: 1.25rem;
}

.visual .tag {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 600;
}

.visual ul {
  list-style: none;
  margin-top: 0.5rem;
}

.visual ul li {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0.3rem 0;
  padding-left: 1rem;
  position: relative;
}

.visual ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--orange);
}

/* Next improvements — visual timeline */

.roadmap {
  background: var(--surface);
  text-align: center;
}

.roadmap .sec .bar {
  margin-inline: auto;
}

.roadmap-lead {
  margin: 0.85rem auto 0;
  max-width: 38rem;
  color: rgba(36, 40, 43, 0.65);
}

.timeline {
  --marker-size: 1.25rem;
  list-style: none;
  margin: 3rem auto 0;
  padding: 0;
  max-width: 56rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  column-gap: 0;
  row-gap: 0;
  position: relative;
  text-align: center;
}

/* Children join parent grid so marker row + line share one axis */
.timeline-item {
  display: contents;
}

.timeline-label {
  grid-row: 1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--purple);
  justify-self: center;
}

.timeline-item--now .timeline-label { grid-column: 1; color: var(--purple); }
.timeline-item--next .timeline-label { grid-column: 2; color: #9a2bb8; }
.timeline-item--future .timeline-label { grid-column: 3; color: var(--orange); }

/* Track sits in the same row as markers, vertically centered */
.timeline::before {
  content: "";
  grid-row: 2;
  grid-column: 1 / -1;
  align-self: center;
  justify-self: stretch;
  height: 3px;
  margin-inline: 16.666%; /* center of first col → center of last col */
  border-radius: 999px;
  background: linear-gradient(90deg, #4d148c 0%, #9a2bb8 50%, #ff6200 100%);
  z-index: 0;
}

.timeline-marker {
  grid-row: 2;
  width: var(--marker-size);
  height: var(--marker-size);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  position: relative;
  z-index: 1;
}

.timeline-item--now .timeline-marker { grid-column: 1; }
.timeline-item--next .timeline-marker { grid-column: 2; }
.timeline-item--future .timeline-marker { grid-column: 3; }

.timeline-core {
  width: var(--marker-size);
  height: var(--marker-size);
  border-radius: 999px;
  background: var(--purple);
  border: 3px solid var(--surface); /* cuts the track cleanly through the marker */
  box-sizing: border-box;
  box-shadow: 0 0 0 3px rgba(77, 20, 140, 0.14);
}

.timeline-item--next .timeline-core {
  background: #9a2bb8;
  box-shadow: 0 0 0 3px rgba(154, 43, 184, 0.16);
}

.timeline-item--future .timeline-core {
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 98, 0, 0.16);
}

.timeline-body {
  grid-row: 3;
  width: 100%;
  max-width: 16rem;
  margin: 1.35rem auto 0;
  justify-self: center;
  padding: 0 0.75rem;
}

.timeline-item--now .timeline-body { grid-column: 1; }
.timeline-item--next .timeline-body { grid-column: 2; }
.timeline-item--future .timeline-body { grid-column: 3; }

.timeline-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 0.75rem;
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-item--next .timeline-icon { color: #9a2bb8; }
.timeline-item--future .timeline-icon { color: var(--orange); }

.timeline-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.timeline-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.timeline-body li {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: #4a4458;
}

/* Vertical timeline on small screens */
@media (max-width: 800px) {
  .timeline {
    grid-template-columns: 3rem 1fr;
    grid-template-rows: none;
    max-width: 26rem;
    text-align: left;
    row-gap: 0;
  }

  .timeline-item {
    display: contents;
  }

  .timeline::before {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: stretch;
    justify-self: center;
    width: 3px;
    height: auto;
    margin: 1.1rem 0;
    background: linear-gradient(180deg, #4d148c 0%, #9a2bb8 50%, #ff6200 100%);
  }

  .timeline-item--now .timeline-label,
  .timeline-item--next .timeline-label,
  .timeline-item--future .timeline-label {
    grid-column: 2;
    justify-self: start;
    margin: 0 0 0.35rem;
  }

  .timeline-item--now .timeline-marker,
  .timeline-item--next .timeline-marker,
  .timeline-item--future .timeline-marker {
    grid-column: 1;
    justify-self: center;
  }

  .timeline-item--now .timeline-body,
  .timeline-item--next .timeline-body,
  .timeline-item--future .timeline-body {
    grid-column: 2;
    max-width: none;
    margin: 0 0 1.75rem;
    padding: 0;
    justify-self: stretch;
  }

  /* Explicit row placement: label+marker, then body per item */
  .timeline-item--now .timeline-label { grid-row: 1; }
  .timeline-item--now .timeline-marker { grid-row: 1; align-self: center; }
  .timeline-item--now .timeline-body { grid-row: 2; }

  .timeline-item--next .timeline-label { grid-row: 3; }
  .timeline-item--next .timeline-marker { grid-row: 3; align-self: center; }
  .timeline-item--next .timeline-body { grid-row: 4; }

  .timeline-item--future .timeline-label { grid-row: 5; }
  .timeline-item--future .timeline-marker { grid-row: 5; align-self: center; }
  .timeline-item--future .timeline-body { grid-row: 6; margin-bottom: 0; }

  .timeline-icon {
    margin: 0 0 0.65rem;
  }
}

/* Challenges */

.challenges {
  background: var(--white);
  text-align: center;
}

.challenges .sec .bar {
  margin-inline: auto;
}

.challenges-lead {
  margin: 0.85rem auto 0;
  max-width: 36rem;
  color: rgba(36, 40, 43, 0.65);
}

.challenge-list {
  list-style: none;
  margin: 2.5rem auto 0;
  padding: 0;
  max-width: 44rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.challenge-row {
  display: grid;
  grid-template-columns: 3.25rem 9.5rem minmax(0, 22rem);
  gap: 1.25rem 1.35rem;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(77, 20, 140, 0.1);
}

.challenge-row:last-child {
  border-bottom: 1px solid rgba(77, 20, 140, 0.1);
}

.challenge-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(77, 20, 140, 0.18);
}

.challenge-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.challenge-visual svg {
  width: 100%;
  max-width: 10rem;
  height: auto;
  display: block;
}

.challenge-copy {
  min-width: 0;
}

.challenge-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.4rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.challenge-text {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  color: #4a4458;
  max-width: none;
}

@media (max-width: 700px) {
  .challenge-row {
    grid-template-columns: 2.75rem 1fr;
    gap: 0.65rem 1rem;
    padding: 1.35rem 0;
  }

  .challenge-visual {
    grid-column: 2;
    justify-content: flex-start;
  }

  .challenge-visual svg {
    max-width: 8.5rem;
  }

  .challenge-copy {
    grid-column: 2;
  }
}

/* Learnings — simple bullets, clean spacing */

.learnings {
  background: var(--white);
  text-align: center;
}

.learnings .sec .bar {
  margin-inline: auto;
}

.learn-highlight {
  margin: 1.75rem auto 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--purple);
}

.learn-rows {
  list-style: none;
  margin: 2.75rem auto 0;
  padding: 0;
  max-width: 36rem;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.learn-row {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 26rem);
  gap: 0.85rem 1.1rem;
  align-items: start;
  justify-content: center;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(77, 20, 140, 0.1);
}

.learn-row:last-child {
  border-bottom: 1px solid rgba(77, 20, 140, 0.1);
}

.learn-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: rgba(77, 20, 140, 0.22);
  padding-top: 0;
}

.learn-copy {
  min-width: 0;
}

.learn-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.learn-copy p {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  color: #4a4458;
  max-width: none;
}

.learn-row:hover .learn-num {
  color: rgba(77, 20, 140, 0.32);
}

@media (max-width: 700px) {
  .learn-row {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.5rem 1rem;
    padding: 1.25rem 0;
  }
}

/* Impact — big numbers, centered */

.impact {
  background: var(--white);
  text-align: center;
}

.impact .sec .bar {
  margin-inline: auto;
}

.impact-nums {
  list-style: none;
  margin: 2.75rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.25rem;
  max-width: 48rem;
  align-items: stretch;
}

.impact-nums li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100%;
  text-align: center;
}

.impact-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2em;
  min-height: 3.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.1rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--purple);
  white-space: nowrap;
}

.impact-arrow {
  font-size: 0.85em;
  line-height: 1;
  font-weight: 600;
}

.impact-nums li:nth-child(even) .impact-num {
  color: var(--orange);
}

.impact-label {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 2.7em;
  width: 100%;
  max-width: 12rem;
  margin: 0 auto;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-soft);
}

@media (min-width: 800px) {
  .impact-nums {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: none;
  }
}

/* Final takeaway — big bold statement */

.final.takeaway {
  background: var(--purple);
  color: #fff;
  padding: 2.25rem 0;
  border-top: none;
  text-align: center;
}

.takeaway-wrap {
  max-width: 48rem;
}

.takeaway-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.65rem;
}

.takeaway-line {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0;
  max-width: 16ch;
  margin-inline: auto;
  text-wrap: balance;
}

.takeaway-support {
  margin: 0.75rem auto 0;
  max-width: 40ch;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
}

.page-foot {
  padding: 1.5rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .g2 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(3, 1fr); }
  ol.steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .hero { padding: 4.5rem 0 3.5rem; }
  .block { padding: 3.25rem 0; }
}

/* —— Page loader + entrance —— */

#page-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a0a4d;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

#page-loader .pl-ring {
  position: relative;
  width: 3.75rem;
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

#page-loader .pl-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--orange);
  animation: fx-pl-spin 0.85s linear infinite;
}

#page-loader .pl-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 9999px;
  background: #fff;
  display: block;
  object-fit: contain;
  padding: 0.35rem;
  box-sizing: border-box;
  animation: fx-pl-pulse 1.25s ease-in-out infinite;
}

html.page-ready #page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes fx-pl-spin {
  to { transform: rotate(360deg); }
}

@keyframes fx-pl-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.88); }
}

.hero-copy,
.hero-visual {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-visual {
  transition-delay: 0.12s;
}

html.page-ready .hero-copy,
html.page-ready .hero-visual {
  opacity: 1;
  transform: none;
}

/* —— Hovers (cards, media, steps) —— */

.ia-col,
.wf-col,
.sticky {
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.challenge-row:hover .challenge-num {
  color: rgba(77, 20, 140, 0.32);
}

.challenge-row:hover .challenge-visual svg {
  transform: translateY(-2px);
}

.challenge-visual svg {
  transition: transform 0.28s ease;
}

.ia-col:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(77, 20, 140, 0.08);
}

.sticky:hover {
  box-shadow: 0 12px 24px rgba(42, 32, 56, 0.12);
}


.problem-visual-frame img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.problem-visual:hover .problem-visual-frame img {
  transform: scale(1.012);
  box-shadow:
    0 26px 52px rgba(42, 16, 72, 0.18),
    0 8px 18px rgba(42, 16, 72, 0.1);
}

.ui-shot-frame img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ui-shot:hover .ui-shot-frame img {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.flow-step {
  transition: transform 0.25s ease;
}

.flow-step:hover .flow-num {
  transform: translateY(-2px);
}

.impact-nums li {
  transition: transform 0.28s ease;
}

.impact-nums li:hover {
  transform: translateY(-4px);
}

.impact-nums li:hover .impact-num {
  filter: brightness(1.08);
}

.hero-logo img {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-logo:hover img {
  opacity: 0.92;
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  #page-loader .pl-ring::before,
  #page-loader .pl-mark {
    animation: none;
  }

  .hero-copy,
  .hero-visual,
  .overview-card,
  .decision-card,
  .ia-col,
  .wf-col,
  .sticky,
  .challenge-visual svg,
  .problem-visual-frame img,
  .ui-shot-frame img,
  .flow-step,
  .impact-nums li,
  .hero-logo img,
  .hero-mockup {
    transition: none !important;
  }

  .overview-card:hover,
  .decision-card:hover,
  .challenge-row:hover .challenge-visual svg,
  .ia-col:hover,
  .wf-col:hover,
  .r1:hover,
  .r2:hover,
  .r3:hover,
  .problem-visual:hover .problem-visual-frame img,
  .flow-step:hover,
  .impact-nums li:hover,
  .hero-logo:hover img,
  .hero-mockup:hover {
    transform: none !important;
  }

  .ui-shot:hover .ui-shot-frame img {
    transform: none !important;
  }

  html.page-ready .hero-copy,
  html.page-ready .hero-visual {
    opacity: 1;
    transform: none;
  }
}
