/*
  Wolf Interactive landing page prototype v2
  ------------------------------------------------------------
  Principles:
  - semantic HTML first
  - progressive enhancement for navigation and pointer effects
  - no external runtime dependencies
  - accessible focus states and reduced-motion support
  - mobile-first behaviour without duplicating content
*/

:root {
  color-scheme: dark;

  --colour-bg: #0a0c10;
  --colour-bg-raised: #10151b;
  --colour-panel: #121820;
  --colour-text: #edf2f4;
  --colour-text-muted: #a5b0b7;
  --colour-text-faint: #66747d;
  --colour-line: rgb(194 219 231 / 14%);
  --colour-line-strong: rgb(194 219 231 / 27%);
  --colour-accent: #4fd0e5;
  --colour-accent-soft: #9beaf4;
  --colour-accent-deep: #1f8198;

  --shadow-soft: 0 24px 70px rgb(0 0 0 / 35%);
  --layout-max: 1240px;
  --header-height: 84px;
  --section-space: clamp(5.5rem, 10vw, 8.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 0%, rgb(44 112 130 / 12%), transparent 34rem),
    var(--colour-bg);
  color: var(--colour-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

::selection {
  background: rgb(79 208 229 / 28%);
}

:focus-visible {
  outline: 2px solid var(--colour-accent-soft);
  outline-offset: 4px;
}

.layout-container {
  width: min(calc(100% - 3.5rem), var(--layout-max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--colour-accent);
  color: #061015;
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--colour-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--colour-text);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 0;
}

/* Header --------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  border-bottom: 1px solid transparent;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--colour-line);
  background: rgb(10 12 16 / 82%);
  backdrop-filter: blur(18px) saturate(130%);
}

.site-header__inner {
  width: min(calc(100% - 3.5rem), var(--layout-max));
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  text-decoration: none;
}

.site-brand__mark {
  width: 3.25rem;
  height: 3.7rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgb(0 0 0 / 32%));
}

.site-brand__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: 0.2em;
}

.site-brand__wordmark strong {
  font-size: 0.9rem;
}

.site-brand__wordmark small {
  margin-top: 0.34rem;
  color: var(--colour-accent);
  font-size: 0.47rem;
  font-weight: 800;
  letter-spacing: 0.32em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.3vw, 2rem);
}

.site-nav a {
  color: #c7d0d5;
  font-size: 0.78rem;
  letter-spacing: 0.055em;
  text-decoration: none;
  transition: color 150ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.site-nav__contact {
  padding: 0.72rem 1rem;
  border: 1px solid rgb(79 208 229 / 42%);
  color: var(--colour-accent-soft) !important;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0.5rem 0;
  border: 0;
  background: transparent;
  color: var(--colour-text);
  cursor: pointer;
}

.nav-toggle__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-toggle__icon {
  position: relative;
  width: 1.5rem;
  height: 1rem;
}

.nav-toggle__icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease;
}

.nav-toggle__icon span:first-child {
  top: 0.25rem;
}

.nav-toggle__icon span:last-child {
  top: 0.75rem;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:first-child {
  top: 0.5rem;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:last-child {
  top: 0.5rem;
  transform: rotate(-45deg);
}

/* Pointer ambience ---------------------------------------- */

.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: min(46rem, 68vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(79 208 229 / 11%) 0%,
    rgb(79 208 229 / 4%) 34%,
    transparent 70%
  );
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 400ms ease;
  will-change: transform;
}

.ambient-glow.is-active {
  opacity: 1;
}

/* Hero / Lone Ridge atmosphere ---------------------------- */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + clamp(3.5rem, 7vh, 6rem));
  border-bottom: 1px solid var(--colour-line);
  overflow: clip;
  isolation: isolate;
  background:
    linear-gradient(
      90deg,
      rgb(10 12 16 / 96%) 0%,
      rgb(10 12 16 / 88%) 34%,
      rgb(10 12 16 / 40%) 66%,
      rgb(10 12 16 / 12%) 100%
    ),
    url("../assets/images/lone-ridge-hero-bg.webp") center bottom / cover no-repeat,
    var(--colour-bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 42%, rgb(79 208 229 / 9%), transparent 31rem),
    linear-gradient(
      to bottom,
      rgb(10 12 16 / 8%) 0%,
      rgb(10 12 16 / 0%) 44%,
      rgb(10 12 16 / 42%) 100%
    );
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgb(255 255 255 / 0.012) 0,
      rgb(255 255 255 / 0.012) 1px,
      transparent 1px,
      transparent 3px
    );
  mix-blend-mode: soft-light;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(22rem, 0.82fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
}

