/* ─────────────────────────────────────────────────────────
   BASE
───────────────────────────────────────────────────────── */
:root {
  --bg: #0c0c0b;
  --bg2: #131312;
  --bg3: #1a1a18;
  --line: rgba(255, 255, 255, 0.07);
  --line2: rgba(255, 255, 255, 0.14);
  --text: #f0ede6;
  --muted: #8a8880;
  --accent: #c8f060;
  --accent2: #e8d5a3;
  --cursor-ring: rgba(200, 240, 96, 0.4);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --mono: 'DM Mono', monospace;
}

::-moz-selection {
  /* Code for Firefox */
  color: var(--bg);
  background: var(--accent);
}

::selection {
  color: var(--bg);
  background: var(--accent);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ─────────────────────────────────────────────────────────
   SHARED UTILITIES
───────────────────────────────────────────────────────── */
.btn-primary {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .08em;
  background: var(--accent);
  color: var(--bg);
  padding: .65rem 1.6rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  transition: opacity .2s;
  display: inline-block;
}

.btn-primary:hover {
  opacity: .85;
}

.btn-ghost {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--text);
  border: 1px solid var(--line2);
  padding: .65rem 1.6rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  transition: border-color .2s, color .2s;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--muted);
}

.tag {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .08em;
  background: var(--bg3);
  border: 1px solid var(--line2);
  color: var(--muted);
  padding: .2rem .55rem;
  border-radius: 2px;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────────
   NOISE OVERLAY
───────────────────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .35;
}

/* ─────────────────────────────────────────────────────────
   CUSTOM CURSOR
───────────────────────────────────────────────────────── */

/* Hidden on all devices by default — only shown on pointer:fine (desktop mouse) */
#cur-dot,
#cur-ring {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  * {
    cursor: none !important;
  }

  #cur-dot {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    will-change: transform;
    opacity: 0;
    mix-blend-mode: difference;
  }

  #cur-ring {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99998;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--cursor-ring);
    pointer-events: none;
    will-change: transform;
    opacity: 0;
    align-items: center;
    justify-content: center;
    transition: width .35s cubic-bezier(.23, 1, .32, 1),
      height .35s cubic-bezier(.23, 1, .32, 1),
      border-radius .35s cubic-bezier(.23, 1, .32, 1),
      background .3s, border-color .3s;
    mix-blend-mode: difference;
  }

  #cur-label {
    font-family: var(--mono);
    font-size: .58rem;
    letter-spacing: .1em;
    color: var(--accent);
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .2s;
    mix-blend-mode: difference;
  }

  body.cur-link #cur-ring {
    width: 52px;
    height: 52px;
    border-color: rgba(200, 240, 96, .9);
  }

  body.cur-view #cur-ring {
    width: 74px;
    height: 74px;
    background: rgba(200, 240, 96, .1);
    border-color: var(--accent);
  }

  body.cur-view #cur-label {
    opacity: 1;
  }

  /* Text / input state — thin vertical bar like a stylised caret */
  body.cur-text #cur-ring {
    width: 2px;
    height: 22px;
    border-radius: 1px;
    border-color: var(--accent);
    background: transparent;
  }
}

/* ─────────────────────────────────────────────────────────
   NAV
───────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem 1.25rem;
  background: rgba(12, 12, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: padding .3s;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.nav-logo {
  font-family: var(--mono);
  font-size: .85rem;
  letter-spacing: .05em;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-cta {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--bg);
  background: var(--accent);
  border: none;
  padding: .45rem 1.1rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  transition: opacity .2s;
}

.nav-cta:hover {
  opacity: .85;
}

.nav-back {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: color .2s;
}

.nav-back:hover {
  color: var(--text);
}

.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  position: relative;
  z-index: 210;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  overflow: hidden;
}

.nav-burger svg path {
  fill: var(--accent);
}

.nav-burger #burger-lottie {
  width: 40px !important;
  height: 40px !important;
  display: block;
  opacity: 0;
  position: relative;
  z-index: 2;
}

.nav-burger::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;

  background:
    linear-gradient(var(--accent), var(--accent)) center 14px / 17px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center 19px / 17px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center 24px / 17px 2px no-repeat;

  border-radius: 40%;
}

.nav-burger.is-ready #burger-lottie {
  opacity: 1;
}

/* Zodra lottie ready = fallback weg */
.nav-burger.is-ready::before {
  display: none;
}

