:root {
  --bg: #20282d;
  --bg-soft: #25323a;
  --panel: #f4f6f5;
  --panel-soft: #ffffff;
  --panel-tint: #e8eef0;

  --ink: #172026;
  --muted: #5d6b73;
  --muted-dark: #aab7bd;

  --line: #cfd9dd;
  --line-dark: #3b4c55;

  --accent: #246789;
  --accent-2: #58ad7c;
  --accent-soft: #dcebef;

  --warning: #d79645;

  --maxw: 1120px;
}

/* ---------- BASE ---------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
}

main {
  min-height: calc(100vh - 260px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
}

/* ---------- HEADER ---------- */

.site-header {
  background: rgba(32, 40, 45, 0.94);
  border-bottom: 1px solid var(--line-dark);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--panel-soft);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 2px solid var(--accent-2);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--accent-2);
  font-family: "Inter", sans-serif;
  font-size: .82rem;
  font-weight: 800;
  box-shadow: 0 0 18px rgba(88, 173, 124, 0.16);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .9rem;
  color: var(--muted-dark);
}

.nav-links a {
  position: relative;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--accent-2);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--accent-2);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
}

/* ---------- COMMON TEXT ---------- */

.kicker {
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent-2);
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.intro {
  color: var(--muted-dark);
  max-width: 58ch;
  font-size: 1.02rem;
  margin-bottom: 22px;
}

.small-print {
  color: var(--muted-dark);
  font-size: .82rem;
}

/* ---------- HOME HERO ---------- */

.hero {
  padding: 72px 0 64px;
  color: var(--ink);
  background: var(--panel);
}

.hero h1 {
  color: var(--ink);
}

.hero h1 span {
  color: var(--accent-2);
}

.hero .intro {
  color: var(--muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
}

.hero h1,
.page-title h1 {
  font-family: "Inter", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: .98;
  margin-bottom: 24px;
}

.hero h1 span,
.page-title h1 span {
  display: block;
  color: var(--accent-2);
}

.hero-photo {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(36, 103, 137, .3), rgba(88, 173, 124, .18)),
    var(--bg-soft);
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--accent-2);
  font-weight: 800;
  letter-spacing: .12em;
  font-size: .78rem;
  text-transform: uppercase;
  padding: 24px;
}

/* ---------- BUTTONS ---------- */

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  border: 1px solid var(--accent-2);
  background: var(--accent-2);
  color: #102018;
  padding: 11px 18px;
  font-weight: 800;
  font-size: .88rem;
  border-radius: 10px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.button.secondary {
  background: transparent;
  color: var(--accent-2);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(88, 173, 124, 0.18);
}

/* ---------- PAGE TITLE ---------- */

.page-title {
  padding: 72px 0 44px;
  color: var(--panel-soft);
}

.page-title p {
  color: var(--muted-dark);
  max-width: 64ch;
  font-size: 1.06rem;
}

/* ---------- SECTIONS ---------- */

section {
  padding: 58px 0;
  border-top: 1px solid var(--line-dark);
  background: var(--panel);
}

section:nth-of-type(even) {
  background: #edf2f3;
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.section-title h2 {
  font-family: "Inter", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-title p {
  color: var(--muted);
  max-width: 42ch;
  font-size: .94rem;
}

/* ---------- ABOUT ---------- */

.about-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 34px;
  box-shadow: 0 16px 50px rgba(23, 32, 38, 0.06);
}

.about-card p {
  color: var(--muted);
  margin-bottom: 16px;
}

.about-card strong {
  color: var(--ink);
}

.side-note {
  background: var(--accent-soft);
  padding: 24px;
  border: 1px solid #bfd5df;
  border-radius: 16px;
}

.side-note h3 {
  font-size: .9rem;
  margin-bottom: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.side-note ul {
  padding-left: 18px;
  color: var(--muted);
}

/* ---------- GENERAL INFO CARDS ---------- */

.info-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  gap: 18px;
}

.info-grid.two {
  grid-template-columns: 1fr 1fr;
}

.info-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 16px 50px rgba(23, 32, 38, 0.05);
}

.info-card h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.entry {
  margin-bottom: 18px;
}

.entry:last-child {
  margin-bottom: 0;
}

.entry strong {
  display: block;
}

.entry span {
  display: block;
  color: var(--muted);
  font-size: .93rem;
}

.plain-list {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.plain-list li::before {
  content: "▸ ";
  color: var(--accent-2);
  font-weight: 800;
}

/* ---------- PROJECT LIST ---------- */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(23, 32, 38, 0.06);
}