.hero__content {
  max-width: 50rem;
}

.hero__title {
  max-width: 13ch;
  margin-bottom: 0;
  font-size: clamp(3.55rem, 6.35vw, 6.45rem);
  font-weight: 800;
  line-height: 0.98;
}

.hero__accent {
  color: var(--colour-accent);
  text-shadow: 0 0 32px rgb(79 208 229 / 13%);
}

.hero__summary {
  max-width: 42rem;
  margin: 1.8rem 0 0;
  color: #b7c1c7;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  min-height: 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-inline: 1.25rem;
  border: 1px solid var(--colour-line-strong);
  color: var(--colour-text);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background-color 150ms ease,
    color 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  border-color: var(--colour-accent);
  background: var(--colour-accent);
  color: #061015;
}

.button--primary:hover {
  background: var(--colour-accent-soft);
}

.button--secondary {
  background: rgb(255 255 255 / 1.5%);
}

.button--secondary:hover {
  border-color: rgb(79 208 229 / 55%);
  color: var(--colour-accent-soft);
}

.button--disabled {
  opacity: 0.64;
  pointer-events: none;
}

.hero__visual {
  min-width: 0;
}

.hero-emblem {
  position: relative;
  width: min(100%, 31rem);
  aspect-ratio: 1;
  margin-left: auto;
  display: grid;
  place-items: center;
}

.hero-emblem::before,
.hero-emblem::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-emblem::before {
  inset: 2%;
  border: 1px solid rgb(79 208 229 / 25%);
  box-shadow: inset 0 0 60px rgb(79 208 229 / 3%);
}

.hero-emblem::after {
  inset: 15%;
  border: 1px dashed rgb(79 208 229 / 16%);
}

.hero-emblem__frame {
  position: relative;
  width: 61%;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-emblem__frame::before {
  content: "";
  position: absolute;
  inset: 10% -5% 4%;
  z-index: -1;
  background: radial-gradient(circle, rgb(79 208 229 / 10%), transparent 66%);
  filter: blur(8px);
}

.hero-emblem__frame::after {
  content: "";
  position: absolute;
  inset: 50% -45%;
  height: 1px;
  z-index: -2;
  background: linear-gradient(90deg, transparent, rgb(79 208 229 / 24%), transparent);
}

.hero-emblem img {
  width: 100%;
  filter:
    saturate(0.45)
    contrast(1.08)
    brightness(0.9)
    drop-shadow(0 28px 42px rgb(0 0 0 / 45%));
}

.hero-emblem__label {
  position: absolute;
  right: 7%;
  bottom: 10%;
  color: rgb(155 234 244 / 52%);
  font-size: 0.52rem;
  letter-spacing: 0.24em;
}

.hero-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(3.5rem, 8vh, 6.5rem);
  border-top: 1px solid var(--colour-line);
  border-bottom: 1px solid var(--colour-line);
}

.hero-index__item {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem 1.15rem 0;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.hero-index__item + .hero-index__item {
  padding-left: 1.2rem;
  border-left: 1px solid var(--colour-line);
}

.hero-index__item:hover,
.hero-index__item:focus-visible {
  background: rgb(79 208 229 / 3.5%);
}

.hero-index__number {
  align-self: start;
  padding-top: 0.2rem;
  color: var(--colour-accent);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

.hero-index__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hero-index__copy strong {
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-index__copy small {
  margin-top: 0.28rem;
  color: var(--colour-text-faint);
  font-size: 0.7rem;
}

.hero-index__arrow {
  color: var(--colour-accent);
  opacity: 0;
  transform: translate(-0.4rem, -0.4rem);
  transition: opacity 150ms ease, transform 150ms ease;
}

.hero-index__item:hover .hero-index__arrow,
.hero-index__item:focus-visible .hero-index__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* Shared sections ----------------------------------------- */

.section {
  position: relative;
  z-index: 1;
  padding-block: var(--section-space);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: 2.8rem;
}

.section-heading__intro {
  max-width: 32rem;
  margin: 0 0 0 auto;
  color: var(--colour-text-muted);
  line-height: 1.78;
}

.metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--colour-text-faint);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metadata span:first-child {
  color: var(--colour-accent);
}

.inline-action {
  display: inline-flex;
  gap: 0.7rem;
  margin-top: auto;
  color: var(--colour-accent-soft);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Projects ------------------------------------------------- */

.section--projects {
  background:
    radial-gradient(circle at 9% 12%, rgb(79 208 229 / 5%), transparent 24rem),
    linear-gradient(180deg, rgb(255 255 255 / 0%), rgb(255 255 255 / 1.1%));
}

.section-heading--projects {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.flagship-project {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(30rem, 1.1fr);
  min-height: 38rem;
  overflow: hidden;
  border: 1px solid var(--colour-line);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 2.8%), transparent 46%),
    #0b1014;
  box-shadow: var(--shadow-soft);
}

.flagship-project::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--colour-accent) 20%,
    var(--colour-accent) 80%,
    transparent
  );
  opacity: 0.82;
}

