@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --bg-top: #eaf2ff;
  --bg-bottom: #fff5e7;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --text-main: #13243a;
  --text-muted: #536175;
  --line: #d6e0ec;
  --accent: #0c7ddf;
  --accent-strong: #045ea9;
  --accent-soft: rgba(12, 125, 223, 0.14);
  --shadow-soft: 0 18px 46px rgba(12, 38, 71, 0.12);
  --radius-lg: 22px;
  --radius-md: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text-main);
  line-height: 1.65;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% -10%, rgba(99, 170, 255, 0.3), transparent 40%),
    radial-gradient(circle at 90% 0%, rgba(255, 184, 92, 0.27), transparent 45%),
    linear-gradient(165deg, var(--bg-top), var(--bg-bottom));
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(214, 224, 236, 0.9);
}

.nav-shell {
  width: min(1120px, 92%);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0d2238;
}

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

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  font-size: 0.95rem;
  color: #304258;
}

.nav-links a {
  padding: 0.2rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.page-shell {
  width: min(1120px, 92%);
  margin: 1.7rem auto 2.4rem;
  display: grid;
  gap: 1.15rem;
}

.project-hero {
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 3.5vw, 2.2rem);
  background:
    linear-gradient(130deg, rgba(7, 25, 46, 0.93), rgba(13, 64, 108, 0.87)),
    linear-gradient(160deg, #0e3b67, #0a192a);
  color: #f3f8ff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(197, 220, 247, 0.28);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(119, 190, 255, 0.16);
  border: 1px solid rgba(160, 211, 255, 0.42);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.project-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  line-height: 1.22;
  margin-bottom: 0.75rem;
}

.hero-summary {
  max-width: 75ch;
  font-size: 1.03rem;
  color: #d9e8fb;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 0.8rem;
}

.meta-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.95rem;
  box-shadow: 0 8px 24px rgba(11, 35, 61, 0.08);
}

.meta-item h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
  margin-bottom: 0.2rem;
}

.meta-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(1.15rem, 2.5vw, 1.75rem);
  box-shadow: 0 14px 34px rgba(11, 35, 61, 0.09);
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.2rem, 2.8vw, 1.5rem);
  margin-bottom: 0.75rem;
  color: #162e4a;
}

.text-block {
  font-size: 1.01rem;
  color: var(--text-muted);
}

.list-grid {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.list-grid li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--text-muted);
}

.list-grid li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.54rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.metric {
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  padding: 0.75rem 0.9rem;
}

.metric .value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--accent-strong);
  font-size: 1.1rem;
}

.metric .label {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.85rem;
}

.gallery figure {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(12, 38, 71, 0.09);
}

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

.gallery figcaption {
  font-size: 0.87rem;
  color: var(--text-muted);
  padding: 0.55rem 0.75rem 0.7rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #f5fbff;
  box-shadow: 0 12px 28px rgba(12, 125, 223, 0.32);
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-secondary {
  border-color: var(--line);
  color: #27425d;
  background: #ffffff;
}

.btn-secondary:hover {
  background: #f2f8ff;
}

.note {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.site-footer {
  width: min(1120px, 92%);
  margin: 0 auto 2.2rem;
  text-align: center;
  color: #536175;
  font-size: 0.88rem;
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .nav-shell {
    min-height: 60px;
    padding: 0.7rem 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-shell {
    margin-top: 1.1rem;
  }

  .hero-summary {
    font-size: 0.97rem;
  }
}
