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

:root {
  --bg: #f2f5fb;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #4b5e79;
  --line: #d8e0ee;
  --accent: #0f5fd0;
}

body {
  min-height: 100vh;
  font-family: "Public Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, #dde8ff, transparent 40%),
    radial-gradient(circle at 85% 0%, #efe4ff, transparent 35%),
    linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
}

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

.topbar {
  width: calc(100% - 2rem);
  max-width: 1160px;
  margin: 1rem auto 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: rgb(255 255 255 / 84%);
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: "Sora", "Public Sans", sans-serif;
  font-weight: 700;
}

.back-link {
  border: 1px solid var(--line);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: #1a3455;
  font-weight: 600;
}

.page {
  width: calc(100% - 2rem);
  max-width: 1160px;
  margin: 1.2rem auto 2rem;
}

.hero {
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: 1.2rem;
  background: linear-gradient(145deg, rgb(255 255 255 / 92%), rgb(246 250 255 / 86%));
  box-shadow: 0 16px 34px rgb(16 34 56 / 10%);
}

.eyebrow {
  color: #32517a;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 0.4rem;
  font-family: "Sora", "Public Sans", sans-serif;
  font-size: 1.95rem;
  line-height: 1.1;
}

.hero p {
  margin-top: 0.8rem;
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.6;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 8px 18px rgb(16 34 56 / 9%);
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgb(16 34 56 / 16%);
}

.card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card .meta {
  padding: 0.7rem 0.8rem 0.8rem;
}

.card h2 {
  font-size: 1rem;
  line-height: 1.25;
  color: #162b44;
}

.card p {
  margin-top: 0.25rem;
  color: #5b6f8d;
  font-size: 0.88rem;
}

@media (min-width: 860px) {
  .hero {
    padding: 1.5rem;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .gallery {
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}