:root {
  --color-background: #F6F3EE;
  --color-text: #111111;
  --color-accent: #E53935;
  --color-muted: #777777;
  --color-card: #FFFFFF;

  --font-sans: 'Instrument Sans', sans-serif;

  /* Type Scale (1.33 Multiplier - Perfect Fourth) */
  --text-base-size: 1.125rem;
  /* 18px base */
  --text-scale-ratio: 1.333;
  --text-xs: calc(var(--text-base-size) / (var(--text-scale-ratio) * var(--text-scale-ratio)));
  /* ~10.8px */
  --text-sm: calc(var(--text-base-size) / var(--text-scale-ratio));
  /* ~13.5px */
  --text-base: var(--text-base-size);
  /* 18px */
  --text-md: calc(var(--text-base) * var(--text-scale-ratio));
  /* ~24px */
  --text-lg: calc(var(--text-md) * var(--text-scale-ratio));
  /* ~28.1px */
  --text-xl: calc(var(--text-lg) * var(--text-scale-ratio));
  /* ~35.2px */
  --text-2xl: calc(var(--text-xl) * var(--text-scale-ratio));
  /* ~44px */
  --text-3xl: calc(var(--text-2xl) * var(--text-scale-ratio));
  /* ~55px */
  --text-4xl: calc(var(--text-3xl) * var(--text-scale-ratio));
  /* ~68.7px */

  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(var(--text-xl), 4vw + 1rem, var(--text-3xl));
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(var(--text-md), 3vw + 1rem, var(--text-2xl));
  margin-bottom: 1rem;
}

h3 {
  font-size: var(--text-md);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: var(--text-base);
  margin-bottom: 0.5rem;
}