.project-image {
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(135deg, rgba(36, 103, 137, .88), rgba(88, 173, 124, .72)),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: #ffffff;
  text-align: center;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 20px;
}

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

.project-card:nth-child(2) .project-image {
  background:
    linear-gradient(135deg, #355766, #58ad7c);
}

.project-card:nth-child(3) .project-image {
  background:
    linear-gradient(135deg, #20282d, #246789);
}

.project-body {
  padding: 22px;
}

.project-body h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.project-body p {
  color: var(--muted);
  font-size: .93rem;
  margin-bottom: 14px;
}

a.project-card-link {
  display: block;
  color: inherit;
}

a.project-card-link .project-card {
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

a.project-card-link:hover .project-card {
  transform: translateY(-4px);
  border-color: var(--accent-2);
  box-shadow: 0 24px 70px rgba(23, 32, 38, 0.13);
}

/* ---------- TAGS ---------- */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  border: 1px solid #c4d7df;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 800;
}

/* ---------- CONTACT ---------- */

.contact-panel {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  box-shadow: 0 16px 50px rgba(23, 32, 38, 0.06);
}

.contact-links {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.contact-links a {
  color: var(--accent);
  font-weight: 800;
  border-bottom: 1px solid transparent;
}

.contact-links a:hover {
  border-color: var(--accent);
}

/* ---------- FOOTER ---------- */

footer {
  padding: 36px 0;
  border-top: 1px solid var(--line-dark);
  background: var(--bg);
}

/* ---------- PROJECT DETAIL HERO ---------- */

.project-hero {
  min-height: calc(500px);
  padding: 48px 0;
  color: var(--panel-soft);
  display: grid;
  align-items: center;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.project-hero .kicker {
  margin-bottom: 10px;
}

.project-hero-split .youtube-hero {
  align-self: start;
  margin-top: 10px;
}

.project-hero h1 {
  font-family: "Inter", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.03;
  margin-bottom: 18px;
}

.project-hero .status-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.status-chip {
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent-2);
  color: var(--accent-2);
  background: rgba(88, 173, 124, 0.09);
}

.project-hero .tags {
  margin-bottom: 8px;
}

.project-hero-image {
  aspect-ratio: 16 / 7;
  background:
    linear-gradient(135deg, rgba(36, 103, 137, .3), rgba(88, 173, 124, .18)),
    var(--bg-soft);
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--accent-2);
  text-align: center;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 30px;
  overflow: hidden;
}

.project-hero-split {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 3rem;
  align-items: center;
}

.project-hero-text {
  max-width: 760px;
}

.project-hero-split .project-hero-image {
  width: 100%;
  height: 420px;
  margin: 0;
  background: var(--bg-soft);
}

.project-hero-split .project-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-2);
  font-weight: 800;
  font-size: .9rem;
  margin-bottom: 18px;
}

.back-link:hover {
  text-decoration: underline;
}

/* ---------- VIDEO HERO ---------- */

.video-hero,
.youtube-hero {
  padding: 0;
  overflow: hidden;
  background: var(--bg-soft);
}

.video-hero {
  position: relative;
}

.video-hero video,
.youtube-hero iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
  background: #111;
}

.video-hero::after {
  content: "Demo video";
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(23, 32, 38, 0.82);
  color: var(--panel-soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  pointer-events: none;
}

/* ---------- PROJECT DETAIL LAYOUT ---------- */

.project-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 28px;
  align-items: start;
}

.project-main-card,
.project-side-card {
  min-width: 0;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 16px 50px rgba(23, 32, 38, 0.06);
}

.project-side-card {
  align-self: start;
  position: sticky;
  top: 96px;
}

.project-side-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.project-side-card p,
.project-side-card li {
  color: var(--muted);
}

.project-side-card p {
  margin-bottom: 14px;
}

.project-side-card ul {
  padding-left: 1.2rem;
  margin: 0.75rem 0 1rem;
}

.project-side-card li {
  margin-bottom: 0.35rem;
}

/* ---------- BUILD LOG ---------- */

.build-log {
  display: block;
}

.build-log-step {
  display: block;
  padding: 0 0 42px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.build-log-step:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.build-log-label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.build-log-content {
  max-width: none;
}

.build-log-content h3 {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  margin: 20px 0 10px;
}

.build-log-content p {
  max-width: none;
  margin-bottom: 16px;
}

.build-log-content p:last-child {
  margin-bottom: 0;
}

/* ---------- EQUATIONS / CODE ---------- */

.project-side-card pre,
.equation,
.build-log-content pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem;
  border-radius: 12px;
  background: #edf5f7;
  color: var(--ink);
  border: 1px solid #cfe0e7;
  overflow-x: auto;
  margin: 0.75rem 0 1rem;
}