dotlottie-player {
  --lottie-fill-color: var(--accent);
  --lottie-stroke-color: var(--accent);
}

#animation-container #animation svg {
  fill: var(--accent) !important;
}

.nav-burger canvas {
  display: block;
  width: 40px !important;
  height: 40px !important;
}

@media (max-width: 720px) {
  nav {
    padding: 1rem 1.5rem;
  }

  .nav-links,
  .nav-cta-wrap {
    display: none;
  }

  .nav-back {
    display: none;
  }

  .nav-burger {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  nav {
    padding: 1rem 1rem 0.85rem;
  }
}

/* ─────────────────────────────────────────────────────────
   DRAWER
───────────────────────────────────────────────────────── */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  bottom: 0;
  z-index: 195;
  width: min(380px, 100%);
  background: var(--bg2);
  border-left: 1px solid var(--line2);
  border-right: none;
  display: none;
  flex-direction: column;
  padding: 5rem 2.5rem 2.5rem;
  opacity: 1;
  pointer-events: none;
  will-change: transform;
  max-height: 100vh;
  overflow-y: hidden;
}

@media (max-width: 720px) {
  .drawer {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
}

.drawer-overlay.active {
  display: block;
  pointer-events: auto;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.drawer-links li {
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.drawer-links a {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 5vw, 2rem);
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  transition: color .2s;
  width: 100%;
  min-height: 72px;
}

.drawer-links a:hover {
  color: var(--text);
}

.drawer-num {
  font-family: var(--serif);
  font-size: 3rem;
  letter-spacing: -.03em;
  color: var(--line2);
  line-height: 1;
  align-self: center;
  transition: color .2s;
}

.drawer-cta {
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--bg);
  background: var(--accent);
  border: none;
  padding: .9rem 1.6rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  display: block;
  text-align: center;
}

.drawer-socials {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.drawer-socials a {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .08em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s;
}

.drawer-socials a:hover {
  color: var(--accent);
}

@media (max-width: 520px) {
  .drawer {
    width: 100vw;
    border-left: none;
  }
}

@media (max-width: 720px) {

  .drawer-links,
  .drawer-links li,
  .drawer-links a {
    width: 100%;
  }
}

@media (min-width: 721px) {

  .drawer,
  .drawer-overlay {
    display: none !important;
  }
}

/* ─────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────── */
footer {
  margin-top: auto;
  padding: 2.5rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  max-height: 10rem;
}

.footer-left {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .05em;
}

.footer-left span {
  color: var(--text);
}

.footer-right {
  display: flex;
  gap: 1.25rem;
}

.footer-right a {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: .05em;
  transition: color .2s;
}

.footer-right a:hover {
  color: var(--accent);
}

@media (max-width: 720px) {
  footer {
    padding: 2rem 1.5rem;
  }
}

/* ─────────────────────────────────────────────────────────
   SHARED SKELETON ANIMATION
───────────────────────────────────────────────────────── */
@keyframes shimmer {
  0% {
    background-position: -600px 0;
  }

  100% {
    background-position: 600px 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, var(--bg2) 25%, var(--bg3) 50%, var(--bg2) 75%);
  background-size: 1200px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 2px;
}

/* ─────────────────────────────────────────────────────────
   INDEX — HERO
───────────────────────────────────────────────────────── */
#home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 7rem;
  padding: 7rem 2.5rem 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero,
.hero-inner,
.hero-content {
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-badge {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.hero-badge::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
  display: block;
}

h1.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--text);
  max-width: 900px;
  margin-bottom: 2rem;
}

h1.hero-title em {
  color: var(--accent2);
  font-style: italic;
}

h1.hero-title .hero-dot {
  color: var(--accent2);
  font-size: 1.2em;
  animation: blink 1.5s step-end infinite;
}

.hero-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  max-width: 700px;
  margin-bottom: 3rem;
}

.hero-sub p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-socials {
  position: absolute;
  right: 2.5rem;
  bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  align-items: center;
}

.hero-socials::before {
  content: '';
  width: 1px;
  height: 50px;
  background: var(--line2);
}

.hero-socials a {
  color: var(--muted);
  transition: color .2s;
  text-decoration: none;
}

.hero-socials a:hover {
  color: var(--accent);
}

.hero-socials svg {
  display: block;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 36px;
  background: var(--line2);
}

