/* ============================================================
   home.css  —  Mrs. Spuhler's classroom landing page
   Requires: main.css
   ============================================================ */

/* ── Layout ────────────────────────────────────────────────── */
body {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 10% 0%,   #c8e8f7 0%, transparent 50%),
    radial-gradient(ellipse at 90% 100%, #c2ead9 0%, transparent 50%),
    var(--color-bg);
}

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  background: var(--color-surface);
  border-bottom: 2px solid var(--color-border);
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand { display: flex; align-items: center; gap: 12px; }
.header-icon  { font-size: 1.8rem; line-height: 1; }

.header-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-primary);
  line-height: 1.1;
}

.header-grade {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  color: var(--color-muted);
  letter-spacing: .5px;
  text-transform: uppercase;
}

.header-year {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  color: var(--color-muted);
  background: var(--color-surface2);
  border: 1.5px solid var(--color-border);
  padding: 4px 12px;
  border-radius: 99px;
}

/* ── Main ──────────────────────────────────────────────────── */
.site-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  text-align: center;
  max-width: 560px;
  animation: fadeInUp .5s ease both;
}

.hero-emoji {
  font-size: 4rem;
  display: block;
  margin-bottom: 20px;
  animation: floatstar 5s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--color-ink);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--color-muted);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-btn {
  font-size: 1.15rem;
  padding: 16px 40px;
  border-radius: var(--radius-md);
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  text-align: center;
  padding: 20px;
  font-size: .82rem;
  color: var(--color-muted);
  font-weight: 600;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 520px) {
  .site-header { padding: 0 20px; }
  .header-year { display: none; }
  .hero-btn    { width: 100%; }
}
