:root {
  --bg: #f3efe7;
  --bg-deep: #e4ddd0;
  --ink: #142332;
  --muted: #52606d;
  --accent: #0d6f66;
  --panel: rgba(255, 255, 255, 0.78);
  --line: rgba(20, 35, 50, 0.14);
  --shadow: 0 24px 50px rgba(20, 35, 50, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, #fff9ef 0%, transparent 35%),
    radial-gradient(circle at bottom right, #cfe3e0 0%, transparent 28%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-deep) 100%);
}

a {
  color: inherit;
}

.shell {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.hero {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(4rem, 14vh, 7rem) 0 2.5rem;
  animation: rise 420ms ease-out;
}

.hero h1,
.panel h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.hero-home {
  text-decoration: none;
}

.hero-connector {
  flex: 1 1 auto;
  min-width: 2rem;
}

.top-menu {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.top-menu a {
  text-decoration: none;
  color: var(--muted);
  transition: color 160ms ease;
}

.top-menu a:hover,
.top-menu a:focus-visible {
  color: var(--accent);
}

.top-menu-separator {
  color: var(--muted);
}

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

.panel {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  animation: rise 520ms ease-out;
}

.panel h2 {
  margin: 0 0 1rem;
  font-size: 1.7rem;
}

.stats {
  display: grid;
  gap: 0.9rem;
  margin: 0;
}

.stats div {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.stats div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stats dt {
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.stats dd {
  margin: 0;
  font-size: 1rem;
}

.links {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-left: 1.2rem;
}

.links li {
  line-height: 1.5;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 1rem, 1100px);
    padding-top: 1rem;
  }

  .hero {
    flex-wrap: wrap;
    gap: 0.9rem;
    padding-top: 2.5rem;
  }

  .hero h1 {
    width: 100%;
    white-space: normal;
  }

  .hero-connector {
    display: none;
  }

  .top-menu {
    font-size: 0.85rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
