:root {
  --bg: #07111f;
  --bg-2: #0b1728;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-border: rgba(255, 255, 255, 0.08);

  --card: #ffffff;
  --card-border: rgba(226, 232, 240, 0.9);

  --text: #0f172a;
  --text-soft: #475569;
  --text-on-dark: #f8fafc;
  --text-muted-dark: rgba(226, 232, 240, 0.74);

  --brand: #0d2f5b;
  --brand-2: #123f79;
  --gold: #c8a96b;

  --live-bg: #ecfdf3;
  --live-text: #067647;

  --draft-bg: #fff7e8;
  --draft-text: #b54708;

  --archive-bg: #f2f4f7;
  --archive-text: #475467;

  --shadow-soft: 0 12px 32px rgba(2, 8, 20, 0.08);
  --shadow-lg: 0 20px 48px rgba(2, 8, 20, 0.18);

  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1240px;
  --header-h: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(200, 169, 107, 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at top right,
      rgba(18, 63, 121, 0.2),
      transparent 26%
    ),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.is-hidden {
  display: none !important;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 120px;
  width: auto;
  object-fit: cover;
}

.hero-section {
  padding: 40px 0 24px;
}

.hero-panel {
  padding: 40px;
  border-radius: 32px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02)
    ),
    linear-gradient(180deg, rgba(18, 63, 121, 0.16), rgba(7, 17, 31, 0.1));
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow-lg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(200, 169, 107, 0.14);
  color: #f3d7a4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  margin: 18px 0 12px;
  color: var(--text-on-dark);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero-desc {
  max-width: 860px;
  margin: 0;
  color: var(--text-muted-dark);
  font-size: 16px;
  line-height: 1.8;
}

.stats-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted-dark);
  font-size: 13px;
  font-weight: 600;
}

.stat-value {
  color: var(--text-on-dark);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.projects-section {
  padding: 20px 0 64px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-title {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
}

.section-desc {
  margin: 0;
  color: var(--text-muted-dark);
  font-size: 14px;
}

.section-count {
  color: #dbe4f0;
  font-size: 14px;
  font-weight: 700;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(2, 8, 20, 0.14);
}

.project-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dfe7f2;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-overlay {
  position: absolute;
  inset: auto 16px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-type,
.project-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.project-type {
  background: rgba(7, 17, 31, 0.72);
  color: #ffffff;
}

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

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

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

.project-body {
  padding: 20px;
}

.project-name {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--brand);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f7f9fc;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
}

.project-desc {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
  min-height: 72px;
}

.project-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}

.project-action:hover {
  filter: brightness(1.08);
}

.empty-state {
  margin-top: 24px;
  padding: 56px 24px;
  text-align: center;
  border-radius: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.empty-state__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(200, 169, 107, 0.12);
  color: #f5d8a3;
  font-size: 22px;
  font-weight: 800;
}

.empty-state h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 20px;
}

.empty-state p {
  margin: 0;
  color: var(--text-muted-dark);
  line-height: 1.7;
}

.site-footer {
  padding: 22px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-left strong {
  color: #ffffff;
}

.footer-left p,
.footer-right {
  margin: 6px 0 0;
  color: var(--text-muted-dark);
  font-size: 13px;
}

@media (max-width: 1100px) {
  .stats-grid,
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 72px;
  }

  .container {
    width: min(100% - 20px, var(--container));
  }

  .hero-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .section-head,
  .footer-inner,
  .stats-grid,
  .projects-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .project-desc {
    min-height: auto;
  }

    .brand-logo {
        height: 80px;
    }
}