.flagship-project__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 4.5vw, 4rem);
}

.project-number {
  margin-bottom: auto;
  color: rgb(155 234 244 / 50%);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.flagship-project h3 {
  margin-top: 1.35rem;
  font-size: clamp(3rem, 5.5vw, 6.25rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.flagship-project__lead {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: var(--colour-text);
  font-size: clamp(1.15rem, 1.65vw, 1.45rem);
  line-height: 1.48;
}

.flagship-project__detail {
  max-width: 35rem;
  margin: 1.25rem 0 0;
  color: var(--colour-text-muted);
  line-height: 1.75;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.75rem;
}

.project-tags span {
  padding: 0.48rem 0.72rem;
  border: 1px solid var(--colour-line);
  color: var(--colour-text-faint);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-status-note {
  margin: 1.7rem 0 0;
  color: var(--colour-text-faint);
  font-size: 0.72rem;
}

.project-status-note code {
  color: var(--colour-accent-soft);
  font-family: inherit;
}

.flagship-project__visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-left: 1px solid var(--colour-line);
  background:
    radial-gradient(circle at 68% 42%, rgb(79 208 229 / 17%), transparent 24rem),
    linear-gradient(150deg, #111a21, #070b0e 72%);
}

.flagship-project__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgb(79 208 229 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(79 208 229 / 5%) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: linear-gradient(to left, #000, transparent 94%);
}

.flagship-project__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(7 11 14 / 32%), transparent 30%);
  pointer-events: none;
}

.tracewake-field {
  position: absolute;
  inset: clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
  border: 1px solid rgb(79 208 229 / 14%);
}

.tracewake-field::before,
.tracewake-field::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgb(79 208 229 / 14%);
}

.tracewake-field::before {
  width: 33rem;
  aspect-ratio: 1;
  right: -12rem;
  top: -10rem;
}

.tracewake-field::after {
  width: 22rem;
  aspect-ratio: 1;
  right: -6.5rem;
  top: -4.5rem;
  border-style: dashed;
  opacity: 0.72;
}

.tracewake-field__header {
  position: absolute;
  inset: 1.2rem 1.25rem auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgb(155 234 244 / 46%);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.tracewake-field__wordmark {
  position: absolute;
  left: 7%;
  bottom: 20%;
  z-index: 2;
  color: #edf3f5;
  font-size: clamp(3rem, 5.7vw, 6.7rem);
  font-weight: 850;
  letter-spacing: 0.105em;
  line-height: 1;
  text-shadow: 0 0 34px rgb(79 208 229 / 15%);
}

.tracewake-field__trace {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(79 208 229 / 88%),
    transparent
  );
  transform: rotate(-7deg);
}

.tracewake-field__trace--one {
  top: 32%;
  left: 12%;
  width: 82%;
}

.tracewake-field__trace--two {
  top: 48%;
  left: 24%;
  width: 70%;
}

.tracewake-field__trace--three {
  top: 64%;
  left: 38%;
  width: 56%;
}

.tracewake-field__coordinates {
  position: absolute;
  right: 1.2rem;
  bottom: 1rem;
  display: grid;
  gap: 0.38rem;
  text-align: right;
  color: rgb(155 234 244 / 38%);
  font-size: 0.48rem;
  letter-spacing: 0.16em;
}

.project-archive {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(22rem, 1.18fr) minmax(15rem, 0.62fr);
  margin-top: 1rem;
  border-top: 1px solid var(--colour-line);
  border-bottom: 1px solid var(--colour-line);
}

.project-archive__intro,
.archive-note {
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.project-archive__intro {
  border-right: 1px solid var(--colour-line);
}

.project-archive__intro h3 {
  margin-top: 0.75rem;
  font-size: clamp(1.55rem, 2vw, 2.1rem);
}

.project-archive__intro p:last-child {
  margin: 0.9rem 0 0;
  color: var(--colour-text-muted);
  line-height: 1.65;
}

.archive-project {
  position: relative;
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-right: 1px solid var(--colour-line);
}

.archive-project__mark {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--colour-line);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 3%), transparent),
    #10151a;
}

