/* findfamilyfun.ca — brand palette (see docs/brand-guide.html) */
:root {
  --midnight-navy: #0F254D;
  --royal-harbour: #1E4272;
  --vibrant-aqua: #70C6DC;
  --cool-slate: #7E8691;
  --winter-sky: #83B9D5;
  --glacier-mint: #8CDADB;
  --pale-ice: #D2EBF6;
  --snow-canvas: #F4F8FC;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--midnight-navy);
  background:
    radial-gradient(circle at 15% 10%, rgba(140, 218, 219, 0.35), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(131, 185, 213, 0.30), transparent 45%),
    var(--snow-canvas);
}

.site-header {
  display: flex;
  justify-content: center;
  padding: clamp(28px, 6vw, 56px) 20px 0;
}

.logo img {
  display: block;
  width: min(360px, 78vw);
  height: auto;
}

main {
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px) 16px;
  text-align: center;
}

h1 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 5.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 auto clamp(28px, 6vw, 48px);
  max-width: 18ch;
}

.tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 3vw, 28px);
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: clamp(16px, 4vw, 32px) clamp(8px, 2vw, 20px) clamp(18px, 4vw, 28px);
  border-radius: clamp(18px, 4vw, 28px);
  border: 3px solid transparent;
  background: #FFFFFF;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(15, 37, 77, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tile:hover,
.tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 37, 77, 0.14);
  border-color: var(--vibrant-aqua);
  outline: none;
}

.tile:active { transform: translateY(-1px); }

.tile__icon {
  display: grid;
  place-items: center;
  width: clamp(72px, 20vw, 140px);
  aspect-ratio: 1;
  border-radius: 50%;
  margin-bottom: clamp(10px, 2.5vw, 18px);
}

.tile__icon svg { width: 78%; height: auto; }

.tile--library .tile__icon { background: var(--pale-ice); }
.tile--events  .tile__icon { background: rgba(140, 218, 219, 0.45); }
.tile--skate   .tile__icon { background: rgba(131, 185, 213, 0.40); }

.tile__label {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(1.05rem, 3.6vw, 1.6rem);
}

.tile__hint {
  margin-top: 6px;
  font-size: clamp(0.72rem, 2.4vw, 0.95rem);
  color: var(--cool-slate);
  line-height: 1.35;
}

.site-footer {
  padding: 24px 16px 32px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--cool-slate);
}

.site-footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .tile { transition: none; }
  .tile:hover, .tile:focus-visible { transform: none; }
}
