/* ==========================================================================
   Components
   ========================================================================== */

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.8em 1.6em;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  background: rgba(18, 16, 38, 0.6);
  color: var(--c-text);
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}

.btn:hover,
.btn:focus-visible {
  color: #fff;
  border-color: var(--c-violet-bright);
  background: rgba(94, 46, 164, 0.4);
  box-shadow: var(--glow-violet);
  transform: translateY(-2px);
}

.btn:active { transform: translateY(0); }

.btn--primary {
  border-color: transparent;
  background: var(--grad-accent);
  color: #12001f;
  font-weight: 600;
  box-shadow: 0 10px 30px -12px rgba(199, 125, 255, 0.9);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  color: #12001f;
  background: var(--grad-accent);
  box-shadow: 0 16px 40px -12px rgba(255, 78, 205, 0.95);
}

.btn--sm { padding: 0.55em 1.15em; font-size: var(--step--1); }

.btn__icon {
  width: 1em;
  height: 1em;
  flex: none;
  object-fit: contain;
  transition: transform var(--dur-base) var(--ease-out);
}

/* For wordmark-shaped icons, which are wider than they are tall. */
.btn__icon--wide { width: 1.7em; }

.btn:hover .btn__icon--arrow { transform: translateX(3px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.btn-row--center { justify-content: center; }
.btn-row--spaced { margin-top: var(--space-xl); }

/* --- Panel (frosted card) ------------------------------------------------ */

.panel {
  position: relative;
  padding: clamp(1.35rem, 0.9rem + 2vw, 2.75rem);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.panel--center { text-align: center; }

/* A soft gradient hairline along the top edge. */
.panel--lit::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(199, 125, 255, 0.75), transparent);
}

/* --- Home hero ----------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + var(--space-xl));
  padding-bottom: var(--space-2xl);
}

.hero__grid {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 56.25em) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    grid-template-areas:
      'intro portrait'
      'body  portrait';
    gap: var(--space-md) var(--space-2xl);
    align-items: start;
  }

  .hero__intro   { grid-area: intro; align-self: end; }
  .hero__body    { grid-area: body; }
  .hero__grid .portrait { grid-area: portrait; align-self: center; }
}

.hero__title {
  font-size: var(--step-5);
  font-weight: 700;
  margin-block: var(--space-xs) var(--space-md);
}

.hero__title span { display: block; }

.hero__bio {
  display: grid;
  gap: var(--space-sm);
  max-width: 60ch;
  color: var(--c-text-dim);
}

.hero__bio strong { color: var(--c-text); font-weight: 600; }

.hero__actions { margin-top: var(--space-lg); }

/* --- Portrait ------------------------------------------------------------ */

.portrait {
  position: relative;
  justify-self: center;
  width: min(22rem, 78vw);
  aspect-ratio: 726 / 894;
  margin: 0;
  border-radius: var(--radius-xl);
  padding: 6px;
  background: linear-gradient(150deg, rgba(199, 125, 255, 0.9), rgba(255, 78, 205, 0.35) 45%, rgba(94, 231, 255, 0.5));
  /* The halo is a box-shadow rather than a pseudo-element: shadows do not
     contribute to scrollable overflow, so it cannot widen the page. */
  box-shadow:
    var(--shadow-lg),
    0 0 60px -18px rgba(199, 125, 255, 0.8),
    0 0 120px -10px rgba(168, 85, 247, 0.45);
}

.portrait__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 6px);
}

/* --- Facts strip --------------------------------------------------------- */

.facts {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  margin-top: var(--space-xl);
}

.fact {
  padding: var(--space-md);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(40, 30, 78, 0.5), rgba(12, 12, 28, 0.45));
  transition: border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease-out);
}

.fact:hover {
  border-color: var(--c-line);
  transform: translateY(-3px);
}

.fact__value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  line-height: 1;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fact__label {
  display: block;
  margin-top: var(--space-2xs);
  font-size: var(--step--1);
  color: var(--c-text-dim);
  line-height: var(--leading-snug);
}

/* --- Project block (home) ------------------------------------------------ */

