/* ==========================================================================
   Work section: the journey
   --------------------------------------------------------------------------
   1. The footage of the girl and the book fills the stage; it only moves with
      scrolling, plus a slow creep and a living layer of wind and dust.
   2. The projects come down the path towards you, one card at a time.

   Everything is driven by js/work-stage.js. Without html.js-fx (reduced
   motion, or no JavaScript) none of the scene is used and the projects are
   shown as a plain grid.
   ========================================================================== */

.work {
  position: relative;
  /* The scene is always "night", whatever theme the site uses. */
  --ink: #f2efe8;
  --ink-2: #cfd3d8;
  --ink-3: #98a0ac;
  --gold: #e8bb78;
  --gold-2: #f6dcae;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.2);
  --paper: #0c121b;
  --bg: #05070c;
  --wk-cyan: #f0c987;
  color: var(--ink);
  background: #05070c;
}

/* ---------- plain layout (no scroll scene) ---------- */

.wk-stage {
  position: relative;
  padding: clamp(72px, 10vw, 120px) var(--pad);
}

.wk-photo,
.wk-mini,
.wk-rail {
  display: none;
}

.wk-intro {
  max-width: 1180px;
  margin: 0 auto 36px;
}

.wk-hint {
  display: none;
}

.wk-intro h2,
.wk-intro .sec-head {
  max-width: 1180px;
}

.wk-intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 500;
  line-height: 0.92;
}

.wk-intro h2 em {
  color: var(--gold);
}

.work .projects-grid {
  display: grid;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.work .projects-more {
  max-width: 1180px;
  margin: 18px auto 0;
}

/* ---------- project card (both layouts) ---------- */

.work .project-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  overflow: hidden;
  border: 1px solid rgba(110, 200, 255, 0.26);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(10, 22, 38, 0.84), rgba(4, 9, 17, 0.9));
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.6),
    0 0 70px rgba(70, 160, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.work .project-image {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.work .project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(4, 9, 17, 0.7)), radial-gradient(circle at 20% 90%, rgba(98, 216, 255, 0.16), transparent 55%);
  pointer-events: none;
}

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

.work .project-tag {
  z-index: 2;
  border: 1px solid rgba(98, 216, 255, 0.4);
  background: rgba(3, 10, 20, 0.6);
  color: #bfeeff;
}

.wk-num {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: -14px;
  font-family: var(--serif);
  font-size: clamp(6rem, 12vw, 9rem);
  font-style: italic;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(160, 225, 255, 0.34);
  user-select: none;
  pointer-events: none;
}

.work .project-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 3.2vw, 44px);
}

.wk-meta {
  margin: 0 0 14px;
  color: var(--wk-cyan);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
}

.work .project-body h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
}

.work .project-body p {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.65;
}

.work .project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.work .project-tech li {
  padding: 4px 10px;
  border: 1px solid rgba(98, 216, 255, 0.22);
  border-radius: 999px;
  background: rgba(98, 216, 255, 0.07);
  color: #cdeffc;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.work .project-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.work .project-link {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.work .project-link:hover {
  color: var(--gold-2);
}

.work .project-link--quiet {
  color: var(--ink-3);
}

.work .project-status {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid rgba(232, 187, 120, 0.4);
  border-radius: 999px;
  background: rgba(232, 187, 120, 0.08);
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.work .projects-grid > .section-intro {
  grid-column: 1 / -1;
  color: var(--ink-2);
  text-align: center;
}

@media (max-width: 760px) {
  .work .project-card {
    grid-template-columns: 1fr;
  }

  .work .project-image {
    min-height: 0;
    height: clamp(120px, 24vh, 220px);
  }

  .work .project-image::after {
    background: linear-gradient(180deg, transparent 50%, rgba(4, 9, 17, 0.75));
  }

  .wk-num {
    font-size: 5rem;
    bottom: -8px;
  }

  .work .project-body {
    padding: 18px 18px 20px;
  }

  .wk-meta {
    margin-bottom: 8px;
  }

  .work .project-body p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }

  .work .project-tech {
    margin-top: 12px;
  }

  .work .project-links {
    margin-top: 14px;
  }
}

/* ==========================================================================
   The scroll scene (html.js-fx only)
   ========================================================================== */

.js-fx .work {
  /* height is set by js/work-stage.js */
  height: 100vh;
}

.js-fx .wk-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 0;
  overflow: hidden;
  background: #05070c;
  --s: 420px;
}

