:root {
  --bg: #f6f2ea;
  --surface: #fffaf3;
  --ink: #1f1f1f;
  --muted: #6d6a66;
  --brand: #0f766e;
  --brand-2: #d97706;
  --line: #e6ddd1;
  --shadow: 0 14px 36px rgba(17, 24, 39, 0.12);
}

html,
body {
  background:
    radial-gradient(circle at 15% 15%, rgba(15, 118, 110, 0.06), transparent 42%),
    radial-gradient(circle at 85% 25%, rgba(217, 119, 6, 0.08), transparent 32%),
    var(--bg);
  color: var(--ink);
}

.navbar-custom {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
}

.home-section {
  position: relative;
  overflow: hidden;
}

.home-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 18, 26, 0.78), rgba(6, 18, 26, 0.38));
}

.home-section .titan-caption {
  position: relative;
  z-index: 2;
}

.titan-title-size-4 {
  letter-spacing: 0.03em;
  text-transform: none;
  animation: hero-rise 0.9s ease-out both;
}

.module {
  position: relative;
}

.module-title {
  text-transform: none;
  letter-spacing: 0.02em;
}

.module-subtitle {
  color: var(--muted);
}

.work-item,
.alt-features-item,
.work-details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.work-item:hover,
.alt-features-item:hover,
.work-details:hover {
  transform: translateY(-4px);
  border-color: #d6c6ae;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.work-image img {
  border-radius: 12px 12px 0 0;
}

.filter > li > a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  margin: 6px 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.filter > li > a.current,
.filter > li > a:hover {
  background: linear-gradient(120deg, var(--brand), #155e75);
  border-color: transparent;
  color: #fff;
}

.btn.btn-d,
.btn.btn-round.btn-d {
  background: linear-gradient(120deg, var(--brand), #155e75);
  border: 0;
  color: #fff;
}

.btn.btn-d:hover,
.btn.btn-round.btn-d:hover {
  opacity: 0.93;
}

.alt-features-icon {
  color: var(--brand);
}

.count-item .count-icon {
  color: var(--brand-2);
}

.module-small.bg-dark,
.footer.bg-dark {
  background: #151413;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .home-section .titan-caption {
    padding: 0 18px;
  }

  .filter > li > a {
    margin: 4px;
    padding: 8px 12px;
    font-size: 12px;
  }
}