p {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid {
  display: grid;
  gap: 2rem;
}

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

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {

  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.text-center {
  text-align: center;
}

.max-w-xl {
  max-width: 36rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background-color: #c62828;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid rgba(17, 17, 17, 0.1);
}

.btn-outline:hover {
  background-color: rgba(17, 17, 17, 0.05);
}

/* Navbar — liquid glass (default = dark background) */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  height: 70px;
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 50;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Navbar over light sections */
.navbar--on-light {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.07),
    inset 0 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(40px) saturate(1.6);
  -webkit-backdrop-filter: blur(40px) saturate(1.6);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  height: 28px;
  width: auto;
}

/* Navbar: white logo by default (dark bg), dark logo on light bg */
.logo-img-white { display: block; }
.logo-img-dark  { display: none;  }

.navbar--on-light .logo-img-white { display: none;  }
.navbar--on-light .logo-img-dark  { display: block; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.4s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.navbar--on-light .nav-links a {
  color: var(--color-muted);
}

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

.nav-links a.btn-primary,
.navbar--on-light .nav-links a.btn-primary {
  color: #fff;
}

.nav-links a.btn-primary:hover {
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px;
  border-radius: 8px;
  outline: none;
  transition: color 0.3s ease;
}

.navbar--on-light .mobile-menu-btn {
  color: var(--color-text);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--color-background);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid rgba(17, 17, 17, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }

  .nav-links.active {
    display: flex;
  }

  /* Always use dark text in the mobile dropdown (light background) */
  .nav-links a,
  .navbar--on-light .nav-links a {
    color: var(--color-text);
  }

  .nav-links a:hover,
  .nav-links a.active,
  .navbar--on-light .nav-links a:hover,
  .navbar--on-light .nav-links a.active {
    color: var(--color-accent);
  }

  /* Keep CTA button white text always */
  .nav-links a.btn-primary,
  .navbar--on-light .nav-links a.btn-primary {
    color: #fff;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-cta {
    display: inline-flex;
    margin-top: 1rem;
    width: 100%;
  }
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  background-image: url('public/herobg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
}

.hero-content {
  max-width: 680px;
}

.hero-cta-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.hero h1 {
  color: #ffffff;
}

.hero p {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

.hero-stats {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-items: flex-end;
  text-align: left;
}

.hero-stats h3 {
  font-size: var(--text-xl);
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.hero-stats p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

@media (max-width: 768px) {
  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  .hero h1 {
    font-size: clamp(var(--text-lg), 4vw + 1rem, var(--text-3xl));
  }

  .hero p {
    font-size: var(--text-sm);
  }

  .hero-stats h3 {
    font-size: var(--text-lg);
  }

  .hero-stats p {
    font-size: var(--text-xs);
  }
}

@media (max-width: 992px) {
  .hero-stats {
    gap: 2rem;
  }
}

/* Sections */
section {
  padding: 100px 0;
}

.bg-white {
  background-color: var(--color-card);
}

.bg-dark {
  background-color: var(--color-text);
  color: var(--color-background);
}

.bg-dark p {
  color: #a3a3a3;
}

.bg-dark h2 {
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

/* Cards */
.card {
  background-color: var(--color-background);
  padding: 2.5rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(17, 17, 17, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.card-icon {
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

/* Project Cards */
.project-card {
  cursor: pointer;
}

.project-image {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(17, 17, 17, 0.05);
  position: relative;
  aspect-ratio: 4/3;
  background: var(--color-background);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-image iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 400%;
  height: 400%;
  border: none;
  transform: scale(0.25);
  transform-origin: 0 0;
  pointer-events: none;
  transition: transform 0.5s ease;
}

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

.project-card:hover .project-image iframe {
  transform: scale(0.26);
}

.project-card p {
  font-size: 1rem;
}

/* Process Grid */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 1rem 0;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-card);
  border: 4px solid var(--color-background);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  z-index: 2;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-content {
  background-color: var(--color-card);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(17, 17, 17, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.step-content .card-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(246, 243, 238, 0.5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Micro-interactions */
.step:hover .step-content {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
  border-color: rgba(17, 17, 17, 0.1);
}

.step:hover .step-number {
  background-color: var(--color-accent);
  color: #fff;
  border-color: rgba(229, 57, 53, 0.2);
  transform: scale(1.1);
}

.step:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  background-color: rgba(229, 57, 53, 0.1);
  color: var(--color-accent);
}

@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* Why Us List */
.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--text-sm);
  font-weight: 500;
}

.check-item svg {
  color: var(--color-accent);
}

@media (max-width: 500px) {
  .check-list {
    grid-template-columns: 1fr;
  }
}

/* CTA */
.cta-banner {
  background-color: var(--color-text);
  color: var(--color-background);
  padding: 6rem 4rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(229, 57, 53, 0.12) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.cta-banner>* {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: #fff;
}

@media (max-width: 768px) {
  .cta-banner {
    padding: 4rem 2rem;
  }
}

/* CTA Section */
.cta-section {
  background-color: #0c0c0c;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(220, 32, 24, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.cta-heading {
  font-size: clamp(var(--text-md), 3vw, var(--text-2xl));
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 880px;
  margin: 0;
}

.cta-heading span {
  color: var(--color-accent);
}

.cta-rule {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0;
}

.cta-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cta-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-base);
  max-width: 460px;
  margin: 0;
}

.cta-btn {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cta-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
}

/* Footer */
.footer {
  background-color: var(--color-card);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(17, 17, 17, 0.05);
}

.footer h4 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(17, 17, 17, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(17, 17, 17, 0.1);
  background-color: rgba(246, 243, 238, 0.5);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  background-color: var(--color-card);
  border-color: rgba(229, 57, 53, 0.3);
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.1);
}

textarea.form-control {
  resize: vertical;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 4rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background-color: var(--color-card);
  font-weight: 500;
  font-size: var(--text-xs);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background-color: rgba(17, 17, 17, 0.05);
}

.filter-btn.active {
  background-color: var(--color-text);
  color: var(--color-card);
  border-color: var(--color-text);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Modal System */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(17, 17, 17, 0.9);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  width: 100%;
  max-width: 1200px;
  height: 90vh;
  background-color: var(--color-background);
  border-radius: var(--border-radius-md);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.5rem;
  background-color: var(--color-card);
  color: var(--color-text);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: var(--text-sm);
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.modal-close:hover {
  background-color: var(--color-background);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.modal-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

#project-iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: relative;
  z-index: 5;
  background: var(--color-background);
}

@media (max-width: 768px) {
  .modal-overlay {
    padding: 0;
  }

  .modal-container {
    height: 100vh;
    border-radius: 0;
  }

  .modal-close {
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ─── Blog Listing ─── */
.blog-card {
  background: var(--color-card);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(17,17,17,0.05);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.07);
}

.blog-card-date {
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-card h3 {
  font-size: var(--text-md);
  line-height: 1.3;
  color: var(--color-text);
}

.blog-card p {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.65;
  flex: 1;
}

.blog-card-arrow {
  margin-top: 0.5rem;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-sm);
  font-weight: 600;
}

/* ─── Blog Post ─── */
.blog-post-header {
  padding-top: 160px;
  padding-bottom: 64px;
  background: var(--color-card);
  border-bottom: 1px solid rgba(17,17,17,0.05);
}

.blog-post-date {
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.blog-post-header h1 {
  max-width: 760px;
  margin-bottom: 1.25rem;
}

.blog-post-intro {
  font-size: var(--text-base) !important;
  color: var(--color-muted) !important;
  max-width: 640px;
  margin: 0 !important;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: 2.5rem;
  transition: color 0.3s ease;
}

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

.blog-post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}

.blog-post-body h2 {
  font-size: var(--text-lg);
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.blog-post-body p {
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.blog-post-body ul {
  list-style: none;
  margin: 0.5rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-post-body ul li {
  font-size: var(--text-sm);
  color: var(--color-text);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.blog-post-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.blog-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(17,17,17,0.08);
}

.blog-keyword-tag {
  font-size: var(--text-xs);
  background: rgba(229,57,53,0.08);
  color: var(--color-accent);
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-weight: 500;
}

.blog-post-body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.blog-post-body a:hover {
  color: #c62828;
}

.blog-post-body strong {
  font-weight: 600;
  color: var(--color-text);
}

.blog-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(17,17,17,0.08);
}

.blog-related h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.blog-related-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-related-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.blog-related-link:hover {
  color: #c62828;
  gap: 0.75rem;
}