.js-fx .wk-photo {
  display: block;
}

.js-fx .wk-mini {
  display: flex;
}

.js-fx .wk-rail {
  display: flex;
}

.wk-rail[hidden] {
  display: none !important;
}

/* ---------- the footage ---------- */

.wk-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #04070f;
}

/* the footage, blurred, picking up its colours down the sides of the screen */
.wk-back {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  object-fit: cover;
  filter: blur(30px) brightness(0.7) saturate(1.3);
  pointer-events: none;
}

/* the surround breathes a little, so even a standing frame is alive */
.js-fx .wk-back {
  animation: wk-breathe 22s ease-in-out infinite alternate;
}

@keyframes wk-breathe {
  0% { transform: scale(1) translate3d(-1.8%, 0.6%, 0); }
  100% { transform: scale(1.09) translate3d(1.8%, -0.8%, 0); }
}

/* the whole clip, top to bottom as it was filmed; js/work-stage.js sizes it and steps through it as you scroll */
.wk-video {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: none;
  display: block;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: transform;
  /* soft edges, so the clip melts into its blurred surround */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

/* ---------- the air: always moving, scroll or no scroll ---------- */

.wk-air {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* soft banks of mist drifting across, one each way */
.wk-mist {
  position: absolute;
  left: -35%;
  width: 170%;
  height: 48%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.55;
  filter: blur(26px);
  background:
    radial-gradient(ellipse 34% 46% at 28% 52%, rgba(255, 228, 176, 0.2), transparent 70%),
    radial-gradient(ellipse 30% 40% at 68% 46%, rgba(170, 220, 255, 0.16), transparent 70%);
  animation: wk-mist 34s ease-in-out infinite alternate;
}

.wk-mist--a {
  top: 46%;
}

.wk-mist--b {
  top: 4%;
  opacity: 0.4;
  animation-duration: 46s;
  animation-direction: alternate-reverse;
}

@keyframes wk-mist {
  0% { transform: translate3d(-9%, 0, 0) scaleY(0.94); }
  100% { transform: translate3d(9%, -3%, 0) scaleY(1.08); }
}

/* shafts of light that sway and breathe */
.wk-rays {
  position: absolute;
  inset: -10% -20%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.5;
  background:
    repeating-linear-gradient(102deg, transparent 0 120px, rgba(255, 226, 170, 0.07) 150px, transparent 200px, transparent 300px, rgba(255, 240, 210, 0.05) 330px, transparent 380px);
  -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0, transparent 78%);
  animation: wk-rays 15s ease-in-out infinite alternate;
}

@keyframes wk-rays {
  0% { transform: translate3d(-3%, 0, 0) skewX(-2deg); opacity: 0.28; }
  100% { transform: translate3d(3%, 0, 0) skewX(2deg); opacity: 0.62; }
}

/* cinematic finish: dark corners, and a shade behind the heading */
.wk-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(3, 8, 18, 0.5) 0%, rgba(3, 8, 18, 0.14) 32%, transparent 50%),
    radial-gradient(130% 100% at 50% 54%, transparent 58%, rgba(2, 6, 14, 0.5) 100%);
}

/* ---------- copy ---------- */

.js-fx .wk-intro {
  position: absolute;
  z-index: 7;
  top: calc(var(--nav-h) + 10px);
  left: var(--pad);
  right: var(--pad);
  max-width: 1180px;
  margin: 0 auto;
  pointer-events: none;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.7);
}

.js-fx .wk-intro .sec-head {
  margin-bottom: 14px;
}

.js-fx .wk-intro h2 {
  max-width: 11ch;
}

.js-fx .wk-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.js-fx .wk-hint::before {
  content: "";
  width: 1px;
  height: 30px;
  background: linear-gradient(var(--gold), transparent);
  transform-origin: top;
  animation: wk-hint 1.8s ease-in-out infinite;
}