.archive-project__mark::before {
  content: "";
  position: absolute;
  width: 54%;
  aspect-ratio: 1;
  border: 1px solid rgb(79 208 229 / 13%);
  transform: rotate(45deg);
}

.archive-project__mark span {
  position: relative;
  z-index: 1;
  color: rgb(237 243 245 / 74%);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.archive-project__body h4 {
  margin-top: 0.6rem;
  font-size: 1.55rem;
}

.archive-project__body p {
  max-width: 28rem;
  margin: 0.65rem 0 0;
  color: var(--colour-text-muted);
  line-height: 1.6;
}

.archive-project__index {
  align-self: start;
  color: rgb(155 234 244 / 34%);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.archive-note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.archive-note__index {
  color: var(--colour-accent);
  font-size: 1.5rem;
  line-height: 1;
}

.archive-note p {
  margin: 0;
  color: var(--colour-text-faint);
  font-size: 0.85rem;
  line-height: 1.65;
}

/* Project responsiveness ---------------------------------- */

@media (max-width: 1100px) {
  .flagship-project {
    grid-template-columns: 1fr;
  }

  .flagship-project__visual {
    min-height: 27rem;
    border-top: 1px solid var(--colour-line);
    border-left: 0;
  }

  .project-number {
    margin-bottom: 2.5rem;
  }

  .project-archive {
    grid-template-columns: 1fr;
  }

  .project-archive__intro,
  .archive-project {
    border-right: 0;
    border-bottom: 1px solid var(--colour-line);
  }
}

@media (max-width: 640px) {
  .flagship-project__copy {
    padding: 1.5rem;
  }

  .flagship-project__visual {
    min-height: 22rem;
  }

  .tracewake-field {
    inset: 1rem;
  }

  .tracewake-field__header {
    font-size: 0.44rem;
  }

  .tracewake-field__wordmark {
    left: 6%;
    bottom: 24%;
    font-size: clamp(2.2rem, 12vw, 4rem);
  }

  .archive-project {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }

  .archive-project__index {
    display: none;
  }
}

/* Dev Logs ------------------------------------------------- */

.section--devlogs {
  border-block: 1px solid var(--colour-line);
  background:
    radial-gradient(circle at 82% 14%, rgb(79 208 229 / 5%), transparent 26rem),
    linear-gradient(180deg, rgb(18 25 32 / 58%), rgb(10 13 17 / 34%));
}

.section-heading--devlogs,
.section-heading--tutorials {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-heading__intro > p {
  margin: 0;
}

.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
  color: var(--colour-accent-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span {
  transition: transform 150ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: #fff;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translate(0.12rem, -0.12rem);
}

.devlog-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(21rem, 0.58fr);
  gap: 1rem;
}

.latest-log {
  min-height: 34rem;
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  border: 1px solid var(--colour-line);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 2.6%), rgb(255 255 255 / 0.7%)),
    #0c1116;
  box-shadow: var(--shadow-soft);
}

.latest-log__index {
  padding: 1.7rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-right: 1px solid var(--colour-line);
  color: var(--colour-accent);
}

.latest-log__index span {
  font-size: 0.52rem;
  letter-spacing: 0.17em;
}

.latest-log__index strong {
  font-size: clamp(2.1rem, 3.2vw, 3rem);
  letter-spacing: -0.07em;
  line-height: 1;
}

.latest-log__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3.5vw, 3rem);
}

