:root {
  --v2-caption-gap: 0.75rem;
  --v2-content-gap: clamp(2.5rem, 4vw, 4.5rem);
  --v2-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Retire the exported cursor and use one dot everywhere on fine pointers. */
.site-cursor {
  display: none !important;
}

.v2-cursor {
  pointer-events: none;
  z-index: 20000;
  opacity: 0;
  width: 1px;
  height: 1px;
  transition: opacity 0.18s ease;
  position: fixed;
  top: 0;
  left: 0;
}

.v2-cursor > span {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid #090a0a3d;
  border-radius: 999px;
  width: 12px;
  height: 12px;
  box-shadow: 0 2px 12px #00000042;
  justify-content: center;
  align-items: center;
  display: block;
  position: absolute;
  top: -6px;
  left: -6px;
  transform: scale(1);
  transition:
    width 0.42s var(--v2-ease-out),
    height 0.42s var(--v2-ease-out),
    top 0.42s var(--v2-ease-out),
    left 0.42s var(--v2-ease-out),
    transform 0.2s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.v2-cursor b {
  opacity: 0;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 620;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition: opacity 0.18s ease;
}

.v2-cursor.is-visible {
  opacity: 1;
}

.v2-cursor.is-interactive > span {
  width: 25px;
  height: 25px;
  top: -12.5px;
  left: -12.5px;
}

.v2-cursor.is-labelled > span {
  background: #f2f0eaf5;
  border-color: #090a0a2e;
  width: 72px;
  height: 72px;
  top: -36px;
  left: -36px;
  display: flex;
  box-shadow: 0 8px 28px #00000052;
}

.v2-cursor.is-labelled b {
  opacity: 1;
}

.v2-cursor.is-pressed > span {
  transform: scale(0.72);
}

/* Modal removal can happen without pointerout; never animate the old label. */
.v2-cursor.is-resetting > span,
.v2-cursor.is-resetting b {
  transition: none !important;
}

@media (hover: hover) and (pointer: fine) {
  html.v2-custom-cursor,
  html.v2-custom-cursor body,
  html.v2-custom-cursor body * {
    cursor: none !important;
  }
}

/* One divider is enough between the project brief and contents. */
.case-index {
  border-top: 0 !important;
}

/* Give image and motion captions one shared editorial system. */
.media-figure figcaption,
.context-motion figcaption,
.motion-grid figcaption {
  border-top: 1px solid var(--line) !important;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr) !important;
  gap: 1rem !important;
  width: 100% !important;
  margin-top: var(--v2-caption-gap) !important;
  padding-top: var(--v2-caption-gap) !important;
  display: grid !important;
}

.media-figure figcaption span,
.media-figure figcaption small,
.context-motion figcaption > span,
.motion-grid figcaption > span {
  color: var(--case-accent) !important;
  font-family: var(--mono) !important;
  font-size: var(--text-label) !important;
  letter-spacing: 0.06em !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
}

.media-figure figcaption p,
.context-motion figcaption strong,
.context-motion figcaption p,
.motion-grid figcaption strong,
.motion-grid figcaption p {
  overflow-wrap: anywhere;
  white-space: normal;
  min-width: 0;
  max-width: none;
  font-size: var(--text-small) !important;
  line-height: 1.5 !important;
}

.context-motion figcaption strong,
.motion-grid figcaption strong {
  color: var(--ink);
  font-weight: 620;
}

.media-figure figcaption p,
.context-motion figcaption p,
.motion-grid figcaption p {
  color: var(--muted);
  margin: 0 !important;
}

.context-motion figcaption p,
.motion-grid figcaption p {
  margin-top: 0.35rem !important;
}

.media-figure figcaption small {
  grid-column: 2;
  margin-top: 0.35rem;
}

/* Captions should lead into the next idea without a large dead zone. */
.media-grid,
.context-motion,
.motion-grid {
  margin-bottom: 0 !important;
}

.media-grid .media-figure {
  margin-bottom: clamp(1.25rem, 2vw, 2rem) !important;
}

.case-segment--continued {
  margin-top: clamp(1.25rem, 2vw, 2.25rem) !important;
}

.media-grid + .case-segment,
.context-motion + .case-segment {
  margin-top: var(--v2-content-gap) !important;
}

/* Homepage entrance and cyclic stack. Content stays visible if JS is disabled. */
body.v2-enhanced .v2-reveal.is-reveal-pending {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 0.82s ease-out,
    transform 0.95s var(--v2-ease-out);
  transition-delay: var(--v2-reveal-delay, 0ms);
}

body.v2-enhanced .v2-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/*
 * Media reveals use the existing visual as the mask, so layout never moves.
 * The figure remains interactive after the reveal and its internal hover scale
 * is untouched.
 */
body.v2-enhanced .v2-media-reveal.is-reveal-pending {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, 26px, 0) scale(1.012);
  transform-origin: 50% 100%;
  transition:
    clip-path 1.08s var(--v2-ease-out),
    opacity 0.62s ease-out,
    transform 1.08s var(--v2-ease-out);
  transition-delay: var(--v2-reveal-delay, 0ms);
}

