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

:root {
  --bg: #0b0b0b;
  --card: #151515;
  --border: #2a2a2a;
  --text: #f4f4f4;
  --muted: #b9b9b9;
  --serif-display: "Cormorant Garamond", Georgia, serif;
  --serif-body: "Lora", Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== Main banner ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 8rem;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.7)),
    url("images/thomas.jpg") center 30% / cover no-repeat;
}

.hero-content { max-width: 60rem; }

.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--serif-display);
  font-size: clamp(0.95rem, 2vw, 1.4rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  line-height: 1;
}

.dates {
  margin: 1.5rem 0 3rem;
  font-family: var(--serif-display);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  letter-spacing: 0.08em;
  color: #e0e0e0;
}

.tagline {
  margin: 0;
  font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.75rem);
  color: #e6e6e6;
}

/* Fade the banner text up from below once the photo and fonts have loaded.
   The "js" and "loaded" classes are added by the small script in index.html. */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.js .eyebrow,
.js .hero h1,
.js .dates,
.js .tagline {
  opacity: 0;
}

.loaded .eyebrow,
.loaded .hero h1,
.loaded .dates,
.loaded .tagline {
  animation: fadeUp 1.4s ease-out forwards;
}

.loaded .eyebrow  { animation-delay: 0.2s; }
.loaded .hero h1  { animation-delay: 0.6s; }
.loaded .dates    { animation-delay: 1.0s; }
.loaded .tagline  { animation-delay: 1.8s; }

/* Skip the animation for people who have reduced motion turned on */
@media (prefers-reduced-motion: reduce) {
  .js .eyebrow, .js .hero h1, .js .dates, .js .tagline {
    opacity: 1;
    animation: none;
  }
}

/* ===== Donate / Shop banners ===== */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 78rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 3.5rem 2.5rem;
  color: var(--muted);
  font-size: 1.15rem;
  transition: border-color 0.3s ease;
}

.card:hover { border-color: rgba(255, 255, 255, 0.7); }

.card h2 {
  margin: 0 0 1.5rem;
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--text);
}

.card p { margin: 0 0 1rem; }

.lead { font-size: 1.2rem; }

.caps {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card ul {
  margin: 0.5rem 0 1.5rem;
  padding-left: 1.25rem;
  text-align: left;
}

.card li { margin-bottom: 0.5rem; }

.motto {
  margin: 1rem 0 0 !important;
  font-family: var(--serif-display);
  font-size: 2.2rem;
  letter-spacing: 0.15em;
  color: var(--text);
}

.motto-sub { font-style: italic; margin-bottom: 2rem !important; }

.lltb-logo {
  display: block;
  width: 121px;
  max-width: 38.5%;
  height: auto;
  margin: 1.25rem auto 0.75rem;
}

.button {
  margin-top: auto;
  display: inline-block;
  padding: 0.85rem 2.75rem;
  border: 1px solid var(--text);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--serif-display);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--text);
  color: var(--bg);
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 1rem 1rem 3rem;
  color: var(--muted);
}

footer h2 {
  margin: 0 0 0.75rem;
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 2rem;
  color: var(--text);
}

.contact { margin: 0 0 2.5rem; font-size: 1.15rem; }

.contact a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.contact a:hover { border-bottom-color: var(--text); }

.copyright { margin: 0; color: #6f6f6f; font-size: 0.9rem; }

/* ===== Phones: stack the banners ===== */
@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; padding: 3rem 1.25rem; }
  .card { padding: 2.5rem 1.5rem; }
  .hero { background-position: center 25%; }
}