.project {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 60em) {
  .project { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl); }
  .project--reverse .project__media { order: 2; }
}

.project + .project { margin-top: var(--space-2xl); }

.project__head {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.project__logo {
  width: 4rem;
  height: 4rem;
  flex: none;
  padding: 5px;
  border-radius: var(--radius-md);
  object-fit: contain;
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.project__title { font-size: var(--step-3); }

.project__role {
  margin-top: 0.2em;
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  color: var(--c-violet-bright);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
}

@media (min-width: 60em) {
  .project__role {
    width: 145%;
  }
}

    width: 145%;

.project__list {
  display: grid;
  gap: var(--space-2xs);
  margin-top: var(--space-md);
  color: var(--c-text-dim);
}

.project__list li {
  position: relative;
  padding-left: 1.6em;
  line-height: var(--leading-snug);
}

.project__list li::before {
  content: '';
  position: absolute;
  left: 0.15em;
  top: 0.62em;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--grad-accent);
  box-shadow: 0 0 10px rgba(199, 125, 255, 0.8);
}

.project__actions { margin-top: var(--space-lg); }

/* --- Media frame (video / image) ----------------------------------------- */

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  background: var(--c-deep);
  box-shadow: var(--shadow-lg), var(--glow-violet);
  aspect-ratio: 16 / 9;
}

.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The trailers are 640x360 sources: cap the frame so they are not upscaled to
   the full container width. */
.media-frame--inset {
  max-width: 56rem;
  margin-inline: auto;
}

.media-frame__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: linear-gradient(180deg, rgba(6, 6, 16, 0.15), rgba(6, 6, 16, 0.55));
  cursor: pointer;
  transition: background var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
}

.media-frame__play:hover { background: linear-gradient(180deg, rgba(6, 6, 16, 0.05), rgba(6, 6, 16, 0.4)); }

.media-frame__play::after {
  content: '';
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(168, 85, 247, 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center/42% no-repeat;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 40px -6px rgba(199, 125, 255, 0.95);
  transition: transform var(--dur-base) var(--ease-out);
}

.media-frame__play:hover::after { transform: scale(1.08); }
.media-frame.is-playing .media-frame__play { opacity: 0; pointer-events: none; }

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-sm) var(--space-md);
  background: linear-gradient(0deg,
    rgba(5, 5, 14, 0.95) 0%,
    rgba(5, 5, 14, 0.85) 62%,
    transparent 100%);
  font-size: var(--step--1);
  color: #fff;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease);
}

.media-frame.is-playing .media-frame__caption { opacity: 0; }

/* --- Game cards ---------------------------------------------------------- */

.card-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
}

.game-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-lg);
  background: var(--grad-surface);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-line);
  box-shadow: var(--shadow-lg), var(--glow-violet);
}

.game-card__art {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.game-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.game-card:hover .game-card__cover { transform: scale(1.06); }

.game-card__art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 8, 24, 0.95), rgba(10, 8, 24, 0.1) 55%);
}

/* Sits at the top of the body and is pulled up so it straddles the artwork. */
.game-card__logo {
  width: 4.5rem;
  height: 4.5rem;
  margin-top: calc(-1 * (var(--space-lg) + var(--space-2xs)));
  margin-bottom: var(--space-sm);
  padding: 5px;
  border-radius: var(--radius-md);
  object-fit: contain;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-md);
  background: #14122a;
}

.game-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-md);
  padding-top: 4rem;
}

.game-card__title {
  font-size: var(--step-2);
  margin-bottom: var(--space-2xs);
}

.game-card__text {
  margin-bottom: var(--space-md);
  color: var(--c-text-dim);
  font-size: var(--step--1);
  line-height: var(--leading-body);
}

.game-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--c-line-soft);
}

.game-card__foot .btn { margin-left: auto; }

/* --- Tags ---------------------------------------------------------------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.35em 0.85em;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--c-text-dim);
  white-space: nowrap;
}

.tag--engine { color: var(--c-cyan); border-color: rgba(94, 231, 255, 0.35); }
.tag--role   { color: var(--c-violet-bright); border-color: var(--c-line); }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
}

.tag-row--center { justify-content: center; }

/* --- Showcase (full-bleed project header) -------------------------------- */

