/* ============================================
   MARCUS KRAUTWURST — CV / PORTFOLIO
   styles.css
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0A0A0B;
  color: #faefc3;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: #faefc3; text-decoration: none; transition: color .2s; }
a:hover { color: #f4c97e; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; color: inherit; font: inherit; }

/* --- GRAIN OVERLAY --- */
.grain {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  opacity: 0.11;
  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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* --- STICKY NAV --- */
.top-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  height: 48px;
  background: rgba(10,10,11,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  width: 28px;
  height: 28px;
  display: block;
}
.nav-links {
  display: flex; list-style: none; gap: 2rem;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,239,195,0.6);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: #f4c97e; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #faefc3; transition: .3s; }

/* --- HERO --- */
.hero {
  position: relative;
  height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  width: 177.78vh; /* 16:9 */
  height: 100vh;
  min-width: 100vw;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: none;
}
.hero-video-wrap.failed { opacity: 0; }
.hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  image-rendering: pixelated;
  opacity: 0.6;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 5;
  background: linear-gradient(
    to bottom,
    rgba(10,10,11,0.5) 0%,
    rgba(10,10,11,0.25) 30%,
    rgba(10,10,11,0.35) 60%,
    rgba(10,10,11,0.92) 100%
  );
  pointer-events: none;
}
.hero-scanlines {
  position: absolute; inset: 0; z-index: 6;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  opacity: 0.4;
}

.hero-contact {
  position: absolute; top: 64px; right: 2rem; z-index: 10;
  display: flex; gap: 1rem; align-items: center;
}
.hero-contact a {
  color: rgba(250,239,195,0.5);
  transition: color .2s;
}
.hero-contact a:hover { color: #f4c97e; }

.hero-content {
  position: relative; z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
}
.hero-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.hero-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(241,178,68,0.3);
  box-shadow: 0 0 40px rgba(241,178,68,0.1), 0 8px 30px rgba(0,0,0,0.4);
  flex-shrink: 0;
  object-fit: cover;
  filter: sepia(60%) hue-rotate(5deg) saturate(80%) brightness(0.95);
}
.hero-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #faefc3;
  text-shadow: 0 4px 60px rgba(0,0,0,0.5);
}
.hero-subtitle {
  margin-top: 1rem;
  font-size: clamp(0.7rem, 1.4vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(250,239,195,0.6);
}
.hero-location {
  margin-top: 1.5rem;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(250,239,195,0.45);
}
.hero-stats {
  margin-top: 2rem;
  display: flex; align-items: center; justify-content: center; gap: 2rem;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  line-height: 1;
  color: #f1b244;
}
.stat-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250,239,195,0.45);
  margin-top: 0.25rem;
}
.stat-divider {
  width: 1px; height: 40px;
  background: rgba(250,239,195,0.12);
}
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; z-index: 10;
  transform: translateX(-50%);
  color: rgba(250,239,195,0.25);
  animation: hero-bounce 2s ease-in-out infinite;
}
@keyframes hero-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- SECTIONS --- */
.section {
  padding: 6rem 0;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.02em;
}
.section-line {
  width: 60px; height: 1px;
  background: #f1b244;
  margin: 1rem 0 3rem;
}