.latest-log__body h3 {
  max-width: 15ch;
  margin: clamp(2rem, 5vw, 4.3rem) 0 0;
  font-size: clamp(2.35rem, 4.5vw, 4.6rem);
  line-height: 0.98;
}

.latest-log__body > p {
  max-width: 45rem;
  margin: 1.4rem 0 0;
  color: var(--colour-text-muted);
  font-size: 1.02rem;
  line-height: 1.74;
}

.latest-log__link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--colour-accent-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.latest-log__link:hover,
.latest-log__link:focus-visible {
  color: #fff;
}

.recent-logs {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--colour-line);
  background: rgb(255 255 255 / 1.1%);
}

.recent-logs__header {
  padding: 1.65rem;
  border-bottom: 1px solid var(--colour-line);
}

.recent-logs__header .eyebrow {
  margin-bottom: 0.7rem;
}

.recent-logs__header h3 {
  font-size: clamp(1.7rem, 2.7vw, 2.4rem);
}

.recent-log {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  padding: 1.55rem 1.65rem;
  border-bottom: 1px solid var(--colour-line);
  text-decoration: none;
  transition:
    background-color 150ms ease,
    border-color 150ms ease;
}

.recent-log:hover,
.recent-log:focus-visible {
  background: rgb(79 208 229 / 3.5%);
}

.recent-log__index {
  color: rgb(155 234 244 / 38%);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.recent-log__body {
  display: grid;
  gap: 0.55rem;
}

.recent-log__body small {
  color: var(--colour-text-faint);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recent-log__body strong {
  color: var(--colour-text);
  font-size: 1rem;
  line-height: 1.35;
}

.recent-log__arrow {
  color: var(--colour-accent);
  opacity: 0.62;
  transition: transform 150ms ease, opacity 150ms ease;
}

.recent-log:hover .recent-log__arrow,
.recent-log:focus-visible .recent-log__arrow {
  opacity: 1;
  transform: translate(0.12rem, -0.12rem);
}

.recent-logs__migration-note {
  margin-top: auto;
  display: flex;
  gap: 0.8rem;
  padding: 1.5rem 1.65rem;
  color: var(--colour-text-faint);
  font-size: 0.75rem;
  line-height: 1.6;
}

.recent-logs__migration-note > span {
  color: var(--colour-accent);
}

.recent-logs__migration-note p {
  margin: 0;
}

.recent-logs__migration-note code {
  color: var(--colour-accent-soft);
  font-family: inherit;
}

/* Studio --------------------------------------------------- */

.section--studio {
  background:
    radial-gradient(circle at 18% 48%, rgb(79 208 229 / 4%), transparent 25rem);
}

.studio-layout {
  min-height: 39rem;
  display: grid;
  grid-template-columns: minmax(22rem, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.studio-mark {
  position: relative;
  min-height: 32rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--colour-line);
  background:
    radial-gradient(circle at center, rgb(79 208 229 / 8%), transparent 48%),
    linear-gradient(145deg, #10161c, #090d11);
}

.studio-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgb(79 208 229 / 3.2%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(79 208 229 / 3.2%) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: radial-gradient(circle at center, #000, transparent 68%);
}

.studio-mark__ring {
  position: absolute;
  z-index: 1;
  width: 82%;
  aspect-ratio: 1;
  border: 1px solid rgb(79 208 229 / 12%);
  border-radius: 50%;
}

.studio-mark__ring--inner {
  width: 56%;
  border-style: dashed;
  opacity: 0.7;
}

.studio-mark img {
  position: relative;
  z-index: 2;
  width: min(46%, 18rem);
  height: auto;
  object-fit: contain;
  filter: saturate(0.35) contrast(1.08) brightness(0.88);
  opacity: 0.92;
}

.studio-mark > span {
  position: absolute;
  right: 1.4rem;
  bottom: 0.9rem;
  z-index: 3;
  color: rgb(79 208 229 / 24%);
  font-size: 5.5rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.studio-copy__lead {
  max-width: 45rem;
  margin: 1.6rem 0 0;
  color: var(--colour-text);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.65;
}

.studio-copy > p:not(.eyebrow, .studio-copy__lead) {
  max-width: 44rem;
  margin: 1.1rem 0 0;
  color: var(--colour-text-muted);
  line-height: 1.78;
}

.studio-principles {
  margin: 2.2rem 0 0;
  border-top: 1px solid var(--colour-line);
}

.studio-principles > div {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--colour-line);
}

.studio-principles dt {
  color: rgb(155 234 244 / 42%);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.studio-principles dd {
  margin: 0;
  display: grid;
  gap: 0.28rem;
}

.studio-principles strong {
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.studio-principles span {
  color: var(--colour-text-faint);
  font-size: 0.8rem;
  line-height: 1.55;
}

/* Tutorials ------------------------------------------------ */

.section--tutorials {
  border-top: 1px solid var(--colour-line);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.7%), transparent 42%);
}

.tutorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr);
  grid-template-rows: repeat(2, minmax(11rem, auto));
  gap: 1rem;
}

.tutorial-card {
  border: 1px solid var(--colour-line);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 2.5%), transparent),
    #0c1116;
}

.tutorial-card--featured {
  grid-row: 1 / 3;
  min-height: 34rem;
  display: grid;
  grid-template-rows: auto minmax(13rem, 1fr) auto;
}

.tutorial-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  border-bottom: 1px solid var(--colour-line);
  color: var(--colour-text-faint);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tutorial-card__graphic {
  position: relative;
  min-height: 15rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgb(79 208 229 / 13%), transparent 36%),
    linear-gradient(160deg, #111a21, #080c10 72%);
}

.tutorial-card__graphic::before,
.tutorial-card__graphic::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgb(79 208 229 / 12%);
}