@keyframes wk-hint {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.wk-mini {
  position: absolute;
  z-index: 7;
  top: calc(var(--nav-h) + 6px);
  left: var(--pad);
  right: var(--pad);
  max-width: 1180px;
  margin: 0 auto;
  align-items: baseline;
  gap: 14px;
  opacity: 0;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}

.wk-mini .sec-i {
  color: var(--gold);
}

.wk-mini-count {
  margin-left: auto;
  letter-spacing: 0.08em;
  text-transform: none;
}

.wk-mini-count b {
  color: var(--wk-cyan);
  font-weight: 500;
}

/* ---------- projects flying out of the burst ---------- */

.js-fx .work .projects-grid {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: block;
  max-width: none;
  margin: 0;
  perspective: 1100px;
  perspective-origin: 50% 46%;
  pointer-events: none;
}

.js-fx .work .project-card {
  position: absolute;
  left: 50%;
  top: 55%;
  width: min(1020px, calc(100% - var(--pad) * 2));
  max-height: calc(100vh - var(--nav-h) - 80px);
  translate: -50% -50%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
}

.js-fx .work .projects-grid > .section-intro {
  position: absolute;
  left: 50%;
  top: 55%;
  translate: -50% -50%;
  opacity: 0;
}

.wk-rail {
  position: absolute;
  z-index: 9;
  top: 50%;
  right: clamp(10px, 2vw, 26px);
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateY(-50%);
}

.wk-dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 6px 4px;
  border: 0;
  background: none;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.wk-dot span {
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.wk-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid var(--ink-3);
  border-radius: 50%;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.wk-dot:hover span,
.wk-dot:focus-visible span,
.wk-dot[aria-current="true"] span {
  opacity: 1;
  transform: none;
}

.wk-dot[aria-current="true"] {
  color: var(--wk-cyan);
}

.wk-dot[aria-current="true"]::after {
  border-color: var(--wk-cyan);
  background: var(--wk-cyan);
  box-shadow: 0 0 14px rgba(240, 201, 135, 0.85);
  transform: scale(1.3);
}

.js-fx .work .projects-more {
  position: absolute;
  z-index: 9;
  left: 50%;
  bottom: 22px;
  margin: 0;
  translate: -50% 0;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 760px) {
  .js-fx .work .project-card {
    top: 56%;
    max-height: calc(100vh - var(--nav-h) - 110px);
  }

  .js-fx .wk-intro h2 {
    max-width: 13ch;
    font-size: clamp(2.3rem, 11.5vw, 3rem);
  }

  .wk-rail {
    right: 4px;
  }

  .wk-dot span {
    display: none;
  }

  .wk-mini-count {
    display: none;
  }
}

/* ==========================================================================
   Project cards, polished: warm glass over the footage
   ========================================================================== */

@property --ang {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.work .project-card {
  --acc: #f0c987;
  --acc-2: #fbe6bd;
  --mx: 50%;
  --my: 0%;
  isolation: isolate;
  border: 0;
  border-radius: 28px;
  background:
    linear-gradient(155deg, rgba(34, 24, 16, 0.6) 0%, rgba(10, 12, 18, 0.68) 52%, rgba(5, 8, 14, 0.76) 100%);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow:
    0 44px 110px rgba(0, 0, 0, 0.55),
    0 0 100px rgba(240, 201, 135, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* a thin light that runs round the edge */
.work .project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  padding: 1.3px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--ang),
    rgba(240, 201, 135, 0) 0%,
    rgba(255, 224, 168, 0.95) 9%,
    rgba(240, 201, 135, 0.25) 20%,
    rgba(130, 200, 255, 0.55) 34%,
    rgba(240, 201, 135, 0) 48%,
    rgba(240, 201, 135, 0.08) 66%,
    rgba(255, 214, 150, 0.8) 84%,
    rgba(240, 201, 135, 0) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  animation: wk-ang 11s linear infinite;
}

@keyframes wk-ang {
  to {
    --ang: 360deg;
  }
}

/* a soft light that follows the pointer (and wanders when there is none) */
.work .project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 228, 176, 0.14), transparent 62%);
  pointer-events: none;
}

/* ---- the picture side ---- */

.work .project-image {
  min-height: 320px;
}

/* with no screenshot: a quiet pattern of rings and a glow, slowly turning */
.work .project-image:not(.has-featured-image)::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 214, 150, 0.3), transparent 42%),
    radial-gradient(circle at 78% 82%, rgba(110, 175, 255, 0.24), transparent 46%),
    repeating-radial-gradient(circle at 34% 30%, transparent 0 30px, rgba(255, 228, 176, 0.09) 31px 32px);
  animation: wk-rings 60s linear infinite;
}

@keyframes wk-rings {
  to {
    transform: rotate(360deg);
  }
}

.work .project-featured-img {
  transform-origin: 50% 40%;
  animation: wk-kenburns 26s ease-in-out infinite alternate;
}

