/* Camp Grizz — small hand-written stylesheet, no framework, no build step. */
:root {
  /* Palette lifted from the badge logo (assets/camp-grizz-logo.svg) */
  --pine: #1f5f5c;        /* badge teal */
  --pine-deep: #174a48;   /* deep teal */
  --cream: #f2e8d5;       /* badge cream */
  --bark: #8a5a34;
  --amber: #e8a83a;       /* sun mustard */
  --ember: #d4622a;       /* burnt orange */
  --ink: #2b2621;
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  color: var(--cream);
  background:
    radial-gradient(ellipse at 50% 115%, rgba(212,98,42,.28), transparent 60%),
    linear-gradient(180deg, var(--pine) 0%, var(--pine-deep) 100%);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.logo {
  display: block;
  max-width: min(64vw, 300px);
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}
/* Hide the broken-image icon until logo.png exists. */
.logo:not([src]), .logo[src=""] { display: none; }

.wordmark {
  margin: 0 0 .5rem;
  font-size: clamp(2.25rem, 1.5rem + 4vw, 4rem);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.05;
  text-wrap: balance;
}

.tagline {
  margin: 0;
  font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem);
  color: var(--amber);
}

.note {
  margin: 2rem 0 0;
  color: rgba(242,232,213,.72);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
}

.note a { color: var(--amber); text-decoration: none; border-bottom: 1px solid currentColor; }
.note a:hover { color: var(--cream); }

.foot {
  padding: 1rem 1.25rem 1.5rem;
  text-align: center;
  font-size: .8rem;
  color: rgba(242,232,213,.5);
}

@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise .7s ease-out both; }
  .hero > :nth-child(2) { animation-delay: .1s; }
  .hero > :nth-child(3) { animation-delay: .2s; }
  .hero > :nth-child(4) { animation-delay: .3s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