.tutorial-card__graphic::before {
  width: 28rem;
  aspect-ratio: 1;
}

.tutorial-card__graphic::after {
  width: 18rem;
  aspect-ratio: 1;
  border-style: dashed;
}

.tutorial-card__graphic-label {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  color: rgb(155 234 244 / 45%);
  font-size: 0.5rem;
  letter-spacing: 0.15em;
}

.tutorial-card__graphic-mark {
  position: relative;
  z-index: 1;
  color: var(--colour-accent);
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 300;
  line-height: 1;
  text-shadow: 0 0 42px rgb(79 208 229 / 18%);
}

.tutorial-card__body {
  padding: clamp(1.5rem, 3vw, 2.2rem);
}

.tutorial-card__body h3 {
  max-width: 16ch;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.02;
}

.tutorial-card__body p {
  max-width: 43rem;
  margin: 1rem 0 0;
  color: var(--colour-text-muted);
  line-height: 1.7;
}

.tutorial-card__body a {
  width: fit-content;
  display: inline-flex;
  gap: 0.55rem;
  margin-top: 1.45rem;
  color: var(--colour-accent-soft);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.tutorial-card__body a:hover,
.tutorial-card__body a:focus-visible {
  color: #fff;
}

.tutorial-category {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.1rem;
  align-items: start;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border: 1px solid var(--colour-line);
  background: rgb(255 255 255 / 1%);
  text-decoration: none;
  transition:
    background-color 150ms ease,
    transform 150ms ease;
}

.tutorial-category:hover,
.tutorial-category:focus-visible {
  background: rgb(79 208 229 / 3.5%);
  transform: translateY(-2px);
}

.tutorial-category__number {
  color: rgb(155 234 244 / 38%);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.tutorial-category__body {
  display: grid;
  gap: 0.4rem;
}

.tutorial-category__body small {
  color: var(--colour-text-faint);
  font-size: 0.58rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tutorial-category__body strong {
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  letter-spacing: -0.035em;
}

.tutorial-category__body > span {
  color: var(--colour-text-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.tutorial-category__arrow {
  color: var(--colour-accent);
  opacity: 0.6;
}

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

.contact-band {
  position: relative;
  z-index: 1;
  margin-bottom: var(--section-space);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  overflow: hidden;
  border: 1px solid var(--colour-line);
  background:
    radial-gradient(circle at 82% 52%, rgb(79 208 229 / 11%), transparent 18rem),
    linear-gradient(105deg, rgb(79 208 229 / 5.5%), rgb(255 255 255 / 1.2%));
}

.contact-band::after {
  content: "WOLF";
  position: absolute;
  right: -0.04em;
  bottom: -0.28em;
  z-index: -1;
  color: rgb(237 242 244 / 2.7%);
  font-size: clamp(8rem, 18vw, 19rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.contact-band__copy {
  max-width: 48rem;
}

.contact-band h2 {
  max-width: 15ch;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.contact-band__copy > p:last-child {
  max-width: 40rem;
  margin: 1.2rem 0 0;
  color: var(--colour-text-muted);
  line-height: 1.7;
}

.contact-band > .button {
  flex: 0 0 auto;
}

/* Footer --------------------------------------------------- */

.site-footer {
  position: relative;
  z-index: 1;
  padding-bottom: 1.8rem;
}

.site-footer__top {
  padding: 2.8rem 0 2rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--colour-line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-brand img {
  width: 3rem;
  height: 3.4rem;
  object-fit: contain;
}

.footer-brand > div {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font-size: 0.8rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-brand span {
  margin-top: 0.3rem;
  color: var(--colour-text-faint);
  font-size: 0.7rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1.4rem;
}

.footer-nav a {
  color: var(--colour-text-muted);
  font-size: 0.72rem;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--colour-accent-soft);
}

.site-footer__bottom {
  padding-top: 1.3rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  border-top: 1px solid var(--colour-line);
  color: var(--colour-text-faint);
  font-size: 0.64rem;
}

.site-footer__bottom span:nth-child(2) {
  text-align: center;
}

.site-footer__bottom span:last-child {
  text-align: right;
}


/* Lower-page responsiveness ------------------------------- */

@media (max-width: 1100px) {
  .devlog-feature-grid {
    grid-template-columns: 1fr;
  }

  .latest-log {
    min-height: 30rem;
  }

  .tutorial-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .tutorial-card--featured {
    grid-row: auto;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .latest-log {
    grid-template-columns: 1fr;
  }

  .latest-log__index {
    padding: 1rem 1.25rem;
    flex-direction: row;
    align-items: baseline;
    gap: 0.6rem;
    border-right: 0;
    border-bottom: 1px solid var(--colour-line);
  }

  .latest-log__index strong {
    font-size: 1.2rem;
  }

  .latest-log__body {
    padding: 1.5rem;
  }

  .latest-log__body h3 {
    margin-top: 2rem;
  }

  .recent-log {
    padding-inline: 1.25rem;
  }

  .studio-mark {
    min-height: 23rem;
  }

  .studio-principles > div {
    grid-template-columns: 2.6rem minmax(0, 1fr);
  }

  .tutorial-card__meta {
    flex-direction: column;
  }

  .tutorial-card__body {
    padding: 1.5rem;
  }

  .contact-band {
    padding: 1.5rem;
  }

  .contact-band > .button {
    width: 100%;
  }

  .site-footer__top,
  .site-footer__bottom {
    display: flex;
    flex-direction: column;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .site-footer__bottom span:nth-child(2),
  .site-footer__bottom span:last-child {
    text-align: left;
  }
}

/* Wide desktop / 4K composition ---------------------------
   This breakpoint intentionally leaves all smaller layouts untouched.
   It uses additional horizontal space to reduce hero height rather than
   simply scaling every element up.
----------------------------------------------------------- */

@media (min-width: 1600px) {
  :root {
    --layout-max: 1680px;
  }

  .hero {
    background:
      linear-gradient(
        90deg,
        rgb(10 12 16 / 97%) 0%,
        rgb(10 12 16 / 88%) 32%,
        rgb(10 12 16 / 28%) 60%,
        rgb(10 12 16 / 6%) 100%
      ),
      url("../assets/images/lone-ridge-hero-bg.webp") center 68% / cover no-repeat,
      var(--colour-bg);
  }

  .hero {
    min-height: clamp(48rem, 78svh, 58rem);
    padding-top: calc(var(--header-height) + clamp(2.75rem, 4.5vh, 4.25rem));
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(25rem, 0.65fr);
    gap: clamp(4rem, 6vw, 7rem);
  }

  .hero__content {
    max-width: 68rem;
  }

  .hero__title {
    max-width: 17ch;
    font-size: clamp(5rem, 5.2vw, 6.25rem);
  }

  .hero__summary {
    max-width: 50rem;
  }

  .hero-emblem {
    width: min(100%, 29rem);
  }

  .hero-index {
    margin-top: clamp(2.75rem, 5vh, 4rem);
  }
}

@media (min-width: 2200px) {
  :root {
    --layout-max: 1920px;
  }

  .hero {
    background:
      linear-gradient(
        90deg,
        rgb(10 12 16 / 97%) 0%,
        rgb(10 12 16 / 86%) 31%,
        rgb(10 12 16 / 20%) 58%,
        rgb(10 12 16 / 4%) 100%
      ),
      url("../assets/images/lone-ridge-hero-bg.webp") center 70% / cover no-repeat,
      var(--colour-bg);
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1.45fr) minmax(27rem, 0.55fr);
    gap: clamp(5rem, 7vw, 9rem);
  }

  .hero__content {
    max-width: 76rem;
  }

  .hero__title {
    max-width: 18ch;
  }
}

/* Responsive ---------------------------------------------- */

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__content {
    position: relative;
    z-index: 2;
  }

  .hero__visual {
    position: absolute;
    top: 7.5rem;
    right: -6rem;
    z-index: -1;
    width: 28rem;
    opacity: 0.26;
  }

  .hero-index {
    margin-top: 4.5rem;
  }

  .section-heading,
  .studio-layout {
    grid-template-columns: 1fr;
  }

  .section-heading__intro {
    margin-left: 0;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  :root {
    --header-height: 74px;
  }

  .hero {
    background:
      linear-gradient(
        to bottom,
        rgb(10 12 16 / 40%) 0%,
        rgb(10 12 16 / 72%) 42%,
        rgb(10 12 16 / 94%) 100%
      ),
      url("../assets/images/lone-ridge-hero-bg.webp") 63% bottom / auto 100% no-repeat,
      var(--colour-bg);
  }

  .hero::before {
    background:
      radial-gradient(circle at 66% 34%, rgb(79 208 229 / 8%), transparent 30%),
      linear-gradient(
        to bottom,
        rgb(10 12 16 / 3%),
        rgb(10 12 16 / 62%)
      );
  }

  .layout-container,
  .site-header__inner {
    width: min(calc(100% - 2rem), var(--layout-max));
  }

  .site-brand__wordmark {
    display: none;
  }

  .site-brand__mark {
    width: 2.85rem;
    height: 3.25rem;
  }

  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 3;
  }

  .has-js .site-nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.4rem;
    padding: 6rem 1.5rem 2rem;
    background: rgb(10 12 16 / 97%);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 200ms ease, visibility 200ms ease;
  }

  .has-js .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav a {
    font-size: 1.25rem;
  }

  .site-nav__contact {
    margin-top: 0.6rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 3rem);
  }

  .hero__title {
    font-size: clamp(3.2rem, 14vw, 5rem);
  }

  .hero__summary {
    font-size: 0.98rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-index {
    grid-template-columns: 1fr;
  }

  .hero-index__item,
  .hero-index__item + .hero-index__item {
    padding: 1rem 0;
    border-left: 0;
  }

  .hero-index__item + .hero-index__item {
    border-top: 1px solid var(--colour-line);
  }

  .latest-log {
    grid-template-columns: 1fr;
  }

  .latest-log__index {
    border-right: 0;
    border-bottom: 1px solid var(--colour-line);
  }

  .latest-log__body {
    padding: 1.5rem;
  }

  .latest-log__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .studio-mark {
    min-height: 23rem;
  }

  .studio-copy__links {
    flex-direction: column;
  }

  .site-footer__top,
  .site-footer__bottom {
    flex-direction: column;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (hover: none), (pointer: coarse) {
  .ambient-glow {
    display: none;
  }

  .hero-index__arrow {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .ambient-glow {
    display: none;
  }
}


/* v0.4 real-content preview refinements ------------------- */

.tutorial-card__graphic--image {
  display: block;
}

.tutorial-card__graphic--image::before,
.tutorial-card__graphic--image::after {
  display: none;
}

.tutorial-card__graphic--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.72);
}

.tutorial-card__graphic--image::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(to top, rgb(8 12 16 / 42%), transparent 56%),
    radial-gradient(circle at 70% 30%, rgb(79 208 229 / 10%), transparent 35%);
  pointer-events: none;
}


/* v0.5 homepage project route ----------------------------- */

.project-detail-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.7rem;
  color: var(--colour-accent-soft);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.project-detail-link span {
  transition: transform 150ms ease;
}

.project-detail-link:hover,
.project-detail-link:focus-visible {
  color: #fff;
}

.project-detail-link:hover span,
.project-detail-link:focus-visible span {
  transform: translate(0.12rem, -0.12rem);
}