/* --- FILTER BAR --- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 2rem;
}
.filter-chip {
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(250,239,195,0.12);
  border-radius: 100px;
  color: rgba(250,239,195,0.5);
  transition: all .2s;
  background: transparent;
}
.filter-chip:hover {
  border-color: rgba(241,178,68,0.3);
  color: #faefc3;
}
.filter-chip.active {
  background: #f1b244;
  color: #0A0A0B;
  border-color: #f1b244;
}

/* --- GAME GRID --- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.game-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  transition: transform .15s ease-out, box-shadow .15s ease-out;
  will-change: transform;
}
.game-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(241,178,68,0.15);
}
.game-card.hidden {
  display: none;
}
.card-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .15s ease-out;
}
.game-card:hover .card-bg { transform: scale(1.05); }
.placeholder-bg {
  background: linear-gradient(135deg,
    hsl(var(--hue, 200) 40% 15%) 0%,
    hsl(var(--hue, 200) 30% 8%) 100%);
  display: flex; align-items: center; justify-content: center;
}
.placeholder-title {
  font-family: 'Anton', sans-serif;
  font-size: 1.8rem;
  color: rgba(250,239,195,0.12);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,11,0.97) 0%, rgba(10,10,11,0.55) 50%, rgba(10,10,11,0.35) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem;
  transition: background .3s;
}
.game-card:hover .card-overlay {
  background: linear-gradient(to top, rgba(10,10,11,0.98) 0%, rgba(10,10,11,0.6) 60%, rgba(10,10,11,0.4) 100%);
}
.card-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: #f1b244;
  letter-spacing: 0.05em;
}
.card-overlay h3 {
  font-family: 'Anton', sans-serif;
  font-size: 1.4rem;
  line-height: 1.1;
  margin: 0.2rem 0;
}
.card-role {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  background: rgba(241,178,68,0.12);
  border: 1px solid rgba(241,178,68,0.2);
  border-radius: 100px;
  color: #f1b244;
  width: fit-content;
  margin: 0.3rem 0;
}
.card-studio {
  font-size: 0.7rem;
  color: rgba(250,239,195,0.45);
}
.card-platforms {
  display: flex; gap: 0.3rem; margin-top: 0.4rem;
}
.card-platforms span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  padding: 0.1rem 0.4rem;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  color: rgba(250,239,195,0.4);
}

/* Card hover trailer iframe */
.card-trailer-iframe {
  position: absolute;
  z-index: 0;
  /* Scale up so YouTube's top/bottom chrome is clipped by overflow:hidden on .game-card */
  top: -80px; left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 160px);
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s;
  border: none;
}
.game-card:hover .card-trailer-iframe { opacity: 1; }

/* --- TIMELINE --- */
.timeline {
  position: relative;
  padding: 2rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: rgba(250,239,195,0.08);
  transform: translateX(-50%);
}
.tl-entry {
  position: relative;
  width: 50%;
  padding: 0 3rem 3rem;
}
.tl-right { margin-left: 50%; }
.tl-left { margin-right: 50%; text-align: right; }
.tl-dot {
  position: absolute; top: 0.5rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid #f1b244;
  background: #0A0A0B;
  z-index: 1;
}
.tl-right .tl-dot { left: -6px; }
.tl-left .tl-dot { right: -6px; }
.tl-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease-out, transform .5s ease-out;
}
.tl-content.visible {
  opacity: 1;
  transform: translateY(0);
}
.tl-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #f1b244;
  letter-spacing: 0.05em;
}
.tl-content h3 {
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  margin: 0.25rem 0 0.1rem;
}
.tl-location {
  font-size: 0.75rem;
  color: rgba(250,239,195,0.35);
  display: block;
}
.tl-flag {
  display: inline-block;
  vertical-align: middle;
  width: 1.2em;
  height: 0.9em;
  border-radius: 2px;
  overflow: hidden;
  margin-right: 0.35em;
  position: relative;
  top: -1px;
}
.tl-left .tl-flag {
  margin-right: 0;
  margin-left: 0.35em;
}
.tl-logo-wrap {
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
}
.tl-left .tl-logo-wrap { justify-content: flex-end; }
.tl-right .tl-logo-wrap { justify-content: flex-start; }
.tl-logo {
  height: 40px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.tl-left .tl-logo {
  object-position: right center;
}
/* Black-on-transparent logos need inversion on dark bg */
.tl-logo.invert {
  filter: invert(1);
}
/* Blizzard blue logo — slightly brighten */
.tl-logo.blizzard {
  filter: brightness(1.1);
}
/* Monster Puppet — colorful, keep as-is */
.tl-logo.monster-puppet {
  max-width: 220px;
}
/* Massive logo is wide/short — needs more height */
.tl-logo[alt='Ubisoft Massive'] {
  height: 80px;
  max-width: 280px;
}
.tl-role {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFB347;
  margin: 0.3rem 0;
}
.tl-content p {
  font-size: 0.85rem;
  color: rgba(250,239,195,0.6);
  line-height: 1.5;
  margin-top: 0.3rem;
}

/* --- SKILLS --- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}
.skill-col h3 {
  font-family: 'Anton', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: rgba(250,239,195,0.8);
}
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(250,239,195,0.1);
  border-radius: 100px;
  color: rgba(250,239,195,0.6);
  transition: all .25s;
  cursor: default;
}
.pill:hover {
  border-color: rgba(241,178,68,0.3);
  color: #faefc3;
  box-shadow: 0 0 20px rgba(241,178,68,0.08);
}
.pill.code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
}

/* --- EDUCATION --- */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}
.edu-block h3 {
  font-family: 'Anton', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: rgba(250,239,195,0.8);
}
.edu-entry {
  margin-bottom: 1.5rem;
}
.edu-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: #f1b244;
  display: block;
  margin-bottom: 0.25rem;
}
.edu-entry strong {
  font-size: 0.9rem;
  font-weight: 600;
}
.edu-entry p {
  font-size: 0.8rem;
  color: rgba(250,239,195,0.5);
  margin-top: 0.2rem;
}
.edu-personal {
  font-size: 0.85rem;
  color: rgba(250,239,195,0.5);
  margin-bottom: 1rem;
}