@media (max-width: 720px) {
  #home {
    padding: 5.5rem 1.5rem 3rem;
    justify-content: center;
  }

  .hero-socials,
  .hero-scroll {
    display: none;
  }
}

/* ─────────────────────────────────────────────────────────
   INDEX — HERO AVAILABILITY CARD
───────────────────────────────────────────────────────── */
.hero-avail {
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  width: 236px;
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 2px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.hero-avail-status {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.25rem;
}

.hero-avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: avail-pulse 2.5s ease-in-out infinite;
}

@keyframes avail-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(200, 240, 96, .5);
  }

  60% {
    box-shadow: 0 0 0 7px rgba(200, 240, 96, 0);
  }
}

.hero-avail-label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--accent);
  text-transform: uppercase;
}

.hero-avail-rows {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: 1.25rem;
}

.hero-avail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.hero-avail-key {
  font-family: var(--mono);
  font-size: .63rem;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero-avail-val {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--text);
}

.hero-avail-cta {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: gap .2s;
}

.hero-avail-cta:hover {
  gap: .7rem;
}

@media (max-width: 960px) {
  .hero-avail {
    display: none;
  }
}

/* ─────────────────────────────────────────────────────────
   INDEX — SECTIONS SHARED
───────────────────────────────────────────────────────── */
section {
  padding: 6rem max(2.5rem, calc((100% - 1200px) / 2));
  border-bottom: 1px solid var(--line);
}

@media (max-width: 720px) {
  section {
    padding: 4rem 1.5rem;
  }
}

.section-label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

h2.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin-bottom: 3rem;
  max-width: 600px;
}

/* ─────────────────────────────────────────────────────────
   INDEX — ABOUT
───────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  max-width: 1100px;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-text p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-text p strong {
  color: var(--text);
  font-weight: 400;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  background: var(--bg2);
  padding: 1.75rem 1.5rem;
}

.stat-num {
  font-family: var(--serif);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--accent2);
  margin-bottom: .4rem;
}

.stat-label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────────
   INDEX — SKILLS
───────────────────────────────────────────────────────── */
#skills {
  background: var(--bg);
}

.skills-container {
  max-width: 1100px;
}

.skills-categories {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
}

.skill-category {
  border-bottom: 1px solid var(--line);
}

.skill-category:last-child {
  border-bottom: none;
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
}

.skill-cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.skill-cat-name {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  flex: 1;
}

.skill-cat-count {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .05em;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg);
}

.skill-pill {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .85rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg2);
  font-size: .82rem;
  color: var(--text);
  transition: border-color .2s, background .2s;
  cursor: default;
}

.skill-pill:hover {
  border-color: var(--line2);
  background: var(--bg3);
}

.skill-pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────
   INDEX — PROJECTS SECTION
───────────────────────────────────────────────────────── */
#projects {
  background: var(--bg);
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.projects-header h2 {
  margin-bottom: 0;
}

.view-all-link {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: color .2s;
}

.view-all-link:hover {
  color: var(--accent);
}

.cursor-line {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 1px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .3s;
  z-index: 999;
}

/* ─────────────────────────────────────────────────────────
   INDEX — CONTACT
───────────────────────────────────────────────────────── */
#contacts {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1000px;
}

@media (max-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.contact-intro p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.25rem;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 2px;
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s, background .2s;
}

.contact-link:hover {
  border-color: var(--line2);
  background: var(--bg3);
}

.contact-link-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-link-text {
  flex: 1;
}

.contact-link-label {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: .15rem;
}

.contact-link-value {
  font-size: .9rem;
}

.contact-link-arrow {
  color: var(--muted);
  font-size: .8rem;
  transition: transform .2s;
}

.contact-link:hover .contact-link-arrow {
  transform: translateX(3px);
  color: var(--accent)
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-field label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  background: var(--bg2);
  border: 1px solid var(--line);
  color: var(--text);
  padding: .75rem 1rem;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
  resize: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--line2);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
}

.form-submit {
  align-self: flex-start;
}

.form-error {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .04em;
  color: #f87171;
  display: none;
  margin-top: .3rem;
}

.form-field.has-error .form-error {
  display: block;
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #f87171 !important;
}

.form-feedback {
  font-family: var(--mono);
  font-size: .75rem;
  display: none;
}

.form-feedback.is-success {
  color: var(--accent);
}