body.v2-enhanced .v2-media-reveal.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translate3d(0, 0, 0) scale(1);
}

body.v2-enhanced .v2-caption-reveal.is-reveal-pending {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity 0.62s ease-out,
    transform 0.72s var(--v2-ease-out);
  transition-delay: var(--v2-reveal-delay, 0ms);
}

body.v2-enhanced .v2-caption-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body.v2-motion-ready .home-hero h1 .v2-hero-line {
  overflow: hidden;
  margin-bottom: -0.04em;
  padding-bottom: 0.08em;
  display: block;
}

body.v2-motion-ready .home-hero h1 .v2-hero-line > span {
  opacity: 0;
  display: inline-block;
  transform: translate3d(0, 112%, 0) rotate(1.2deg);
  transform-origin: 0 100%;
  transition:
    transform 1.1s var(--v2-ease-out) var(--v2-line-delay),
    opacity 0.55s ease var(--v2-line-delay);
}

body.v2-motion-ready .home-hero h1.is-visible .v2-hero-line > span {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0);
}

body.v2-enhanced
  .home-hero__stage.v2-stack-initialised
  .home-hero__stage-card {
  opacity: 0;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  will-change: transform, opacity, filter;
  transition:
    opacity 0.7s ease,
    filter 0.7s ease,
    transform 1.05s var(--v2-ease-out),
    box-shadow 0.7s ease !important;
}

body.v2-enhanced
  .home-hero__stage.v2-stack-initialised.is-ready
  .home-hero__stage-card {
  opacity: 1;
}

.home-hero__stage-card[data-v2-position="0"] {
  z-index: 3;
  filter: saturate(1) brightness(1);
  transform: translate3d(-18%, -77%, 0) rotate(3.4deg) scale(1) !important;
  box-shadow: 0 32px 78px #00000075;
}

.home-hero__stage-card[data-v2-position="1"] {
  z-index: 1;
  opacity: 0.78 !important;
  filter: saturate(0.82) brightness(0.8);
  transform: translate3d(-66%, -50%, 0) rotate(-4.5deg) scale(0.96) !important;
}

.home-hero__stage-card[data-v2-position="2"] {
  z-index: 2;
  opacity: 0.9 !important;
  filter: saturate(0.9) brightness(0.9);
  transform: translate3d(-43.5%, -22%, 0) rotate(-1.2deg) scale(0.98) !important;
}

.home-hero__stage-card[data-v2-position="0"]:hover {
  transform: translate3d(-18%, -79%, 0) rotate(0) scale(1.025) !important;
}

.home-hero__stage-card[data-v2-position="1"]:hover,
.home-hero__stage-card[data-v2-position="2"]:hover {
  filter: saturate(1) brightness(1);
}

.home-hero__stage.is-shuffling .home-hero__stage-card img {
  transform: scale(1.018);
}

.project-card.v2-reveal {
  transition-delay: var(--v2-reveal-delay, 0ms);
}