/* ---------- SPECS / LINKS ---------- */

.specs-list {
  display: grid;
  gap: 10px;
}

.specs-list .spec-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  font-size: .92rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.specs-list .spec-row:last-child {
  border-bottom: none;
}

.specs-list .spec-row strong {
  color: var(--accent);
}

.specs-list .spec-row span {
  color: var(--muted);
}

.project-links-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.project-links-row a {
  font-weight: 800;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  font-size: .92rem;
}

.project-links-row a:hover {
  border-color: var(--accent);
}

/* ---------- GALLERY ---------- */

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-strip.detail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.gallery-strip.detail .gallery-item {
  aspect-ratio: 4 / 3;
  padding: 0;
  background: var(--panel-soft);
  display: block;
}

.gallery-strip.detail .gallery-item.tall {
  aspect-ratio: 4 / 3;
}

.gallery-strip.detail .gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.side-gallery {
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.side-gallery::-webkit-scrollbar {
  width: 6px;
}

.side-gallery::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 3px;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--accent);
  text-align: center;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 16px;
  overflow: hidden;
}

.gallery-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 18px;
  overflow: hidden;
}

.gallery-button img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.gallery-button:hover img {
  transform: scale(1.02);
  opacity: 0.9;
}

/* ---------- LIGHTBOX ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 32px;
  background: rgba(0, 0, 0, 0.82);
}

.lightbox.active {
  display: grid;
}

.lightbox-img {
  max-width: min(1100px, 95vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 14px;
  background: #111;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* ---------- CONTROL DIAGRAM ---------- */

.control-diagram {
  margin: 24px 0;
}

.diagram-button {
  width: 100%;
  display: block;
}

.diagram-button img {
  width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #111;
}

.control-diagram figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ---------- SIDE SECTIONS ---------- */

.side-specs {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.small-gallery-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 14px;
}

/* ---------- SMALL UTILITIES ---------- */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-item {
  margin-bottom: 1rem;
}

.image-hero {
  overflow: hidden;
  padding: 0;
}

.image-hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 950px) {

  .project-detail-layout,
  .project-hero-split {
    grid-template-columns: 1fr;
  }

  .project-side-card {
    position: static;
  }

  .project-hero-split .project-hero-image,
  .project-hero-split .video-hero {
    height: 320px;
  }

  .gallery-strip.detail {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {

  .hero-grid,
  .about-card,
  .info-grid,
  .info-grid.two,
  .project-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .build-log-step {
    padding-bottom: 32px;
    margin-bottom: 32px;
  }

  .build-log-label {
    margin-bottom: 8px;
  }

  .specs-list .spec-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(100% - 28px, var(--maxw));
  }

  .brand {
    font-size: .95rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-links {
    font-size: .85rem;
  }

  .about-card,
  .info-card,
  .project-body,
  .contact-panel,
  .project-main-card,
  .project-side-card {
    padding: 20px;
  }

  .gallery-strip,
  .gallery-strip.detail {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }
}

.highlighted-project {
  border: 2px solid var(--accent-2);
  box-shadow: 0 24px 80px rgba(88, 173, 124, 0.22);
  transform: translateY(-6px);
}

a.project-card-link:hover .highlighted-project {
  transform: translateY(-10px);
  box-shadow: 0 30px 90px rgba(88, 173, 124, 0.32);
}

.highlighted-project .project-image {
  background:
    linear-gradient(135deg, rgba(36, 103, 137, .95), rgba(88, 173, 124, .9)),
    var(--bg-soft);
}

.highlighted-project {
  position: relative;
  border: 2px solid var(--accent-2);
  box-shadow:
    0 0 0 4px rgba(88, 173, 124, 0.12),
    0 28px 90px rgba(88, 173, 124, 0.26);
  transform: translateY(-8px);
}

.highlighted-project::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  pointer-events: none;
  box-shadow: 0 0 32px rgba(88, 173, 124, 0.35);
}

a.project-card-link:hover .highlighted-project {
  transform: translateY(-14px);
  box-shadow:
    0 0 0 4px rgba(88, 173, 124, 0.18),
    0 34px 100px rgba(88, 173, 124, 0.34);
}

.highlighted-project .project-image {
  position: relative;
}

.featured-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;

  padding: 6px 11px;
  border-radius: 999px;

  background: var(--accent-2);
  color: #102018;

  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

.project-bullet-list {
  margin: 18px 0 0;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.8;
}

.project-bullet-list li {
  margin-bottom: 10px;
  list-style: disc;
}

.project-bullet-list li::marker {
  color: var(--accent);
}

html {
  scrollbar-gutter: stable;
}