.showcase {
  --tint: var(--c-violet-bright);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-xl);
  background: var(--c-deep);
  box-shadow: var(--shadow-lg);
}

.showcase__art {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.showcase__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase__art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 8, 20, 0.96) 2%, rgba(8, 8, 20, 0.25) 60%, rgba(8, 8, 20, 0.35));
}

.showcase__body {
  position: relative;
  z-index: 2;
  padding: clamp(1.35rem, 0.9rem + 2vw, 3rem);
}

.showcase__body .tag-row {
  margin-top: var(--space-md);
}

.showcase__logo {
  width: 4.75rem;
  height: 4.75rem;
  padding: 5px;
  border-radius: var(--radius-md);
  object-fit: contain;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-md);
  background: #14122a;
  margin-bottom: var(--space-sm);
}

.showcase__title {
  font-size: var(--step-4);
  font-weight: 700;
}

.showcase__text {
  display: grid;
  gap: var(--space-sm);
  max-width: 68ch;
  margin-top: var(--space-md);
  color: var(--c-text-dim);
}

.showcase__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.showcase__platforms {
  height: 2.2rem;
  width: auto;
  opacity: 0.95;
}

@media (min-width: 64em) {
  .showcase { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 30rem; }
  .showcase__art { grid-area: 1 / 1; aspect-ratio: auto; height: 100%; }

  /* Two stacked scrims keep the copy readable over any key art: a wash over the
     whole picture, plus a heavier one under the text column itself. */
  .showcase__art::after {
    background: linear-gradient(90deg,
      rgba(6, 6, 16, 0.9) 0%,
      rgba(6, 6, 16, 0.72) 42%,
      rgba(6, 6, 16, 0.28) 72%,
      rgba(6, 6, 16, 0.42) 100%);
  }
  .showcase--right .showcase__art::after {
    background: linear-gradient(270deg,
      rgba(6, 6, 16, 0.9) 0%,
      rgba(6, 6, 16, 0.72) 42%,
      rgba(6, 6, 16, 0.28) 72%,
      rgba(6, 6, 16, 0.42) 100%);
  }

  .showcase__body {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: min(62%, 45rem);
    padding-right: clamp(3rem, 7vw, 6rem);
    background: linear-gradient(90deg,
      rgba(6, 6, 16, 0.95) 0%,
      rgba(6, 6, 16, 0.92) 72%,
      rgba(6, 6, 16, 0.62) 90%,
      rgba(6, 6, 16, 0) 100%);
  }
  .showcase--right .showcase__body {
    margin-left: auto;
    padding-right: clamp(1.35rem, 2vw, 3rem);
    padding-left: clamp(3rem, 7vw, 6rem);
    background: linear-gradient(270deg,
      rgba(6, 6, 16, 0.95) 0%,
      rgba(6, 6, 16, 0.92) 72%,
      rgba(6, 6, 16, 0.62) 90%,
      rgba(6, 6, 16, 0) 100%);
  }

  /* Keep the copy inside the dark part of the scrim. */
  .showcase__text,
  .showcase__title { max-width: 52ch; }
}

/* --- Store badges -------------------------------------------------------- */

.store-badge {
  display: inline-flex;
  border-radius: var(--radius-sm);
  transition: transform var(--dur-fast) var(--ease), filter var(--dur-fast) var(--ease);
}

.store-badge img { height: 2.6rem; width: auto; }
.store-badge:hover { transform: translateY(-2px); filter: brightness(1.12); }

/* --- Tasks --------------------------------------------------------------- */

.tasks__grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.task-group {
  padding: var(--space-md);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-md);
  background: rgba(16, 15, 36, 0.55);
  transition: border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease-out);
}

.task-group:hover { border-color: var(--c-line); transform: translateY(-3px); }

.task-group__title {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--step-1);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-2xs);
  border-bottom: 1px solid var(--c-line-soft);
}