/*
 * Desktop case-study rhythm:
 * every continued subsection uses the existing empty grid column for its
 * heading, while the explanation remains in the reading column.
 */
@media (min-width: 961px) {
  .case-segment--continued {
    grid-column: 1 / -1 !important;
    grid-template-columns: minmax(210px, 0.36fr) minmax(320px, 1fr);
    gap: clamp(2rem, 5vw, 6rem);
    align-items: start;
    display: grid;
  }

  .case-segment--continued > h3 {
    grid-column: 1;
    margin-top: 0 !important;
  }

  .case-segment--continued > .section-copy {
    grid-column: 2;
  }
}

@supports (grid-template-columns: subgrid) {
  @media (min-width: 961px) {
    .case-segment--continued {
      grid-template-columns: subgrid;
      gap: inherit;
    }
  }
}

@media (max-width: 960px) {
  .case-segment--continued {
    grid-column: 1 !important;
    display: block;
  }
}

@media (max-width: 760px) {
  body.v2-enhanced .v2-reveal {
    transform: translate3d(0, 16px, 0);
    transition-duration: 0.68s, 0.78s;
  }

  body.v2-enhanced .v2-media-reveal {
    transform: translate3d(0, 16px, 0) scale(1.006);
    transition-duration: 0.82s, 0.5s, 0.82s;
  }

  body.v2-enhanced .v2-caption-reveal {
    transform: translate3d(0, 8px, 0);
    transition-duration: 0.5s, 0.62s;
  }

  .media-figure figcaption,
  .context-motion figcaption,
  .motion-grid figcaption {
    grid-template-columns: 1fr !important;
    gap: 0.4rem !important;
  }

  .media-figure figcaption small {
    grid-column: 1;
  }

  .media-grid .media-figure {
    margin-bottom: 1.5rem !important;
  }

  .media-grid + .case-segment,
  .context-motion + .case-segment {
    margin-top: 2.5rem !important;
  }

  .home-hero__stage-card[data-v2-position="0"] {
    transform: translate3d(-30%, -89%, 0) rotate(3deg) scale(1) !important;
  }

  .home-hero__stage-card[data-v2-position="1"] {
    transform: translate3d(-70%, -57%, 0) rotate(-4deg) scale(0.95) !important;
  }

  .home-hero__stage-card[data-v2-position="2"] {
    transform: translate3d(-48%, -12%, 0) rotate(-1deg) scale(0.97) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.v2-enhanced .v2-reveal,
  body.v2-enhanced .v2-media-reveal,
  body.v2-enhanced .v2-caption-reveal,
  body.v2-enhanced .home-hero__stage-card {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none;
    transition: none !important;
  }

  body.v2-motion-ready .home-hero h1 .v2-hero-line > span {
    opacity: 1;
    transform: none;
    transition: none;
  }

}

/*
 * V2.4 desktop hero composition
 *
 * The exported hero previously combined a full-viewport flex layout with a
 * narrow right-hand stage. On wide screens this isolated the cards at the far
 * right and pushed the supporting statement beneath the fold. Keep all four
 * hero beats in one viewport and let the card stack occupy the centre-right
 * visual field.
 */
@media (min-width: 1180px) {
  .home-hero {
    min-height: calc(100svh - 62px);
    grid-template-rows: auto minmax(430px, 1fr) auto auto;
    gap: clamp(1rem, 2.2vh, 1.75rem);
    justify-content: stretch;
    padding-top: clamp(2.75rem, 5vh, 4.75rem);
    padding-bottom: 1.5rem;
    display: grid;
  }

  .home-hero__kicker {
    margin: 0;
  }

  .home-hero__main {
    grid-template-columns: minmax(520px, 0.92fr) minmax(560px, 1.08fr);
    gap: clamp(0.5rem, 1.5vw, 2rem);
    align-items: center;
    min-height: 0;
  }

  .home-hero h1 {
    z-index: 2;
    max-width: none;
    font-size: clamp(4.75rem, 7.25vw, 9.2rem);
    position: relative;
  }

  .home-hero__stage {
    width: calc(100% + clamp(2rem, 5vw, 6rem));
    height: clamp(430px, 34vw, 590px);
    margin-left: clamp(-6rem, -5vw, -2rem);
    justify-self: end;
  }

  .home-hero__lower {
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
    gap: clamp(3rem, 9vw, 10rem);
    align-items: end;
    margin: 0;
  }

  .home-hero__intro {
    max-width: 760px;
    font-size: clamp(1.35rem, 1.65vw, 2rem);
  }

  .home-hero__meta {
    grid-template-columns: minmax(130px, 0.45fr) minmax(280px, 1fr);
    gap: clamp(1rem, 2.5vw, 3rem);
  }

  .scroll-cue {
    margin-top: 0;
  }
}

@media (min-width: 761px) and (max-width: 1179px) {
  .home-hero {
    min-height: 0;
  }

  .home-hero__main {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    gap: 1rem;
  }

  .home-hero__stage {
    width: calc(100% + 2rem);
    margin-left: -2rem;
  }

  .home-hero__lower {
    max-width: none;
    margin-top: clamp(2rem, 4vw, 3.5rem);
    margin-left: 0;
  }
}

/*
 * Lightbox repair
 *
 * A transformed ancestor changes the containing block for position: fixed.
 * Case sections therefore made the React lightbox behave as if it were fixed
 * to a chapter rather than to the viewport. Case containers now reveal with
 * opacity only, preserving a true viewport-level modal.
 */
body.v2-enhanced .case-section.v2-reveal,
body.v2-enhanced .motion-section.v2-reveal {
  transform: none !important;
  transition:
    opacity 0.72s var(--v2-ease-out),
    border-color 0.72s ease !important;
}

.lightbox {
  z-index: 10000 !important;
  box-sizing: border-box;
  width: 100vw;
  height: 100dvh;
  min-height: 100vh;
  overscroll-behavior: contain;
  padding: clamp(4rem, 6vw, 6.5rem) clamp(1rem, 4vw, 4rem)
    clamp(1rem, 3vw, 3rem) !important;
  position: fixed !important;
  inset: 0 !important;
}

.lightbox__close {
  z-index: 2;
  color: #f5f0e8 !important;
  background: #090a0ae8 !important;
  border: 1px solid #f5f0e866 !important;
  border-radius: 999px;
  min-width: 44px;
  min-height: 44px;
  padding: 0.7rem 1rem;
  top: clamp(0.75rem, 2vw, 1.5rem) !important;
  right: clamp(0.75rem, 2vw, 1.5rem) !important;
  display: grid;
  place-items: center;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  color: #090a0a !important;
  background: #f5f0e8 !important;
  outline: none;
}

.lightbox__inner {
  width: min(1500px, 94vw);
  max-width: 94vw !important;
  max-height: calc(100dvh - 7rem) !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.lightbox__inner img {
  object-fit: contain;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 11rem) !important;
}

.lightbox__inner p {
  flex: 0 0 auto;
}

/*
 * Hydration-safe portfolio lightbox.
 * It reads the clicked DOM image directly instead of React's pre-hydration
 * media index, so moved and replaced case-study figures cannot open the wrong
 * asset or enter the exported app's error boundary.
 */
body.v293-lightbox-open {
  overflow: hidden;
}

.v293-lightbox {
  z-index: 10000;
  box-sizing: border-box;
  background: #101211f7;
  width: 100vw;
  height: 100dvh;
  min-height: 100vh;
  overscroll-behavior: contain;
  padding: clamp(4rem, 6vw, 6.5rem) clamp(1rem, 4vw, 4rem)
    clamp(1rem, 3vw, 3rem);
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  cursor: none !important;
}

.v293-lightbox__inner {
  width: min(1500px, 94vw);
  max-width: 94vw;
  max-height: calc(100dvh - 7rem);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.v293-lightbox__inner > img {
  object-fit: contain;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 11rem);
  display: block;
}

.v293-lightbox__caption {
  border-top: 1px solid #ffffff40;
  grid-template-columns: minmax(150px, 0.28fr) 1fr;
  gap: 1rem;
  margin: 0.7rem 0 0;
  padding-top: 0.75rem;
  display: grid;
}

.v293-lightbox__caption span {
  font-family: var(--mono);
  font-size: var(--text-label);
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.v293-lightbox__caption p {
  color: var(--muted);
  margin: 0;
  font-size: var(--text-small);
  line-height: 1.5;
}

.v293-lightbox__close {
  z-index: 2;
  color: #f5f0e8;
  background: #090a0ae8;
  border: 1px solid #f5f0e866;
  border-radius: 999px;
  min-width: 44px;
  min-height: 44px;
  padding: 0.7rem 1rem;
  display: grid;
  place-items: center;
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
}

.v293-lightbox__close:hover,
.v293-lightbox__close:focus-visible {
  color: #090a0a;
  background: #f5f0e8;
  outline: none;
}

@media (max-width: 760px) {
  .home-hero {
    overflow-x: clip;
  }

  .home-hero__stage {
    box-sizing: border-box;
    width: 100%;
    height: clamp(330px, 104vw, 410px);
    margin: clamp(2.5rem, 10vw, 4rem) 0 0;
    overflow: clip;
  }

  body.v2-enhanced
    .home-hero__stage.v2-stack-initialised
    .home-hero__stage-card {
    width: 72%;
    height: 56%;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
  }

  .home-hero__stage-card[data-v2-position="0"] {
    transform: translate3d(-50%, -60%, 0) rotate(2.4deg) scale(1) !important;
  }

  .home-hero__stage-card[data-v2-position="1"] {
    opacity: 0.74 !important;
    transform: translate3d(-63%, -42%, 0) rotate(-3.6deg) scale(0.95) !important;
  }

  .home-hero__stage-card[data-v2-position="2"] {
    opacity: 0.88 !important;
    transform: translate3d(-37%, -24%, 0) rotate(-0.8deg) scale(0.97) !important;
  }

  .lightbox {
    padding: 4.5rem 0.75rem 0.75rem !important;
  }

  .lightbox__inner {
    width: 100%;
    max-width: 100% !important;
    max-height: calc(100dvh - 5.25rem) !important;
  }

  .lightbox__inner img {
    max-height: calc(100dvh - 10rem) !important;
  }

  .v293-lightbox {
    padding: 4.5rem 0.75rem 0.75rem;
    cursor: auto !important;
  }

  .v293-lightbox__inner {
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - 5.25rem);
  }

  .v293-lightbox__inner > img {
    max-height: calc(100dvh - 10rem);
  }

  .v293-lightbox__caption {
    grid-template-columns: 1fr;
  }
}

/*
 * V2.5 stable hero stack
 *
 * The stage is a bounded composition. Its cards use one aspect ratio and
 * transforms that remain inside the stage at desktop, tablet and mobile
 * widths. The exported pointer-parallax transform is disabled because it
 * competed with the stack animation and could push the whole composition
 * outside its grid column.
 */
.home-hero__stage {
  box-sizing: border-box;
  width: 100% !important;
  margin-left: 0 !important;
  overflow: clip !important;
  contain: layout paint;
  isolation: isolate;
  transform: none !important;
}

body.v2-enhanced
  .home-hero__stage.v2-stack-initialised
  .home-hero__stage-card {
  aspect-ratio: 16 / 10;
  width: min(84%, 600px) !important;
  height: auto !important;
}

.home-hero__stage-card[data-v2-position="0"] {
  transform: translate3d(-42%, -62%, 0) rotate(2.6deg) scale(1) !important;
}

.home-hero__stage-card[data-v2-position="1"] {
  transform: translate3d(-57%, -50%, 0) rotate(-3.4deg) scale(0.95) !important;
}

.home-hero__stage-card[data-v2-position="2"] {
  transform: translate3d(-48%, -32%, 0) rotate(-0.8deg) scale(0.97) !important;
}

.home-hero__stage-card[data-v2-position="0"]:hover {
  transform: translate3d(-42%, -63%, 0) rotate(0) scale(1.018) !important;
}

@media (min-width: 1180px) {
  .home-hero__main {
    grid-template-columns: minmax(500px, 1fr) minmax(520px, 0.95fr);
    gap: clamp(2rem, 4vw, 5rem);
  }

  .home-hero h1 {
    font-size: clamp(4.75rem, 6.5vw, 8.25rem);
  }

  .home-hero__stage {
    height: clamp(410px, 30vw, 520px);
  }
}

@media (min-width: 761px) and (max-width: 1179px) {
  .home-hero__main {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.86fr);
    gap: clamp(1.5rem, 3vw, 3rem);
  }

  .home-hero__stage {
    height: clamp(360px, 38vw, 430px);
  }

  body.v2-enhanced
    .home-hero__stage.v2-stack-initialised
    .home-hero__stage-card {
    width: min(84%, 500px) !important;
  }
}