.form-feedback.is-error {
  color: #f87171;
}

/* ─────────────────────────────────────────────────────────
   SHARED — PROJECT CARDS (index + projects page)
───────────────────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  min-height: 100%;
  align-content: start;
  grid-auto-flow: row dense;
}

.projects-grid.loading {
  background: transparent;
  border-color: transparent;
  gap: 16px;
}

.project-card {
  background: var(--bg2);
  overflow: hidden;
  transition: background .2s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  will-change: transform;
  backface-visibility: hidden;
}

.project-card:hover {
  background: var(--bg3);
}

.project-card.hidden {
  display: none;
}

.project-img {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  /* clip-path: inset(0); */
  border-bottom: none;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .1em;
}

.project-img-zoom {
  position: absolute;
  inset: 0;
  transition: transform .45s ease;
  will-change: transform;
  backface-visibility: hidden;
}

.project-card:hover .project-img-zoom {
  transform: scale(1.05);
}

.project-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* donkere overlay voor leesbaarheid */
.project-img-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(0, 0, 0, .72) 0%,
      rgba(0, 0, 0, .28) 45%,
      rgba(0, 0, 0, .08) 100%);
  z-index: 2;
}

.project-img-overlay.fallback {
  background:
    linear-gradient(135deg, #1b1b1a, #111);
}

/* tekst over image */
.project-img-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: .3rem;
  padding: 1rem 1.1rem;
}

.project-img-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .9), 0 2px 4px rgba(0, 0, 0, .7);
}

.project-img-type {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
}

.project-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  border-top: 1px solid var(--line);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.project-meta {
  display: flex;
  gap: .75rem;
  align-items: center;
}

.project-year {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: .05em;
}

.project-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

