/* Lincoln Elementary Centennial — site styles */

:root {
  --navy: #03369E;
  --navy-dark: #022878;
  --gold: #FEC100;
  --gold-soft: #FFE9A8;
  --ink: #1A1A1A;
  --muted: #555;
  --bg: #FFFFFF;
  --bg-soft: #FAFAF7;
  --rule: #E5E5E0;
  --max: 1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--navy-dark); }

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--navy); line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1em; }

/* Header / Nav */
.site-header {
  background: var(--navy);
  color: #fff;
  padding: 1rem 1.5rem;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.header-brand {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.header-brand span {
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--gold); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}
.hero-sub {
  padding: 2.5rem 1.5rem 2rem;
}
.hero-inner {
  max-width: 780px;
  margin: 0 auto;
}
.hero img.centennial-mark {
  max-width: 340px;
  margin: 0 auto 1.5rem;
}
.hero h1 {
  margin-bottom: 0.25em;
}
.hero .hero-date {
  font-family: Georgia, serif;
  font-size: 1.15rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.hero-sub .hero-date { margin-bottom: 0; }
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.05s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover { background: #ffd452; color: var(--navy); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: #fff; }

/* Content sections */
section.band {
  padding: 4rem 1.5rem;
}
section.band-alt {
  background: var(--bg-soft);
}
.band-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

/* Event card */
.event-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 6px solid var(--gold);
  padding: 1.75rem 2rem;
  border-radius: 4px;
}
.event-card dl { margin: 0; }
.event-card dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 0.75rem;
}
.event-card dt:first-of-type { margin-top: 0; }
.event-card dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.05rem;
}

/* Share memory tiles */
.share-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.tile {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.tile h3 { margin-bottom: 0.5rem; }
.tile p { color: var(--muted); flex-grow: 1; }
.tile .btn { align-self: flex-start; margin-top: 0.5rem; }

/* Utilities */
.text-center { text-align: center; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.note { color: var(--muted); font-size: 0.95rem; }

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.feature-list li {
  padding: 0.75rem 0 0.75rem 2rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--gold);
  border-radius: 50%;
}

/* Memory form */
.memory-form {
  max-width: 640px;
  margin-top: 2rem;
}
.memory-form .field { margin-bottom: 1.25rem; }
.memory-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.memory-form .optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.9rem;
}
.memory-form input[type="text"],
.memory-form input[type="email"],
.memory-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.memory-form input:focus,
.memory-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--navy);
}
.memory-form textarea { resize: vertical; min-height: 8rem; }
.memory-form .checkbox label {
  font-weight: 400;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  cursor: pointer;
}
.memory-form .checkbox input { margin-top: 0.3rem; }
.memory-form button { margin-top: 0.5rem; cursor: pointer; }
.memory-form .hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 2rem 1.5rem;
  margin-top: 2rem;
  text-align: center;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.footer-mark {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.footer-meta {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.site-footer a { color: var(--gold); }