@media (max-width: 760px) {
  .home-hero__stage {
    height: clamp(330px, 100vw, 400px);
    margin-top: clamp(2.5rem, 9vw, 4rem) !important;
  }

  body.v2-enhanced
    .home-hero__stage.v2-stack-initialised
    .home-hero__stage-card {
    width: min(78%, 360px) !important;
    height: auto !important;
  }

  .home-hero__stage-card[data-v2-position="0"] {
    transform: translate3d(-50%, -70%, 0) rotate(2deg) scale(1) !important;
  }

  .home-hero__stage-card[data-v2-position="1"] {
    transform: translate3d(-64%, -48%, 0) rotate(-3deg) scale(0.95) !important;
  }

  .home-hero__stage-card[data-v2-position="2"] {
    transform: translate3d(-38%, -20%, 0) rotate(-0.6deg) scale(0.97) !important;
  }
}

/* The custom cursor remains visible above the modal and labels its close area. */
.lightbox[data-cursor="Close"] {
  cursor: none !important;
}

/* Type the existing introduction without adding a second hero message. */
.home-hero__intro.v2-intro-typewriter {
  min-height: 3.4em;
}

.v2-intro-type-text {
  color: inherit;
}

.v2-intro-type-caret {
  background: currentColor;
  width: 0.09em;
  height: 0.88em;
  margin-left: 0.1em;
  display: inline-block;
  transform: translateY(0.06em);
  animation: v2-intro-caret 0.82s steps(1, end) infinite;
}

