/* ==========================================================================
   NIKOLAUS REICHMANN — PORTFOLIO WEBSITE
   Design-System abgeleitet vom gedruckten Portfolio:
   Schwarz/Weiß-Rahmen (Cover + Closing dunkel, Inhalt hell),
   große fette Ziffern als Sektions-Marker, schmale Lineal-Ticks am Rand,
   ein zurückhaltender Rot-Akzent.
   ========================================================================== */

:root {
  --black: #0b0b0b;
  --white: #ffffff;
  --gray-050: #f6f5f2;
  --gray-150: #ece9e4;
  --gray-300: #d4d1ca;
  --gray-500: #8c887f;
  --gray-700: #45423c;
  --accent: #111111;
  --accent-soft: rgba(0, 0, 0, 0.06);

  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --rail: 30px; /* Platz für die Lineal-Randleiste */

  --dur-s: 0.25s;
  --dur-m: 0.6s;
  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
::selection { background: var(--accent); color: var(--white); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(4rem, 11vw, 8rem); }
.section--dark { background: var(--black); color: var(--white); }
.section--alt { background: var(--gray-050); }

@media (min-width: 900px) {
  body { padding-left: var(--rail); }
}

/* ---------- Lineal-Randleiste (dekorativ, dem Cover entnommen) ---------- */
.ruler {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: var(--rail);
  display: none;
  pointer-events: none;
  z-index: 5;
}
@media (min-width: 900px) {
  .ruler { display: block; }
}
.ruler::before {
  content: "";
  position: absolute;
  left: 14px; top: 0; bottom: 0;
  width: 1px;
  background: var(--gray-300);
}
.ruler__ticks {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--gray-300) 0px, var(--gray-300) 1px,
    transparent 1px, transparent 40px
  );
  background-position-x: 14px;
  width: 14px;
}
body.is-dark-scroll .ruler::before,
body.is-dark-scroll .ruler__ticks { background-color: transparent; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-inline: var(--gutter);
  padding-block: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color var(--dur-m) var(--ease), border-color var(--dur-m) var(--ease);
  border-bottom: 1px solid transparent;
}
@media (min-width: 900px) { .nav { padding-left: calc(var(--gutter) + var(--rail)); } }

.nav--on-dark { color: var(--white); }
.nav--solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--gray-150);
  color: var(--black);
}

.nav__mark {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.nav__mark span { color: var(--accent); }

.nav__links {
  display: none;
  align-items: center;
  gap: 2.1rem;
  font-size: 0.95rem;
  font-weight: 500;
}
@media (min-width: 760px) { .nav__links { display: flex; } }
.nav__links a {
  position: relative;
  padding-block: 0.2rem;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 1px;
  background: currentColor;
  transition: right var(--dur-s) var(--ease);
}
.nav__links a:hover::after { right: 0; }

.nav__cta {
  display: none;
}
@media (min-width: 760px) {
  .nav__cta {
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid currentColor;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    transition: background var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
  }
  .nav--solid .nav__cta:hover { background: var(--black); color: var(--white); }
  .nav:not(.nav--solid) .nav__cta:hover { background: var(--white); color: var(--black); }
}

.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 210;
}
@media (min-width: 760px) { .nav__burger { display: none; } }
.nav__burger span {
  width: 22px; height: 2px;
  background: currentColor;
  transition: transform var(--dur-s) var(--ease), opacity var(--dur-s) var(--ease);
}
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.menu-open .nav__burger { color: var(--white); }
body.menu-open .nav { color: var(--white); background: transparent; border-color: transparent; }

.nav-overlay {
  position: fixed; inset: 0;
  background: var(--black);
  color: var(--white);
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6rem;
  padding-inline: var(--gutter);
  transform: translateY(-100%);
  transition: transform var(--dur-m) var(--ease);
}
body.menu-open .nav-overlay { transform: translateY(0); }
.nav-overlay a {
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nav-overlay small {
  display: block;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--gray-300);
  font-weight: 400;
}

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 6rem;
  background: var(--black);
  color: var(--white);
}
.hero__glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(38% 45% at 72% 32%, rgba(255, 255, 255, 0.10), transparent 60%),
    radial-gradient(45% 55% at 18% 75%, rgba(255, 255, 255, 0.05), transparent 60%);
  animation: driftGlow 16s var(--ease) infinite alternate;
  pointer-events: none;
}
@keyframes driftGlow {
  from { transform: translate(-2%, -1%) scale(1); }
  to   { transform: translate(2%, 2%) scale(1.06); }
}
.hero__kicker {
  font-size: 0.85rem;
  color: var(--gray-300);
  font-weight: 500;
  margin-bottom: 1.6rem;
}
.hero__kicker b { color: var(--white); font-weight: 700; }