@keyframes wk-kenburns {
  0% { transform: scale(1.02) translate3d(-1%, 0, 0); }
  100% { transform: scale(1.12) translate3d(1.5%, -1%, 0); }
}

.work .project-image::after {
  background:
    linear-gradient(90deg, transparent 48%, rgba(8, 10, 16, 0.82) 100%),
    linear-gradient(0deg, rgba(5, 8, 14, 0.55), transparent 36%);
}

.work .project-tag {
  top: 20px;
  left: 20px;
  z-index: 3;
  padding: 6px 13px 6px 11px;
  border: 1px solid rgba(240, 201, 135, 0.4);
  border-radius: 999px;
  background: rgba(14, 12, 10, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--acc-2);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.work .project-tag::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 10px var(--acc);
  vertical-align: 1px;
}

.wk-num {
  z-index: 2;
  right: 18px;
  bottom: -18px;
  font-size: clamp(7rem, 13vw, 10.5rem);
  -webkit-text-stroke: 1px rgba(251, 230, 189, 0.4);
  text-shadow: 0 0 40px rgba(240, 201, 135, 0.25);
}

/* ---- the words ---- */

.work .project-body {
  gap: 0;
  padding: clamp(24px, 3.6vw, 52px);
  z-index: 2;
}

.wk-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--acc);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
}

.wk-meta::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 201, 135, 0.7), transparent);
}

.work .project-body h3 {
  background: linear-gradient(180deg, #ffffff 15%, #f6dcae 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: clamp(2.1rem, 3.9vw, 3.5rem);
  letter-spacing: -0.012em;
  line-height: 1.02;
  text-shadow: none;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.45));
}

.work .project-body p {
  margin-top: 16px;
  color: rgba(238, 232, 220, 0.8);
  line-height: 1.7;
}

.work .project-tech {
  gap: 8px;
  margin-top: 20px;
}

.work .project-tech li {
  padding: 5px 12px;
  border: 1px solid rgba(240, 201, 135, 0.26);
  background: linear-gradient(180deg, rgba(240, 201, 135, 0.13), rgba(240, 201, 135, 0.04));
  color: #f6e6c6;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.work .project-tech li:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 201, 135, 0.6);
}

.work .project-links {
  gap: 12px;
  margin-top: 26px;
}

.work .project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1px solid rgba(240, 201, 135, 0.55);
  border-radius: 999px;
  background: linear-gradient(135deg, #fbe6bd 0%, #e2a85d 100%);
  box-shadow: 0 8px 26px rgba(226, 168, 93, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #1b1208;
  font-weight: 500;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.work .project-link:hover {
  color: #1b1208;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(226, 168, 93, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.work .project-link--quiet {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  color: #efe6d4;
}

.work .project-link--quiet:hover {
  border-color: rgba(240, 201, 135, 0.6);
  background: rgba(240, 201, 135, 0.1);
  color: #fff;
  box-shadow: none;
}

.work .project-status {
  padding: 8px 16px;
  border-color: rgba(240, 201, 135, 0.45);
  background: rgba(240, 201, 135, 0.09);
  color: var(--acc-2);
}

@media (max-width: 760px) {
  .work .project-card {
    border-radius: 22px;
  }

  .work .project-card {
    background: linear-gradient(155deg, rgba(30, 22, 16, 0.78), rgba(8, 11, 17, 0.84) 60%, rgba(5, 8, 14, 0.88));
  }

  .work .project-image {
    min-height: 0;
    height: clamp(84px, 14vh, 128px);
  }

  .work .project-tag {
    top: 12px;
    left: 12px;
    padding: 5px 11px 5px 9px;
  }

  .work .project-body {
    padding: 16px 18px 18px;
  }

  .work .project-body p {
    margin-top: 10px;
    -webkit-line-clamp: 3;
  }

  .work .project-tech {
    margin-top: 12px;
    gap: 6px;
  }

  .work .project-links {
    margin-top: 16px;
    gap: 8px;
  }

  .work .project-body h3 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .work .project-link {
    padding: 8px 14px;
    font-size: 0.76rem;
  }

  .wk-meta {
    margin-bottom: 8px;
  }

  .wk-num {
    font-size: 4.4rem;
    bottom: -10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work .project-card::before,
  .work .project-image::before,
  .work .project-featured-img {
    animation: none;
  }
}