.project-desc {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.project-link {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
  margin-top: .5rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  transition: gap .2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.project-link:hover {
  gap: .6rem;
}

.featured-project {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

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

.featured-project .project-img {
  aspect-ratio: unset;
  min-height: 240px;
  border-bottom: none;
  border-right: 1px solid var(--line);
}

@media (max-width: 700px) {
  .featured-project .project-img {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

/* ─────────────────────────────────────────────────────────
   PROJECTS PAGE — HEADER
───────────────────────────────────────────────────────── */
.page-header {
  padding: 9rem 2.5rem 4rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-header-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.page-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.page-title em {
  color: var(--accent2);
  font-style: italic;
}

@media (max-width: 720px) {
  .page-header {
    padding: 7rem 1.5rem 3rem;
  }
}

/* ─────────────────────────────────────────────────────────
   PROJECTS PAGE — FILTERS
───────────────────────────────────────────────────────── */
.filters-bar {
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-btn {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border: 1px solid var(--line2);
  border-radius: 2px;
  background: var(--bg2);
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}

.filter-btn:hover {
  border-color: rgba(255, 255, 255, .35);
  background: var(--bg3);
}

.filter-btn.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

@media (max-width: 720px) {
  .filters-bar {
    padding: 1.25rem 1.5rem;
  }
}

/* ─────────────────────────────────────────────────────────
   PROJECTS PAGE — GRID & SKELETON CARDS
───────────────────────────────────────────────────────── */
.projects-section {
  padding: 3rem 2.5rem 6rem;
}

@media (max-width: 720px) {
  .projects-section {
    padding: 2rem 1.5rem 4rem;
  }
}

.project-card-skeleton {
  background: var(--bg2);
  padding: 0;
  overflow: hidden;
}

.skeleton-img {
  height: 180px;
  background: linear-gradient(90deg, var(--bg2) 25%, var(--bg3) 50%, var(--bg2) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite;
}

.skeleton-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.skeleton-line {
  height: 10px;
  border-radius: 2px;
}

.skeleton-title {
  height: 16px;
  border-radius: 2px;
  width: 70%;
}

.empty-state {
  grid-column: 1/-1;
  padding: 5rem 2rem;
  text-align: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .85rem;
  letter-spacing: .05em;
}

/* ── Coming soon card ────────────────────────────────── */
.card-soon {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 260px;
  height: 100%;

  background: var(--bg);
  border: 1.5px dashed rgba(255, 255, 255, .08);
}

.card-soon:hover {
  border-color: rgba(255, 255, 255, .16);
}

.card-soon-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  padding: 2.5rem;
  text-align: center;
}

.card-soon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: soon-pulse 2.8s ease-in-out infinite;
}

@keyframes soon-pulse {

  0%,
  100% {
    opacity: .2;
    transform: scale(1);
  }

  50% {
    opacity: .7;
    transform: scale(1.35);
  }
}

.card-soon-title {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .18em;
  color: var(--muted);
  text-transform: uppercase;
}

.card-soon-sub {
  font-size: .82rem;
  color: var(--muted);
  opacity: .45;
  line-height: 1.65;
  max-width: 200px;
}

/* ─────────────────────────────────────────────────────────
   PROJECT DETAIL — SKELETON
───────────────────────────────────────────────────────── */
.skeleton-hero {
  height: 480px;
  width: 100%;
  margin-top: 64px;
}

.skeleton-body-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
}

.skeleton-label {
  height: 10px;
  width: 120px;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.skeleton-h1 {
  height: 48px;
  width: 75%;
  border-radius: 2px;
  margin-bottom: .75rem;
}

.skeleton-h1b {
  height: 48px;
  width: 55%;
  border-radius: 2px;
  margin-bottom: 2rem;
}

.skeleton-tags {
  display: flex;
  gap: .5rem;
  margin-bottom: 3rem;
}

.skeleton-tag {
  height: 24px;
  width: 70px;
  border-radius: 2px;
}

.skeleton-p {
  height: 12px;
  border-radius: 2px;
  margin-bottom: .6rem;
}

.skeleton-divider {
  height: 1px;
  background: var(--line);
  margin: 3rem 0;
}

/* ─────────────────────────────────────────────────────────
   PROJECT DETAIL — ERROR STATE
───────────────────────────────────────────────────────── */
.error-state {
  max-width: 600px;
  margin: 120px auto;
  padding: 2.5rem;
  text-align: center;
}

.error-state h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--muted);
}

.error-state p {
  color: var(--muted);
  margin-bottom: 2rem;
}

/* ─────────────────────────────────────────────────────────
   PROJECT DETAIL — HERO MAIN IMAGE + THUMBNAIL STRIP
───────────────────────────────────────────────────────── */
.project-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: block;
  user-select: none;
  pointer-events: none;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to right, rgba(12, 12, 11, .75) 0%, rgba(12, 12, 11, .2) 55%, transparent 100%),
    linear-gradient(to top, rgba(12, 12, 11, .95) 0%, rgba(12, 12, 11, .5) 40%, rgba(12, 12, 11, .1) 100%);
}

/* Thumbnail strip — hidden on mobile */
.hero-thumbs {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 5;
}

.hero-thumb {
  width: 110px;
  height: 66px;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .18);
  position: relative;
  flex-shrink: 0;
  transition: border-color .2s;
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
  user-select: none;
  pointer-events: none;
}

.hero-thumb:hover {
  border-color: rgba(255, 255, 255, .5);
}

.hero-thumb:hover img {
  transform: scale(1.06);
}

/* "Open Gallery" overlay — only on hover */
.hero-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 11, .72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  opacity: 0;
  transition: opacity .2s;
}

.hero-thumb:hover .hero-thumb-overlay {
  opacity: 1;
}

.hero-thumb-overlay-icon {
  width: 22px;
  height: 22px;
  color: var(--text);
  opacity: .85;
}

.hero-thumb-overlay-label {
  font-family: var(--mono);
  font-size: .55rem;
  letter-spacing: .12em;
  color: var(--text);
  text-transform: uppercase;
  opacity: .75;
  white-space: nowrap;
}

/* ─────────────────────────────────────────────────────────
   GALLERY MODAL
───────────────────────────────────────────────────────── */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 99900;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform, opacity;
}

.gallery-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 6, 0);
  transition: background .36s ease .08s;
  pointer-events: none;
}

.gallery-modal.is-open .gallery-overlay {
  background: rgba(6, 6, 6, .97);
}

.gallery-modal.is-visible {
  pointer-events: auto;
}

.gallery-modal .gallery-stage,
.gallery-modal .gallery-close,
.gallery-modal .gallery-nav,
.gallery-modal .gallery-counter {
  opacity: 0;
  transition: opacity .2s ease;
}

.gallery-modal.is-visible .gallery-stage,
.gallery-modal.is-visible .gallery-close,
.gallery-modal.is-visible .gallery-nav,
.gallery-modal.is-visible .gallery-counter {
  opacity: 1;
}