.hero__title {
  font-size: clamp(2.6rem, 9.2vw, 6.2rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.hero__title em {
  font-style: normal;
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
}
.hero__glowtext {
  text-shadow:
    0 0 6px rgba(255,255,255,0.4),
    0 0 34px rgba(255,255,255,0.26),
    0 0 70px rgba(255,255,255,0.2);
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}

.hero__sub {
  margin-top: 1.6rem;
  max-width: 32rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--gray-300);
  line-height: 1.6;
}
.hero__sub strong { color: var(--white); font-weight: 700; }

.hero__actions {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__meta {
  position: absolute;
  bottom: 2.4rem;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: var(--gray-300);
  font-size: 0.8rem;
}
.hero__scroll {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero__scroll .line {
  width: 1px; height: 34px;
  background: linear-gradient(var(--white), transparent);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  transition: transform var(--dur-s) var(--ease), background var(--dur-s) var(--ease), color var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease);
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary-dark { background: var(--white); color: var(--black); }
.btn--primary-dark:hover { background: var(--accent); color: var(--white); }
.btn--ghost-dark { border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn--ghost-dark:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn--primary-light { background: var(--black); color: var(--white); }
.btn--primary-light:hover { background: var(--accent); }
.btn--ghost-light { border-color: var(--gray-300); color: var(--black); }
.btn--ghost-light:hover { border-color: var(--black); }

/* ---------- Section heads ---------- */
.head {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.head__num {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent);
}
.head h2 {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 26ch;
}
.head p {
  color: var(--gray-700);
  max-width: 46ch;
  font-size: 1.02rem;
  line-height: 1.6;
}
.section--dark .head p { color: var(--gray-300); }

/* ---------- ABOUT ---------- */
.about__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .about__grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
  .about__grid > * { min-width: 0; }
}

.photo-slot {
  aspect-ratio: 4 / 5;
  border: 0px dashed var(--gray-300);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  color: var(--gray-500);
  overflow: hidden;
}
.photo-slot__label {
  font-size: 0.85rem;
  line-height: 1.6;
}
.photo-slot__label b { display: block; color: var(--gray-700); font-size: 0.95rem; margin-bottom: 0.3rem; }

.facts {
  margin-top: 1.75rem;
  border-top: 1px solid var(--gray-150);
}
.facts dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 1.2rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--gray-150);
  font-size: 0.92rem;
}
.facts dt { color: var(--gray-500); }
.facts dd { margin: 0; font-weight: 600; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.bio p {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--gray-700);
  max-width: 54ch;
}
.bio p + p { margin-top: 1.1rem; }
.bio .accent-mark { color: var(--accent); font-weight: 700; }

.value-strip {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.value-strip span {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
}

.skills {
  margin-top: 3rem;
  display: grid;
  gap: 1.8rem;
}
@media (min-width: 600px) {
  .skills { grid-template-columns: repeat(3, 1fr); }
}
.skills h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.skill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.4rem;
  font-size: 0.92rem;
}
.dots { display: flex; gap: 4px; flex-shrink: 0; }
.dots i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gray-150);
  display: block;
}
.dots i.on { background: var(--black); }

/* ---------- PROJECTS ---------- */
.project-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 2.6rem);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}

.project-card {
  display: block;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--delay, 0s);
}
.project-card.is-visible { opacity: 1; transform: translateY(0); }

.project-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--gray-050);
  overflow: hidden;
  transition: border-color var(--dur-s) var(--ease), background var(--dur-s) var(--ease);
}
.project-card:hover .project-card__media {
  border-color: var(--gray-300);
  background: var(--gray-150);
}
.project-card__num {
  position: absolute;
  left: 0.9rem; top: 0.7rem;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--gray-300);
  line-height: 1;
  transition: color var(--dur-s) var(--ease);
}
.project-card:hover .project-card__num { color: var(--accent); }
.project-card__logo {
  position: absolute;
  right: 0.9rem; top: 0.9rem;
  width: 40px; height: 40px;
  border: 1px dashed var(--gray-300);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--gray-500);
  text-align: center;
  background: var(--white);
}
.project-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
  padding: 0rem;
}
.project-card__placeholder svg { opacity: 0.35; }
.project-card__placeholder span {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.project-card__body { padding-top: 1.2rem; }
.project-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.project-card__meta {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  color: var(--gray-500);
  font-style: italic;
  line-height: 1.5;
}
.project-card__teaser {
  margin-top: 0.7rem;
  font-size: 0.96rem;
  color: var(--gray-700);
  line-height: 1.6;
  max-width: 46ch;
}
.project-card__link {
  margin-top: 0.9rem;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 700;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  transition: border-color var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
}
.project-card:hover .project-card__link { border-color: var(--accent); color: var(--accent); }

/* ---------- FOOTER / CONTACT ---------- */
.footer {
  padding-block: clamp(4rem, 12vw, 9rem);
}
.footer__top {
  display: grid;
  gap: 3rem;
}
@media (min-width: 860px) {
  .footer__top { grid-template-columns: 1.2fr 0.8fr; }
}
.footer h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.footer__lead {
  margin-top: 1.2rem;
  color: var(--gray-300);
  max-width: 40ch;
  line-height: 1.7;
  font-size: 1.02rem;
}
.contact-list { margin-top: 2rem; display: grid; gap: 1.1rem; }
.contact-list a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.8rem;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 0.5rem;
  transition: color var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease);
}
.contact-list a small {
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--gray-500);
}
.contact-list a:hover { color: var(--accent); border-color: var(--accent); }

