.case-page {
  background: #f2f5ef;
}
.reading-progress {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #0c3440;
}
.reading-progress span {
  display: block;
  background: #9aefe2;
  height: 100%;
  width: 0;
}
.case-hero {
  min-height: 790px;
  height: 100svh;
  background: radial-gradient(
    circle at 80% 40%,
    #176b73,
    #0b3440 45%,
    #061b27 80%
  );
  color: #edfcf5;
  position: relative;
  overflow: hidden;
}
.case-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 76px, #ffffff08 77px),
    repeating-linear-gradient(90deg, transparent 0 76px, #ffffff08 77px);
  pointer-events: none;
}
.case-hero-text {
  position: relative;
  z-index: 1;
  height: 100%;
  padding-top: clamp(11rem, 22vh, 17rem);
}
.case-hero h1 {
  font:
    600 clamp(5rem, 9.5vw, 11rem)/0.95 Manrope,
    sans-serif;
  letter-spacing: -0.09em;
  margin: 2.1rem 0;
}
.case-hero h1 em {
  font-style: normal;
  color: #a4f1dd;
}
.case-deck {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  max-width: 620px;
  line-height: 1.45;
  color: #c3e1dc;
}
.case-hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100svh - 5rem);
  display: flex;
  align-items: flex-end;
  gap: clamp(1.5rem, 5vw, 7rem);
  padding-top: 1.1rem;
  border-top: 1px solid #c6e3dc6a;
}
.case-hero-bottom div {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.case-hero-bottom span,
.case-hero-bottom a {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: #b4d4d1;
  font-weight: 700;
}
.case-hero-bottom strong {
  font-size: 0.82rem;
  font-weight: 500;
}
.case-hero-bottom a {
  margin-left: auto;
  white-space: nowrap;
}
.case-hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
}
.case-hero-lines i {
  position: absolute;
  width: 58vw;
  height: 58vw;
  border: 1px solid #89ddcf6d;
  border-radius: 50%;
  left: 66%;
  top: 10%;
}
.case-hero-lines i:nth-child(2) {
  width: 44vw;
  height: 44vw;
  left: 73%;
  top: 20%;
}
.case-hero-lines i:nth-child(3) {
  width: 30vw;
  height: 30vw;
  left: 80%;
  top: 30%;
}
.case-hero-lines i:nth-child(4) {
  width: 16vw;
  height: 16vw;
  left: 87%;
  top: 40%;
  background: #6ee0c540;
  filter: blur(35px);
}
.case-overview {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  align-items: center;
  gap: 2rem;
  padding-block: 8rem;
}
.case-overview h2,
.results-heading h2,
.case-end h2 {
  font:
    600 clamp(3.3rem, 6vw, 7rem)/1.05 Manrope,
    sans-serif;
  letter-spacing: -0.075em;
  margin: 0 0 2rem;
}
.case-overview h2 em,
.results-heading h2 em,
.case-end h2 em {
  font-style: normal;
  color: #267987;
}
.case-overview > div:nth-child(2) > p {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #49666b;
  max-width: 690px;
}
.overview-tag {
  border: 1px solid #88b9b1;
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font:
    600 clamp(2.2rem, 3.3vw, 4rem) Manrope,
    sans-serif;
  letter-spacing: -0.08em;
  color: #247d80;
  transform: rotate(10deg);
}
.overview-tag span {
  font:
    700 0.52rem "DM Sans",
    sans-serif;
  letter-spacing: 0.17em;
  color: #50787a;
  white-space: nowrap;
}
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 7rem);
  align-items: start;
  padding-bottom: 5rem;
}
.story-steps {
  min-width: 0;
}
.story-step {
  min-height: 95vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 5rem;
  border-top: 1px solid #abc4bf;
}
.story-step:last-child {
  border-bottom: 1px solid #abc4bf;
}
.case-index {
  color: #267987;
}
.story-step h2 {
  font:
    600 clamp(3rem, 5vw, 5.8rem)/1.08 Manrope,
    sans-serif;
  letter-spacing: -0.075em;
  margin: 2rem 0;
}
.story-step h2 em {
  font-style: normal;
  color: #2d8187;
}
.story-step p {
  font-size: 1.13rem;
  line-height: 1.7;
  color: #526b6e;
  max-width: 570px;
}
.story-stage {
  position: sticky;
  top: 15%;
  height: 84vh;
  border-radius: 3px;
  overflow: hidden;
  background: radial-gradient(
    circle at 50% 50%,
    #286b70 0,
    #0d4956 50%,
    #082c39 100%
  );
  color: #e0faed;
}
.stage-inner {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.stage-inner:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 55px, #ffffff10 56px),
    repeating-linear-gradient(90deg, transparent 0 55px, #ffffff10 56px);
}
.stage-waves i {
  position: absolute;
  border: 1px solid #a7e6d087;
  border-radius: 50%;
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.9s;
}
.stage-waves i:nth-child(1) {
  width: 35%;
}
.stage-waves i:nth-child(2) {
  width: 65%;
}
.stage-waves i:nth-child(3) {
  width: 95%;
}
.story-stage[data-active="research"] .stage-waves i {
  width: 75%;
  transform: translate(-50%, -50%) rotate(35deg);
}
.story-stage[data-active="insight"] .stage-waves i {
  width: 95%;
  opacity: 0.25;
}
.story-stage[data-active="design"] .stage-waves i {
  border-radius: 3%;
  width: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
.story-stage[data-active="test"] .stage-waves i {
  width: 40%;
  opacity: 0.6;
}
.stage-number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font:
    700 0.75rem "DM Sans",
    sans-serif;
  letter-spacing: 0.2em;
  color: #b9e4d8;
}
.stage-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.stage-kicker {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-size: 0.67rem;
  letter-spacing: 0.18em;
  font-weight: 700;
}
.stage-bottom {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #c4e6d9;
}
.stage-question,
.stage-research,
.stage-insight,
.stage-design,
.stage-test {
  position: absolute;
  opacity: 0;
  transform: translateY(25px) scale(0.95);
  transition:
    opacity 0.55s,
    transform 0.55s;
  pointer-events: none;
}
.stage-question {
  font:
    600 clamp(13rem, 23vw, 26rem)/1 Manrope,
    sans-serif;
  color: #c2fbe7;
  text-shadow: 0 0 90px #b1f6db80;
  animation: question-glow 2.6s ease-in-out infinite;
}
@keyframes question-glow {
  0%,
  100% {
    color: #c2fbe7;
    text-shadow: 0 0 90px #b1f6db80;
  }
  50% {
    color: #f1fff9;
    text-shadow:
      0 0 24px #e9fff5,
      0 0 80px #b1f6dbe6,
      0 0 180px #7fe3c499;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stage-question {
    animation: none;
  }
}
.story-stage[data-active="questions"] .stage-question,
.story-stage[data-active="research"] .stage-research,
.story-stage[data-active="insight"] .stage-insight,
.story-stage[data-active="design"] .stage-design,
.story-stage[data-active="test"] .stage-test {
  opacity: 1;
  transform: none;
}
.stage-research {
  width: 80%;
  height: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-content: center;
}
.stage-research span {
  border: 1px solid #bce9d5;
  border-radius: 100px;
  padding: 0.8rem 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  background: #0c4556;
}
.stage-research span:nth-child(even) {
  transform: translateY(35px);
}
.stage-design {
  width: 62%;
  height: 48%;
  border: 2px solid #d8f7d8;
  background: #d6f5df1e;
  box-shadow: 15px 15px 0 #a7e7d025;
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.stage-design i {
  width: 17%;
  height: 25%;
  border: 1px solid #d8f7d8;
  border-radius: 8px;
}
.stage-design span {
  position: absolute;
  bottom: -3rem;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  white-space: nowrap;
}
.stage-test {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.case-results {
  background: #092d38;
  color: #eefbf1;
  padding: 8rem 0 9rem;
}
.results-heading {
  display: grid;
  grid-template-columns: 1fr 2.2fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 4rem;
}
.results-heading .label {
  color: #9aefe2;
}
.results-heading h2 em {
  color: #a2e8d4;
}
.results-copy p {
  line-height: 1.7;
  color: #bcd8d3;
  font-size: 1.05rem;
}
.results-image {
  margin: 0;
  padding: clamp(1rem, 4vw, 4rem);
  background: radial-gradient(circle at center, #458d89, #24616b 54%, #0d424f);
  position: relative;
}
.results-image img {
  width: 100%;
  display: block;
  box-shadow: 0 20px 60px #042b3990;
}
.results-image figcaption {
  font-size: 0.75rem;
  color: #dbf2e7;
  margin-top: 1rem;
}
.case-end {
  padding-block: 11rem;
}
.case-end h2 {
  margin: 3rem 0;
}
.case-end > p:not(.label) {
  font-size: 1.14rem;
  line-height: 1.7;
  max-width: 650px;
  color: #526b6e;
}
.case-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.case-links a {
  border-bottom: 1px solid #5d9a99;
  padding-bottom: 0.7rem;
  font-weight: 700;
}
@media (max-width: 950px) {
  .case-hero-bottom {
    gap: 1.4rem;
  }
  .case-hero-bottom div:nth-child(3) {
    display: none;
  }
  .case-overview {
    grid-template-columns: 1fr 3fr;
  }
  .overview-tag {
    display: none;
  }
  .story {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .results-heading {
    grid-template-columns: 1fr 2fr;
  }
  .results-copy {
    grid-column: 2;
  }
}
@media (max-width: 680px) {
  .case-hero {
    min-height: 650px;
    height: 90svh;
  }
  .case-hero-text {
    padding-top: 11rem;
  }
  .case-hero h1 {
    font-size: clamp(4.2rem, 15vw, 7rem);
  }
  .case-deck {
    font-size: 1.2rem;
  }
  .case-hero-bottom {
    top: auto;
    bottom: 2rem;
    flex-wrap: wrap;
  }
  .case-hero-bottom div:nth-child(2) {
    display: none;
  }
  .case-hero-bottom a {
    margin-left: auto;
  }
  .case-overview {
    display: block;
    min-height: 0;
    padding-block: 6rem;
  }
  .case-overview h2 {
    margin-top: 1.5rem;
  }
  .story {
    display: flex;
    flex-direction: column-reverse;
    padding-bottom: 4rem;
    gap: 0;
  }
  .story-stage {
    position: sticky;
    top: 0;
    width: calc(100vw - 2.25rem);
    height: 34vh;
    min-height: 230px;
    z-index: 2;
  }
  .story-steps {
    width: 100%;
  }
  .story-step {
    min-height: 75vh;
    padding-block: 4rem;
  }
  .story-step h2 {
    font-size: clamp(2.7rem, 10vw, 4rem);
  }
  .story-step p {
    font-size: 1.02rem;
  }
  .stage-question {
    font-size: 10rem;
  }
  .stage-research span {
    font-size: 0.55rem;
    padding: 0.4rem 0.65rem;
  }
  .stage-research span:nth-child(even) {
    transform: translateY(5px);
  }
  .stage-kicker,
  .stage-bottom,
  .stage-number {
    font-size: 0.45rem;
  }
  .stage-kicker {
    top: 0.8rem;
    left: 0.8rem;
  }
  .stage-bottom {
    bottom: 0.8rem;
    left: 0.8rem;
  }
  .stage-number {
    top: 0.8rem;
    right: 0.8rem;
  }
  .stage-design {
    height: 40%;
  }
  .stage-design span {
    font-size: 0.5rem;
    bottom: -1.5rem;
  }
  .case-results {
    padding: 5rem 0;
  }
  .results-heading {
    display: block;
  }
  .results-heading h2 {
    margin: 1.5rem 0;
  }
  .results-copy {
    max-width: 500px;
  }
  .case-end {
    padding-block: 6rem;
  }
  .case-end h2 {
    font-size: clamp(3rem, 12vw, 5rem);
  }
  .case-links {
    gap: 1.5rem;
  }
}

/* HabitU story-stage motion and detail */
.stage-research span {
  animation: research-drift 7s ease-in-out infinite;
}
.stage-research span:nth-child(2) {
  animation-delay: -1.4s;
}
.stage-research span:nth-child(3) {
  animation-delay: -3.1s;
}
.stage-research span:nth-child(4) {
  animation-delay: -4.8s;
}
.stage-research span:nth-child(5) {
  animation-delay: -6s;
}
@keyframes research-drift {
  0%,
  100% {
    transform: translate3d(-8px, -10px, 0) rotate(-2deg);
  }
  50% {
    transform: translate3d(13px, 16px, 0) rotate(2deg);
  }
}
.stage-design {
  width: 75%;
  height: 63%;
  border: 0;
  background: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}
.design-film {
  width: 100%;
  height: 100%;
  position: relative;
  border: 2px solid #d8f7d8;
  background: #d6f5df1e;
  box-shadow: 15px 15px 0 #a7e7d025;
  overflow: hidden;
}
.film-frame {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8%;
  opacity: 0;
}
.film-frame img {
  max-width: 90%;
  max-height: 76%;
  margin-bottom: 8%;
  object-fit: contain;
  box-shadow: 0 14px 34px #00202b66;
}
.film-frame b {
  position: absolute;
  bottom: 10%;
  font:
    0.62rem "DM Sans",
    sans-serif;
  letter-spacing: 0.18em;
}
.stage-design > span {
  position: static;
  margin-top: 1.2rem;
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  white-space: nowrap;
}
.stage-test {
  width: 82%;
  gap: 0.9rem;
}
@media (max-width: 680px) {
  .stage-design {
    height: 60%;
    width: 86%;
  }
  .stage-design > span {
    font-size: 0.42rem;
    margin-top: 0.7rem;
  }
  .film-frame b {
    font-size: 0.42rem;
  }
}
/* Keep the design storyboard continuously visible as it auto-plays. */
.sketch-frame {
  animation: show-sketch 9s linear infinite;
}
.flow-frame {
  animation: show-flow 9s linear infinite;
}
.tiles-frame {
  animation: show-tiles 9s linear infinite;
}
@keyframes show-sketch {
  0%,
  30% {
    opacity: 1;
    transform: scale(1);
  }
  34%,
  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}
@keyframes show-flow {
  0%,
  30% {
    opacity: 0;
    transform: scale(0.95);
  }
  34%,
  63% {
    opacity: 1;
    transform: scale(1);
  }
  67%,
  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}
@keyframes show-tiles {
  0%,
  63% {
    opacity: 0;
    transform: scale(0.95);
  }
  67%,
  96% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}


/* HabitU mockup — use the JPG asset as a responsive, contained presentation */
.results-image{position:relative;display:block;width:100%;margin:4rem 0 0;overflow:hidden}
.habitu-mockup-image{display:block;width:100%;height:auto;max-height:78vh;object-fit:contain;object-position:center;border-radius:1.25rem;box-shadow:0 30px 60px #163e4826}
.results-image figcaption{margin-top:1rem;color:#5c7779;font-size:.72rem;letter-spacing:.06em}
@media(max-width:700px){.habitu-mockup-image{max-height:none;border-radius:.8rem}}

/* 04 / UNDERSTAND — 3D survey pie (rendered by habitu.js) */
.stage-insight {
  inset: 0;
}
.survey-chart {
  position: absolute;
  inset: 0;
}
.chart-scene,
.chart-lines,
.chart-labels {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.chart-scene canvas {
  display: block;
}
.chart-lines {
  pointer-events: none;
  overflow: visible;
}
.chart-lines path {
  fill: none;
  stroke: #d8f7ec;
  stroke-width: 1;
  opacity: 0.55;
}
.chart-lines circle {
  fill: #d8f7ec;
}
.chart-title {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font: 700 0.62rem "DM Sans", sans-serif;
  letter-spacing: 0.16em;
  color: #b9e4d8;
}
.chart-label {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 0.45rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid #ffffff1c;
  border-radius: 10px;
  background: #06222ccc;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px #00141c55;
  color: #eef5ff;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.45s;
}
.chart-label.is-on {
  opacity: 1;
}
.chart-label i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 10px var(--c);
  align-self: center;
}
.chart-label b {
  font: 700 clamp(1rem, 1.6vw, 1.45rem) Manrope, sans-serif;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.chart-label span {
  grid-column: 2;
  font: 600 0.62rem "DM Sans", sans-serif;
  letter-spacing: 0.06em;
  color: #a8c7c9;
}
.chart-label.is-left {
  text-align: right;
}
@media (max-width: 680px) {
  .case-page .story-stage {
    top: 76px;
  }
  .chart-title {
    display: none;
  }
  .chart-label {
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    column-gap: 0.25rem;
  }
  .chart-label b {
    font-size: 0.7rem;
  }
  .chart-label span {
    font-size: 0.42rem;
  }
  .chart-label i {
    width: 5px;
    height: 5px;
  }
}

/* THE MAKING — the first draft splits open into the three style tiles */
.artifacts {
  padding: 8rem 0 14vh;
  overflow-x: clip; /* not hidden: that would break the sticky morph pin */
}
.artifacts-head {
  display: grid;
  grid-template-columns: 1fr 2.2fr 1fr;
  gap: 2rem;
  align-items: end;
}
.artifacts-head h2 {
  font:
    600 clamp(3.3rem, 6vw, 7rem)/1.05 Manrope,
    sans-serif;
  letter-spacing: -0.075em;
  margin: 0;
}
.artifacts-head h2 em {
  font-style: normal;
  color: #267987;
}
.artifacts-head > p:last-child {
  color: #526b6e;
  line-height: 1.7;
}
.gallery-frame {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #e2eae4;
  cursor: zoom-in;
}
.gallery-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.gallery-frame:focus-visible {
  outline: 2px solid #267987;
  outline-offset: 4px;
}
.artifacts figcaption {
  margin-top: 0.75rem;
  font: 600 0.72rem "DM Sans", sans-serif;
  letter-spacing: 0.08em;
  color: #49666b;
}
.artifacts .is-open .gallery-frame {
  visibility: hidden;
}

/* First draft → three style tiles, plays by itself once pinned */
.morph {
  position: relative;
  height: 180vh;
  margin-top: 6vh;
}
.morph-pin {
  position: sticky;
  top: 76px;
  height: calc(100svh - 76px);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.morph-draft,
.morph-row {
  grid-area: 1 / 1;
}
.morph-draft,
.morph-tile {
  margin: 0;
}
.morph-tile {
  will-change: transform, opacity;
}
.morph-draft {
  /* starts large: as tall as the pinned view allows */
  width: min(60vw, (100svh - 76px - 8rem) * 0.748);
}
/* the draft is three side-by-side slices of one image, so it can split along its columns */
.morph-draft .gallery-frame {
  display: flex;
  background: none;
  overflow: visible;
}
.morph-shard {
  flex: 1;
  overflow: hidden;
  background: #e2eae4;
  will-change: transform, opacity;
}
.morph-shard img {
  width: 300%;
  max-width: none;
}
.morph-shard:nth-child(2) img {
  margin-left: -100%;
}
.morph-shard:nth-child(3) img {
  margin-left: -200%;
}
.morph-row {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.8rem, 2vw, 2rem);
  width: min(100vw - 6rem, 1420px);
}
.morph-tile {
  flex: 1;
  min-width: 0;
}

/* Fullscreen detail view the clicked image morphs into */
html:has(.artifact-view[open]) {
  overflow: hidden;
}
.artifact-view {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(1.2rem, 4vw, 4rem);
  border: 0;
  background: transparent;
  color: var(--ink);
  display: none;
  grid-template-columns: minmax(0, 1.7fr) minmax(16rem, 1fr);
  gap: clamp(1.5rem, 4vw, 5rem);
  align-items: center;
  overflow: auto;
}
.artifact-view[open] {
  display: grid;
}
.artifact-view::backdrop {
  background: transparent;
}
.artifact-view-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #f2f5ef;
}
.artifact-view-img {
  justify-self: center;
  max-width: 100%;
  max-height: calc(100svh - 2 * clamp(1.2rem, 4vw, 4rem));
  width: auto;
  height: auto;
  background: #e2eae4;
  box-shadow: 0 30px 60px #163e4826;
  transform-origin: 0 0;
}
.artifact-view-text {
  max-width: 30rem;
}
.artifact-view-text h2 {
  font:
    600 clamp(2.2rem, 3.6vw, 4rem)/1.05 Manrope,
    sans-serif;
  letter-spacing: -0.06em;
  margin: 1.2rem 0 1.4rem;
}
.artifact-index {
  display: block;
}
.artifact-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #526b6e;
}
.artifact-back {
  margin-bottom: 3rem;
  padding: 0 0 0.5rem;
  border: 0;
  border-bottom: 1px solid #5d9a99;
  background: none;
  color: inherit;
  font: 700 0.85rem "DM Sans", sans-serif;
  cursor: pointer;
}
@media (max-width: 950px) {
  .artifacts-head {
    grid-template-columns: 1fr 2fr;
  }
  .artifacts-head > p:last-child {
    grid-column: 2;
  }
}
@media (max-width: 680px) {
  .artifacts {
    padding-top: 5rem;
  }
  .artifacts-head {
    display: block;
  }
  .artifacts-head h2 {
    margin: 1.5rem 0 1rem;
  }
  .morph {
    height: 160vh;
  }
  .morph-draft {
    width: min(86vw, (100svh - 76px - 6rem) * 0.748);
  }
  .morph-row {
    width: calc(100vw - 2rem);
  }
  .morph-tile figcaption {
    font-size: 0.5rem;
  }
  .artifact-view {
    grid-template-columns: 1fr;
    align-content: start;
  }
  .artifact-view-img {
    max-height: 60svh;
  }
  .artifact-back {
    margin-bottom: 1.5rem;
  }
}
/* 06 / TEST: final screens shown one at a time (habitu.js switches them) */
.test-screens {
  height: 78%;
  aspect-ratio: 393 / 853;
}
.test-screens img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  box-shadow: 0 24px 60px #00141c66;
}
.test-screens img[hidden] {
  display: none;
}
.stage-test {
  inset: 0;
  width: auto;
  justify-content: center;
}

/* 07 / FINAL DIRECTION: prototype link */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  padding: 0.95rem 1.5rem;
  border-radius: 100px;
  background: #a4f1dd;
  color: #062a35;
  font: 700 0.9rem "DM Sans", sans-serif;
  box-shadow: 0 10px 30px #0219224d;
  transition: background 0.2s;
}
.cta-button:hover {
  background: #c8fbec;
}
.cta-button:focus-visible {
  outline: 2px solid #a4f1dd;
  outline-offset: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
