.hobby-case {
  --hobby-accent: #7471bd;
  --hobby-dark: #2d2d2d;
  --hobby-soft: #f1f1f6;
  --hobby-body-size: 17px;
  --hobby-body-line-height: 1.68;
}

.hobby-case .detail-progress-bar { background: var(--hobby-accent); }

.hobby-hero-subtitle {
  max-width: 760px;
  margin: clamp(28px, 3vw, 36px) auto 0;
  color: #777b83;
  font-size: var(--hobby-body-size);
  line-height: 1.5;
}

.hobby-media {
  position: relative;
  max-width: var(--detail-copy);
  overflow: hidden;
  margin: clamp(34px, 5vw, 64px) auto 0;
  border-radius: clamp(18px, 2.3vw, 30px);
  background: transparent;
}

.hobby-media img { display: block; width: 100%; height: auto; }

.hobby-hero-media {
  max-width: calc(var(--detail-copy) + 300px);
  margin-top: 0;
}

.hobby-context { padding-top: clamp(48px, 6vw, 76px); }

.hobby-context .detail-context-grid { gap: clamp(36px, 4vw, 48px); }

.hobby-context .detail-note p:last-child {
  font-size: var(--hobby-body-size);
  line-height: var(--hobby-body-line-height);
}

.hobby-process,
.hobby-research,
.hobby-design,
.hobby-mockups,
.hobby-testing { padding-block: clamp(68px, 8vw, 112px); }

.hobby-process { padding-top: clamp(76px, 9vw, 124px); }

.hobby-case .detail-section-heading { margin-bottom: clamp(38px, 5vw, 62px); }

.hobby-process-media { margin-top: 0; }

.hobby-callout {
  max-width: var(--detail-copy);
  margin: clamp(30px, 4vw, 48px) auto 0;
  padding: 24px 28px;
  border-radius: 20px;
  background: linear-gradient(145deg, #ececf4, #f6f5f8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .76);
}

.hobby-callout p {
  margin: 0;
  color: #5f636b;
  font-size: var(--hobby-body-size);
  line-height: var(--hobby-body-line-height);
}

.hobby-copy,
.hobby-subheading { max-width: var(--detail-copy); margin-right: auto; margin-left: auto; }

.hobby-copy {
  color: #5f636b;
  font-size: var(--hobby-body-size);
  line-height: var(--hobby-body-line-height);
}

.hobby-copy p:last-child { margin-bottom: 0; }

.hobby-copy a {
  color: var(--hobby-accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hobby-copy h3,
.hobby-subheading h3 {
  margin: 0 0 22px;
  color: var(--detail-heading);
  font-size: clamp(24px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.hobby-copy h3 { margin-top: 32px; }

.hobby-subheading { text-align: center; }

.hobby-research-media,
.hobby-compact-media { max-width: var(--detail-copy); }

.hobby-story { margin-top: clamp(100px, 12vw, 168px); }

.hobby-analysis-grid {
  display: grid;
  max-width: var(--detail-copy);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px auto 38px;
  padding: 0;
  list-style: none;
}

.hobby-analysis-grid li {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ececf4, #f6f5f8);
}

.hobby-analysis-grid span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--hobby-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.hobby-analysis-grid p { margin: 0; color: #555961; font-size: 15px; font-weight: 700; line-height: 1.45; }

.hobby-media-caption { margin-top: clamp(36px, 5vw, 58px); text-align: center; }

.hobby-feedback-media { max-width: var(--detail-copy); margin-top: 24px; }

.hobby-conclusions-heading { margin-top: clamp(56px, 7vw, 84px); text-align: center; }

.hobby-findings {
  display: grid;
  max-width: var(--detail-copy);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.hobby-findings li {
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--hobby-soft);
  color: #555961;
  font-size: 15px;
  line-height: 1.55;
}

.hobby-interview-parts,
.hobby-story-labels {
  display: grid;
  max-width: var(--detail-copy);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px auto 0;
}

.hobby-interview-parts p,
.hobby-story-labels p {
  display: grid;
  min-height: 86px;
  place-items: center;
  margin: 0;
  padding: 20px;
  border-radius: 18px;
  background: var(--hobby-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.hobby-findings-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.hobby-source-link { margin-top: 36px; text-align: center; }

.hobby-design { padding-top: clamp(80px, 9vw, 124px); }

.hobby-story-labels { margin-top: clamp(34px, 4vw, 52px); }

.hobby-story-labels p { background: var(--hobby-accent); font-size: 17px; }

.hobby-mockup-stack { display: grid; gap: clamp(18px, 2vw, 28px); margin-top: clamp(42px, 6vw, 72px); }

.hobby-mockup-stack .hobby-media { margin-top: 0; }

.hobby-image-note { margin-top: 24px; color: #8d9097; font-size: 14px; text-align: center; }

.hobby-testing .hobby-copy h3 { text-align: center; }

.hobby-testing-findings { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; }

.hobby-result {
  padding-top: clamp(68px, 8vw, 112px);
  padding-bottom: clamp(96px, 10vw, 144px);
}

.hobby-result-list {
  display: grid;
  max-width: var(--detail-copy);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto;
  padding: 0;
  counter-reset: result;
  list-style: none;
}

.hobby-result-list li {
  position: relative;
  min-height: 126px;
  padding: 24px 24px 24px 64px;
  border-radius: 20px;
  background: linear-gradient(145deg, #ececf4, #f6f5f8);
  color: #555961;
  font-size: 15px;
  line-height: 1.55;
  counter-increment: result;
}

.hobby-result-list li::before {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: var(--hobby-accent);
  color: #fff;
  content: counter(result);
  font-size: 13px;
  font-weight: 800;
}

.hobby-result-copy { margin-top: clamp(36px, 5vw, 56px); }

@media (max-width: 820px) {
  .hobby-case { --hobby-body-size: 16px; }
  .hobby-analysis-grid,
  .hobby-findings-three,
  .hobby-testing-findings { grid-template-columns: 1fr; }
  .hobby-findings,
  .hobby-result-list { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hobby-case { --detail-gutter: 18px; }
  .hobby-interview-parts,
  .hobby-story-labels { grid-template-columns: 1fr; }
  .hobby-interview-parts p,
  .hobby-story-labels p { min-height: 70px; }
  .hobby-callout { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .hobby-case * { scroll-behavior: auto !important; }
}