/* --- CONTACT --- */
.section-contact {
  background-image:
    linear-gradient(rgba(250,239,195,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250,239,195,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.contact-block {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.contact-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 2rem;
  margin: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(250,239,195,0.12);
  border-radius: 8px;
  transition: all .25s;
}
.contact-btn:hover {
  border-color: #f1b244;
  color: #f1b244;
  box-shadow: 0 0 30px rgba(241,178,68,0.1);
}
.contact-btn.primary {
  background: #f1b244;
  color: #0A0A0B;
  border-color: #f1b244;
}
.contact-btn.primary:hover {
  background: #f4c97e;
  color: #0A0A0B;
  box-shadow: 0 0 40px rgba(241,178,68,0.2);
}
.contact-socials {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem;
}
.contact-socials a {
  font-size: 0.8rem;
  color: rgba(250,239,195,0.45);
  letter-spacing: 0.05em;
  transition: color .2s;
}
.contact-socials a:hover { color: #f4c97e; }

/* --- FOOTER --- */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(250,239,195,0.06);
}
footer p {
  font-size: 0.7rem;
  color: rgba(250,239,195,0.25);
  letter-spacing: 0.1em;
}

/* --- MODAL --- */
.modal {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,10,11,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  transform: scale(0.95);
  opacity: 0;
  transition: transform .3s ease-out, opacity .3s ease-out;
}
.modal.open .modal-content {
  transform: scale(1);
  opacity: 1;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  color: rgba(250,239,195,0.5);
  transition: color .2s;
}
.modal-close:hover { color: #faefc3; }
.modal-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.modal-video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.modal-info {
  padding: 1.5rem;
}
.modal-info h3 {
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.modal-info .card-role {
  margin-right: 0.5rem;
}
#modal-studio {
  font-size: 0.8rem;
  color: rgba(250,239,195,0.45);
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 48px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(10,10,11,0.97);
    backdrop-filter: blur(12px);
    padding: 1.5rem 2rem;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform .3s, opacity .3s;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Hero mobile layout */
  .hero-name-row {
    flex-direction: column;
    gap: 1rem;
  }
  .hero-avatar {
    width: 80px; height: 80px;
  }
  .hero-title {
    font-size: clamp(1.8rem, 9vw, 3rem);
    white-space: normal;
    word-break: break-word;
  }
  .hero-subtitle {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    padding: 0 0.5rem;
  }
  .hero-contact {
    top: auto; bottom: 5rem; right: auto;
    left: 50%; transform: translateX(-50%);
  }
  .hero-stats { gap: 1rem; }
  .stat-num { font-size: 1.8rem; }

  /* Cards */
  .game-grid { grid-template-columns: 1fr; }

  /* Filter bar: horizontal scroll on small screens */
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-chip { flex-shrink: 0; }

  /* Timeline */
  .timeline::before { left: 1rem; }
  .tl-entry { width: 100%; margin-left: 0 !important; margin-right: 0 !important; padding-left: 2.5rem; text-align: left !important; }
  .tl-dot { left: 0.45rem !important; right: auto !important; }

  .section { padding: 4rem 0; }

  /* Contact buttons stack vertically */
  .contact-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    margin: 0.5rem 0;
  }

  /* Modal */
  .modal { padding: 1rem; }
  .modal-info { padding: 1rem; }
  .modal-info h3 { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.6rem, 8.5vw, 2.5rem); }
  .container { padding: 0 1rem; }
  .hero-content { padding: 0 1rem; }
}

/* --- PRINT --- */
@media print {
  body { background: #fff; color: #111; font-size: 10pt; }
  .grain, .hero-video-wrap, .hero-scanlines, .hero-canvas, .hero-overlay,
  .hero-scroll-hint, .top-nav, .modal, .filter-bar,
  .card-trailer-iframe, .hero-contact { display: none !important; }
  .hero {
    height: auto; min-height: 0;
    padding: 2rem 0;
    page-break-after: avoid;
  }
  .hero-title { font-size: 28pt; color: #111; text-shadow: none; }
  .hero-subtitle { color: #333; }
  .hero-stats .stat-num { color: #111; }
  .stat-divider { background: #ccc; }
  .section { padding: 1.5rem 0; page-break-inside: avoid; }
  .section-title { font-size: 16pt; }
  .section-line { background: #111; }
  .game-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .game-card { aspect-ratio: auto; break-inside: avoid; }
  .card-bg { display: none; }
  .card-overlay {
    position: relative;
    background: none;
    padding: 0.5rem;
  }
  .card-overlay h3 { font-size: 10pt; color: #111; }
  .card-role { background: none; border-color: #ccc; color: #333; }
  .card-year, .tl-date, .edu-date { color: #333; }
  .timeline::before { background: #ccc; }
  .tl-dot { border-color: #333; }
  .tl-content { opacity: 1; transform: none; }
  .tl-logo.invert { filter: none; }
  .tl-logo { height: 32px; }
  .pill { border-color: #ccc; color: #333; }
  .section-contact { background-image: none; }
  a { color: #111; }
  a::after { content: none; }
  footer { border-top-color: #ccc; }
  footer p { color: #666; }
}

/* --- BLOG PREVIEW --- */
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 900px) {
  .blog-preview-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-preview-grid { grid-template-columns: 1fr; }
}
.blog-preview-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
.blog-preview-card:hover {
  border-color: rgba(241,178,68,0.4);
  transform: translateY(-3px);
}
.bpc-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: rgba(255,255,255,0.05);
}
.bpc-thumb--none {
  background-image: none;
}
.bpc-body {
  padding: 1.1rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.bpc-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: rgba(250,239,195,0.35);
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}
.bpc-title {
  font-family: 'Anton', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #faefc3;
  margin: 0 0 0.6rem;
  line-height: 1.25;
}
.bpc-excerpt {
  font-size: 0.82rem;
  color: rgba(250,239,195,0.5);
  line-height: 1.65;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-preview-more {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: #f1b244;
  text-decoration: none;
  border-bottom: 1px solid rgba(241,178,68,0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}
.blog-preview-more:hover { border-color: #f1b244; }

/* Summary section */
#summary { padding-top: 0; }
.summary-text {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  text-align: center;
}