.task-group__title::before {
  content: '';
  width: 0.55em;
  height: 0.55em;
  flex: none;
  rotate: 45deg;
  background: var(--grad-accent);
  box-shadow: 0 0 12px rgba(199, 125, 255, 0.9);
}

.task-list {
  display: grid;
  gap: var(--space-2xs);
  font-size: var(--step--1);
  color: var(--c-text-dim);
  line-height: var(--leading-snug);
}

.task-list li {
  position: relative;
  padding-left: 1.15em;
}

.task-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.35em;
  height: 0.35em;
  border-radius: 50%;
  background: var(--c-violet);
}

.task-list strong { color: var(--c-text); font-weight: 600; }

/* --- Marquee ------------------------------------------------------------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-sm);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: var(--space-md);
  width: max-content;
  animation: marquee var(--marquee-duration, 48s) linear infinite;
}

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }

.marquee__item {
  position: relative;
  flex: none;
  width: clamp(13rem, 22vw, 19rem);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-line-soft);
  background: var(--c-deep);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease);
}

.marquee__item:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--c-violet-bright);
}

.marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marquee__label {
  position: absolute;
  inset: auto 0 0;
  padding: var(--space-md) var(--space-sm) var(--space-xs);
  background: linear-gradient(0deg, rgba(5, 5, 14, 0.95), transparent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step--1);
  color: #fff;
}

/* --- About --------------------------------------------------------------- */

.about__text {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  color: var(--c-text-dim);
}

.about__closing {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--c-violet-bright);
}

.about__tags { margin-top: var(--space-lg); }

/* --- Contact ------------------------------------------------------------- */

.contact__email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1.2;
  word-break: break-word;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  transition: filter var(--dur-base) var(--ease);
}

.contact__email:hover { filter: brightness(1.25) saturate(1.2); }

.contact__actions { margin-top: var(--space-md); }

.contact__meta {
  display: grid;
  gap: var(--space-2xs);
  margin-top: var(--space-sm);
  color: var(--c-text-dim);
  font-size: var(--step--1);
}

/* --- Back to top --------------------------------------------------------- */

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: var(--z-float);
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: rgba(14, 12, 32, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--c-text);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--dur-base) var(--ease),
              visibility var(--dur-base),
              transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease);
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { box-shadow: var(--glow-violet); border-color: var(--c-violet-bright); }
.to-top svg { width: 1.2rem; height: 1.2rem; }

/* --- Chapter nav (in-page anchors) --------------------------------------- */

.chapter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  justify-content: center;
  margin-top: var(--space-lg);
}

.chapter-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.55em 1.2em;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-pill);
  background: rgba(18, 16, 38, 0.55);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--c-text-dim);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}

.chapter-nav a:hover,
.chapter-nav a.is-active {
  color: #fff;
  border-color: var(--c-violet-bright);
  background: rgba(94, 46, 164, 0.4);
}

/* --- Project chapter (inner pages) --------------------------------------- */

.chapter { scroll-margin-top: calc(var(--header-h) + var(--space-md)); }
.chapter + .chapter { margin-top: var(--space-xl); }

.chapter__aside {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.chapter__tasks-title {
  font-size: var(--step-3);
  margin-bottom: var(--space-md);
  text-align: center;
}

/* --- Per-project tint ----------------------------------------------------
   Each student game carries an accent pulled from its own key art.
   ------------------------------------------------------------------------- */

.showcase--tinted .showcase__title {
  background: linear-gradient(100deg, var(--tint), rgba(255, 255, 255, 0.92));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.showcase--tinted .showcase__logo {
  border-color: var(--tint);
  box-shadow: 0 0 30px -6px var(--tint), var(--shadow-md);
}

.showcase--tinted .showcase__body::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--tint), transparent);
  opacity: 0.65;
}

/* Right-hand layouts put the accent on the card's outer edge, not between the
   artwork and the copy. */
@media (min-width: 64em) {
  .showcase--tinted.showcase--right .showcase__body::after { left: auto; right: 0; }
}