.footer__side { display: flex; flex-direction: column; gap: 2rem; }
.footer__box {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 1.5rem;
}
.footer__box h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.sig-slot {
  margin-top: 0rem;
  height: 0px;
  width: 220px;
  border-bottom: 1px dashed rgba(255,255,255,0.3);
  display: flex;
  align-items: flex-end;
  padding-bottom: 0.4rem;
  font-size: 0.72rem;
  color: var(--gray-500);
}

.footer__bottom {
  margin-top: 4.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ---------- Bild-Einfügehilfe ----------
   Ein <img> als erstes Kind in .photo-slot / .plate / .project-card__media
   wird automatisch passend zugeschnitten – kein zusätzliches CSS nötig. */
.photo-slot img,
.plate img,
.project-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.plate img,
.project-card__media > img {
  position: absolute;
  inset: 0;
}
.photo-slot:has(img) { border-style: solid; padding: 0; }
.project-card__logo img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Reveal (generisch) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Detailseiten: Plan-/Bild-Platzhalter ---------- */
.plate {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-150);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  padding: 1.5rem;
  overflow: hidden;
}
.plate span.tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  background: var(--white);
  border: 1px solid var(--gray-150);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
}
.plate span.dim {
  font-size: 0.78rem;
  color: var(--gray-500);
}
.plate svg { opacity: 0.3; }

.plate--hero { aspect-ratio: 16 / 9; }
.plate--wide { aspect-ratio: 16 / 8; }
.plate--std  { aspect-ratio: 4 / 3; }

.detail-hero {
  padding-top: 7.5rem;
}
.detail-hero__eyebrow {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.88rem; color: var(--gray-500); font-weight: 600;
  margin-bottom: 1.2rem;
}
.detail-hero__eyebrow a { color: var(--black); border-bottom: 1px solid var(--gray-300); }
.detail-hero__eyebrow a:hover { color: var(--accent); border-color: var(--accent); }

.detail-title-row {
  display: flex;
  align-items: flex-end;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.detail-num {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 0.85;
  color: var(--black);
}
.detail-title-row h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.detail-meta {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.3rem;
  font-size: 0.95rem;
  color: var(--gray-500);
  max-width: 40ch;
}
.detail-meta strong { color: var(--black); font-style: normal; font-weight: 700; }

.detail-intro {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
  max-width: 62rem;
}
@media (min-width: 760px) {
  .detail-intro { grid-template-columns: repeat(2, 1fr); }
}
.detail-intro p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--gray-700);
}

.plates-grid {
  margin-top: clamp(3rem, 7vw, 5rem);
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .plates-grid--2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 700px) {
  .plates-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.concept-list {
  margin-top: clamp(3rem, 7vw, 5rem);
  display: grid;
  gap: 1.6rem;
}
@media (min-width: 700px) {
  .concept-list { grid-template-columns: repeat(2, 1fr); }
}
.concept-item {
  padding: 1.5rem;
  border: 1px solid var(--gray-150);
  border-radius: 8px;
}
.concept-item h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.concept-item p { color: var(--gray-700); font-size: 0.95rem; line-height: 1.6; }

.project-nav {
  margin-top: clamp(4rem, 8vw, 6rem);
  border-top: 1px solid var(--gray-150);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.project-nav a {
  padding: 1.6rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.project-nav a:first-child { border-right: 1px solid var(--gray-150); padding-right: 1.2rem; }
.project-nav a:last-child { text-align: right; padding-left: 1.2rem; }
.project-nav small {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  font-weight: 700;
}
.project-nav strong {
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  font-weight: 800;
  transition: color var(--dur-s) var(--ease);
}
.project-nav a:hover strong { color: var(--accent); }