.gallery-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line2);
  border-radius: 2px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.gallery-close:hover {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .3);
}

.gallery-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-img-wrap {
  max-width: 88vw;
  max-height: 84vh;
  width: 100%;
  height: 84vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-img-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 2px;
  user-select: none;
  pointer-events: none;
}

.gallery-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  z-index: 10;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line2);
  border-radius: 2px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .3);
}

.gallery-prev {
  left: 1.5rem;
}

.gallery-next {
  right: 1.5rem;
}

.gallery-counter {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .4);
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .hero-thumb {
    width: 80px;
    height: 48px;
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
  }

  .gallery-prev {
    left: .75rem;
  }

  .gallery-next {
    right: .75rem;
  }
}

/* ─────────────────────────────────────────────────────────
   PROJECT DETAIL — HERO BANNER
───────────────────────────────────────────────────────── */
.project-hero {
  width: 100%;
  height: 480px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  margin-top: 64px;
  border-bottom: 1px solid var(--line);
}

.project-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─────────────────────────────────────────────────────────
   LINE STRIP
───────────────────────────────────────────────────────── */
.line-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 60px;
  overflow: visible;
}

.line-strip-line {
  width: 2px;
  flex-shrink: 0;
  height: 100%;
  background-color: var(--accent);
  border-radius: 1px;
  opacity: 0.18;
  transition: opacity 0.4s;
}

.line-strip:hover .line-strip-line {
  opacity: 0.55;
}

/* ─────────────────────────────────────────────────────────
   PROJECT HERO (project.html)
───────────────────────────────────────────────────────── */
.project-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
}

.project-hero-content {
  position: relative;
  z-index: 4;
  padding: 3rem 5rem;
  width: 100%;
}

.breadcrumb {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  opacity: .4;
}

.project-hero-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: .6rem;
}

.project-hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .project-hero {
    height: 400px;
    padding-top: 0;
  }

  .project-hero-content {
    padding: 1.5rem 1.5rem 7rem;
  }

  .hero-thumbs {
    bottom: 1rem;
    gap: .4rem;
    left: 1.5rem;
    transform: none;
    overflow-x: auto;
    max-width: calc(100vw - 3rem);
    scrollbar-width: none;
  }

  .hero-thumbs::-webkit-scrollbar {
    display: none;
  }

  .hero-thumb {
    width: 76px;
    height: 46px;
  }
}

/* ─────────────────────────────────────────────────────────
   PROJECT DETAIL — CONTENT
───────────────────────────────────────────────────────── */
.project-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 5rem 6rem;
}

@media (max-width: 900px) {
  .project-content {
    padding: 3rem 3rem 5rem;
  }
}

@media (max-width: 600px) {
  .project-content {
    padding: 2.5rem 2rem 4rem;
  }
}

.meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
}

.meta-label {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .3rem;
}

.meta-value {
  font-size: .95rem;
  font-weight: 500;
}

.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.project-description {
  margin-bottom: 3rem;
}

.project-description p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.project-description p:last-child {
  margin-bottom: 0;
}

.project-links-section {
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
  margin-bottom: 3rem;
}

.project-links-label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.project-link-btns {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────────────────
   PROJECT DETAIL — RELATED
───────────────────────────────────────────────────────── */
.related-section {
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}

.related-label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.related-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.related-card {
  background: var(--bg2);
  padding: 1.25rem;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
  display: block;
  color: var(--text);
}

.related-card:hover {
  background: var(--bg3);
}

.related-card-type {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4rem;
}

.related-card-title {
  font-size: .95rem;
  font-weight: 500;
  margin-bottom: .3rem;
}

.related-card-arrow {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--accent);
}

/* ─────────────────────────────────────────────────────────
   COOKIE CONSENT
───────────────────────────────────────────────────────── */
#cc-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg2);
  border-top: 1px solid var(--line2);
  padding: 1.25rem 2rem;
}

#cc-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

#cc-text {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

#cc-text strong {
  color: var(--text);
  font-weight: 500;
}

#cc-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cc-btn {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  text-transform: uppercase;
}

.cc-btn:hover {
  opacity: 0.75;
}

#cc-accept {
  background: var(--accent);
  color: var(--bg);
}

#cc-decline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line2);
}

@media (max-width: 640px) {
  #cc-banner {
    padding: 1.25rem;
  }

  #cc-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}