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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: #e8e4da;
  color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, #f2efe7, #e8e4da);
}
/* ── Header ── */
.header {
  background: #0f2540;
  border-bottom: 4px solid #c8a84b;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 40px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #ffffff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-family: 'Georgia', serif;
}

.logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.contact-btn {
  background: #c8a84b;
  color: #1a1a1a;
  padding: 9px 24px;
  text-decoration: none;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'Arial', sans-serif;
  transition: background 0.2s;
  white-space: nowrap;
}

.contact-btn:hover {
  background: #b8943b;
}

/* ── Hero ── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 40px 20px;
  text-align: center;
}

.hero-text {
  margin-bottom: 20px;
  border-bottom: 2px solid #c8a84b;
  padding-bottom: 14px;
  width: 100%;
}

.hero-text h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #0f2540;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.hero-sub {
  font-size: 13px;
  font-weight: 700;
  color: #7a5c1e;
  font-family: 'Arial', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Cards Grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1400px;
}

.project-card {
  background: #ffffff;
  border: 1px solid #e0d8c8;
  border-top: 4px solid #0f2540;
  padding: 26px 20px 20px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: all 0.25s ease;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border-radius: 8px;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(15, 37, 64, 0.2);
  border-top-color: #c8a84b;
}

.project-card.grayed {
  opacity: 0.4;
  pointer-events: none;
}

.project-card.placeholder {
  border: 1px dashed #c0b89a;
  border-top: 4px solid #c0b89a;
  background: rgba(255,255,255,0.3);
  box-shadow: none;
}

.card-icon {
  font-size: 36px;
  text-align: center;
}

.card-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.card-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  background: #0f2540;
  padding: 3px 10px;
  border-radius: 0;
  width: fit-content;
  align-self: center;
  font-family: 'Arial', sans-serif;
}

.project-card h2 {
  font-size: 16px;
  font-weight: 700;
  color: #0f2540;
  text-align: center;
  padding-bottom: 10px;
  width: 100%;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #e8e0cc;
  margin-top: auto;
  width: 100%;
}

.card-status {
  font-size: 11px;
  font-weight: 700;
  font-family: 'Arial', sans-serif;
  letter-spacing: 0.06em;
  color: #999;
  text-transform: uppercase;
}

.card-status.active {
  color: #1a6e2e;
}

.card-cta {
  font-size: 10px;
  font-weight: 700;
  color: #0f2540;
  font-family: 'Arial', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  border-bottom: 1px solid #0f2540;
  padding-bottom: 1px;
}

.project-card:hover .card-cta {
  color: #c8a84b;
  border-bottom-color: #c8a84b;
}

/* ── Footer ── */
.footer {
  text-align: center;
  padding: 16px;
  background: #0f2540;
  font-size: 12px;
  color: #a5b6c8;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-text h1 { white-space: normal; }
}

@media (max-width: 600px) {
  .logo span { display: none; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .header { padding: 0 16px; }
  .hero { padding: 20px 16px; }
}

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

  .hero {
    padding: 20px 16px;
  }

  .logo span {
    display: none;
  }

  .contact-btn {
    padding: 6px 14px;
    font-size: 11px;
  }
}