﻿:root {
  --bg: #f4efe1;
  --bg-deep: #173b2b;
  --panel: rgba(255, 249, 235, 0.78);
  --panel-strong: rgba(255, 251, 242, 0.93);
  --text: #132118;
  --muted: #4f5e55;
  --line: rgba(19, 33, 24, 0.12);
  --accent: #17684d;
  --accent-strong: #0f513b;
  --gold: #b9852c;
  --shadow: 0 18px 60px rgba(18, 44, 33, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 214, 144, 0.45), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(76, 150, 110, 0.22), transparent 22%),
    linear-gradient(180deg, #f7f1e3 0%, #efe5cf 42%, #e6ddca 100%);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}

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

.page-shell {
  position: relative;
  overflow: hidden;
  padding: 48px 20px 80px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.55;
  pointer-events: none;
}

.orb-a {
  top: -40px;
  right: -40px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(24, 116, 84, 0.28), rgba(24, 116, 84, 0));
  animation: drift 12s ease-in-out infinite;
}

.orb-b {
  top: 440px;
  left: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(192, 143, 65, 0.22), rgba(192, 143, 65, 0));
  animation: drift 16s ease-in-out infinite reverse;
}

.hero,
.section,
.structure-panel {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.hero {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 251, 242, 0.88), rgba(249, 241, 224, 0.9)),
    linear-gradient(180deg, rgba(24, 104, 77, 0.04), rgba(24, 104, 77, 0));
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.04;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.6rem, 5vw, 5.3rem);
}

.hero-copy {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.94rem;
}

.button-primary {
  background: var(--accent);
  color: #fffaf0;
}

.button-ghost {
  border-color: rgba(23, 104, 77, 0.18);
  background: rgba(255, 255, 255, 0.52);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.stat-card,
.project-card,
.deployment-card,
.structure-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.stat-card {
  padding: 18px 18px 20px;
}

.stat-label {
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-value {
  margin-top: 10px;
  font-size: 1.9rem;
}

.section {
  margin-top: 28px;
}

.section-heading {
  margin-bottom: 18px;
}

.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.card-grid,
.deployment-grid {
  display: grid;
  gap: 18px;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.spotlight-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  transform: translateY(14px);
  opacity: 0;
  animation: rise-in 0.7s ease forwards;
}

.project-card.spotlight {
  background:
    linear-gradient(180deg, rgba(24, 104, 77, 0.08), rgba(255, 249, 235, 0.92)),
    var(--panel-strong);
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(23, 104, 77, 0.1);
  color: var(--accent-strong);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.78rem;
}

.pill.subtle {
  background: rgba(185, 133, 44, 0.12);
  color: #7b5620;
}

.project-card h3,
.deployment-card h3 {
  margin: 0;
  font-size: 1.42rem;
}

.project-summary,
.deployment-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.stack-list,
.link-row,
.highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-chip,
.mini-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(19, 33, 24, 0.08);
  background: rgba(255, 255, 255, 0.48);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.8rem;
}

.mini-link {
  color: var(--accent-strong);
}

.highlight-list {
  flex-direction: column;
  align-items: flex-start;
}

.highlight-item {
  padding-left: 18px;
  position: relative;
  color: var(--text);
  line-height: 1.6;
}

.highlight-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.deployment-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.deployment-card {
  padding: 20px;
}

.deployment-card code,
.structure-panel code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.86rem;
}

.structure-panel {
  padding: 24px;
}

.structure-panel pre {
  margin: 0;
  overflow-x: auto;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-16px, 18px, 0);
  }
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 18px 14px 48px;
  }

  .hero {
    padding: 28px 22px;
    border-radius: 26px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

.ownership-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.project-credit {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