.v2-intro-typewriter.is-complete .v2-intro-type-caret {
  animation-duration: 1.05s;
}

@keyframes v2-intro-caret {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}

.case-source-link {
  margin-top: clamp(1.1rem, 1.8vw, 1.6rem) !important;
}

.case-source-link a {
  color: var(--case-accent);
  font-family: var(--mono);
  font-size: var(--text-label);
  letter-spacing: 0.045em;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid color-mix(in srgb, var(--case-accent) 58%, transparent);
  padding-bottom: 0.18em;
  transition:
    color 0.24s ease,
    border-color 0.24s ease;
}

.case-source-link a:hover,
.case-source-link a:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
  outline: none;
}

/*
 * Source-limited media remains part of the case-study evidence, but does not
 * masquerade as a high-resolution master. The restrained width and static
 * frame remove both the zoom affordance and the oversized presentation.
 */
.media-grid--source-limited,
.media-figure--source-limited:only-child {
  width: min(100%, 940px);
  margin-right: auto;
  margin-left: auto;
}

.media-figure--source-limited .media-figure__button--static {
  cursor: default;
  overflow: hidden;
  display: block;
  position: relative;
  pointer-events: none;
  user-select: none;
}

.media-figure--source-limited .media-figure__button--static img {
  width: 100%;
  height: auto;
  display: block;
}

.media-figure--source-limited .media-figure__button--static > span {
  display: none !important;
}

@media (max-width: 760px) {
  .home-hero__intro.v2-intro-typewriter {
    min-height: 6.2em;
  }

  .media-grid--source-limited {
    width: min(100%, 34rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .v2-intro-type-caret {
    animation: none;
  }
}
