/* ============================================
   The Eisenhowler — Site Styles
   Palette matched to the 2026 Eisenhowler logo:
   red frame, black panther, gray accents, white ground
   ============================================ */

:root {
  --red: #d21f2b;        /* logo frame red */
  --red-dark: #9a151d;
  --black: #231f20;      /* panther charcoal-black */
  --black-2: #121011;
  --gray: #8b8485;       /* panther outline gray */
  --gray-light: #cdc9c8;
  --paper: #f7f5f3;      /* soft white background */
  --paper-dark: #e7e3e1;
  --ink: #2b2b2b;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

h1, h2, h3, .display {
  font-family: 'Lilita One', 'Arial Black', sans-serif;
  font-weight: 400;
  line-height: 1.15;
}

img { max-width: 100%; }

/* ---------- Stripe accents (logo red on white) ---------- */
.stripes {
  height: 14px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0 40px,
    var(--white) 40px 80px
  );
}

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
  border-bottom: 4px solid var(--red);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: .6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--white);
}

.brand .tent { font-size: 1.9rem; }

.brand .logo-sm {
  height: 46px;
  width: 46px;
  border-radius: 8px;
  display: block;
}

.hero-logo {
  width: min(240px, 55vw);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,.45);
  margin-bottom: 1.4rem;
}

.brand .name {
  font-family: 'Lilita One', sans-serif;
  font-size: 1.45rem;
  letter-spacing: .5px;
}

.brand .name span { color: var(--red); }

nav.site-nav {
  display: flex;
  gap: .25rem;
  flex-wrap: wrap;
}

nav.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: .45rem .85rem;
  border-radius: 999px;
  transition: background .15s, color .15s;
  font-size: .95rem;
}

nav.site-nav a:hover { background: rgba(255,255,255,.14); }

nav.site-nav a.active {
  background: var(--white);
  color: var(--black);
}

nav.site-nav a.cta {
  background: var(--red);
  color: var(--white);
}

nav.site-nav a.cta:hover { background: var(--red-dark); }

nav.site-nav a.cta.active { background: var(--white); color: var(--red); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255,255,255,.09), transparent 60%),
    var(--black);
  color: var(--white);
  text-align: center;
  padding: 4.5rem 1.25rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero .bunting {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 0;
  pointer-events: none;
}

.hero .flag {
  width: 34px; height: 26px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.hero .flag:nth-child(4n+1) { background: var(--red); }
.hero .flag:nth-child(4n+2) { background: var(--white); }
.hero .flag:nth-child(4n+3) { background: var(--gray); }
.hero .flag:nth-child(4n+4) { background: var(--red-dark); }

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  color: var(--white);
  text-shadow: 3px 3px 0 var(--red);
  margin-bottom: .5rem;
}

.hero .tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  max-width: 640px;
  margin: 0 auto 1rem;
  color: var(--gray-light);
}

.hero .datebox {
  display: inline-block;
  background: var(--red);
  padding: 1.1rem 2.8rem;
  border-radius: 24px;
  font-family: 'Lilita One', sans-serif;
  font-size: clamp(2.1rem, 6.5vw, 3.6rem);
  letter-spacing: 1px;
  margin-bottom: .6rem;
  box-shadow: 0 7px 0 var(--red-dark);
  transform: rotate(-1.5deg);
  text-shadow: 2px 2px 0 var(--red-dark);
  line-height: 1.2;
}

.hero .date-note {
  color: var(--gray-light);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 1.6rem;
}

/* Site-wide date banner (interior pages) */
.datebar {
  background: var(--red);
  color: var(--white);
  text-align: center;
  font-family: 'Lilita One', sans-serif;
  font-size: 1.05rem;
  letter-spacing: .5px;
  padding: .5rem 1rem;
}

.btn-row { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-family: 'Lilita One', sans-serif;
  font-size: 1.05rem;
  letter-spacing: .5px;
  padding: .8rem 1.7rem;
  border-radius: 999px;
  transition: transform .12s, box-shadow .12s;
}

.btn:hover { transform: translateY(-2px); }

/* "gold" class kept for markup compatibility — now the white/primary button */
.btn-gold {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 4px 0 var(--gray);
}

.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 0 var(--red-dark);
}

.btn-outline {
  border: 3px solid var(--white);
  color: var(--white);
  box-shadow: none;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 2.75rem 1.25rem 3rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  text-shadow: 2px 2px 0 var(--red);
}

.page-hero p {
  max-width: 620px;
  margin: .6rem auto 0;
  color: var(--gray-light);
}

/* ---------- Layout ---------- */
main { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.25rem 3.5rem; }

section + section { margin-top: 3rem; }

h2.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--black);
  text-align: center;
  margin-bottom: 1.6rem;
}

h2.section-title::after {
  content: "";
  display: block;
  width: 90px; height: 6px;
  margin: .55rem auto 0;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--red) 0 15px, var(--black) 15px 30px);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 3px 12px rgba(35,31,32,.10);
  border-top: 6px solid var(--red);
}

.card:nth-child(2n) { border-top-color: var(--gray); }
.card:nth-child(3n) { border-top-color: var(--black); }

.card .emoji { font-size: 2.1rem; display: block; margin-bottom: .5rem; }

.card h3 { color: var(--black); font-size: 1.2rem; margin-bottom: .4rem; }

.card p { font-size: .97rem; }

.card a { color: var(--red); font-weight: 800; }

/* ---------- Callout band ---------- */
.band {
  background: var(--red);
  color: var(--white);
  border-radius: 20px;
  padding: 2.2rem 1.75rem;
  text-align: center;
  box-shadow: 0 6px 0 var(--red-dark);
}

.band h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: .5rem; }

.band p { max-width: 640px; margin: 0 auto 1.2rem; }

.band .btn-gold { box-shadow: 0 4px 0 var(--red-dark); }

.band.band-navy { background: var(--black); box-shadow: 0 6px 0 var(--black-2); }

.band.band-navy .btn-gold { box-shadow: 0 4px 0 var(--gray); }

/* ---------- Info tables / lists ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(35,31,32,.10);
}

.info-table th, .info-table td {
  padding: .85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--paper-dark);
}

.info-table th {
  background: var(--black);
  color: var(--white);
  font-family: 'Lilita One', sans-serif;
  font-weight: 400;
  letter-spacing: .5px;
  border-bottom: 3px solid var(--red);
}

.info-table tr:last-child td { border-bottom: none; }

.table-wrap { overflow-x: auto; }

/* ---------- FAQ ---------- */
details.faq {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: .8rem;
  box-shadow: 0 2px 8px rgba(35,31,32,.08);
  overflow: hidden;
}

details.faq summary {
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 800;
  color: var(--black);
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
}

details.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Lilita One', sans-serif;
  font-size: 1.3rem;
  color: var(--red);
}

details.faq[open] summary::after { content: "–"; }

details.faq .answer { padding: 0 1.2rem 1.1rem; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.team-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.35rem 1.5rem;
  text-align: left;
  box-shadow: 0 2px 8px rgba(35,31,32,.07);
  border-left: 4px solid var(--red);
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: .25rem;
}

.team-card h3 {
  color: var(--black);
  font-size: 1.12rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  line-height: 1.35;
}

.team-card .role {
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}

/* ---------- Photo carousel ---------- */
.carousel {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(35,31,32,.18);
}

.car-track {
  display: flex;
  transition: transform .45s ease;
}

.car-slide {
  min-width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  background: var(--black);
  overflow: hidden;
}

/* blurred copy of the photo fills the frame behind portrait shots */
.car-slide img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.car-slide::before {
  content: "";
  position: absolute;
  inset: -20px;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(.55);
}

.car-slide.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: radial-gradient(ellipse at 50% 120%, rgba(210,31,43,.25), transparent 60%), var(--black);
  color: var(--gray-light);
}

.car-slide.placeholder .cam { font-size: 3rem; }

.car-slide .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(18,16,17,.85));
  color: var(--white);
  font-weight: 700;
  padding: 1.6rem 1.2rem .8rem;
  font-size: .95rem;
}

.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: 'Lilita One', sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.car-btn:hover { background: var(--red-dark); }
.car-btn.prev { left: .8rem; }
.car-btn.next { right: .8rem; }

.car-counter {
  position: absolute;
  bottom: .7rem;
  right: .9rem;
  z-index: 2;
  background: rgba(18,16,17,.7);
  color: var(--white);
  font-weight: 800;
  font-size: .8rem;
  padding: .2rem .65rem;
  border-radius: 999px;
}

.car-btn { z-index: 2; }

/* ---------- Sponsors ---------- */
.tier-label {
  text-align: center;
  font-family: 'Lilita One', sans-serif;
  font-size: 1.05rem;
  letter-spacing: .15em;
  color: var(--gray);
  margin: 1.6rem 0 .8rem;
}

.sponsor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.sponsor-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.1rem 1.6rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(35,31,32,.08);
  min-width: 180px;
  font-weight: 800;
  color: var(--black);
}

.sponsor-card a { color: var(--black); text-decoration: none; }
.sponsor-card a:hover { color: var(--red); }

.sponsor-card.platinum {
  border-top: 5px solid var(--red);
  min-width: 240px;
  padding: 1.5rem 2rem;
  font-size: 1.15rem;
}

.sponsor-card.gold { border-top: 5px solid var(--gray); }

.sponsor-card img { max-height: 70px; width: auto; margin-bottom: .5rem; }

.sponsor-note {
  text-align: center;
  max-width: 620px;
  margin: 1.4rem auto 0;
  color: var(--ink);
}

/* ---------- Placeholder highlight ---------- */
.todo {
  background: #fff3cd;
  border: 2px dashed #d9a521;
  border-radius: 8px;
  padding: .1rem .45rem;
  font-weight: 700;
  color: #7a5c00;
}

/* ---------- Raffle basket themes table ---------- */
.info-table tr.grade-row th {
  background: var(--black);
  color: var(--white);
  text-align: center;
  font-size: 1.02rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.info-table td.theme { font-weight: 700; color: var(--red-dark); }

/* ---------- Donor wall ---------- */
.donor-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.donor-logo-card {
  background: var(--white);
  border-radius: 12px;
  border-top: 4px solid var(--red);
  box-shadow: 0 3px 10px rgba(0,0,0,.08);
  padding: 1rem .8rem .9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  text-align: center;
}

.donor-logo-card:nth-child(2n) { border-top-color: var(--gray); }
.donor-logo-card:nth-child(3n) { border-top-color: var(--black); }

.donor-logo-card img {
  height: 62px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.donor-logo-card .dname {
  font-weight: 800;
  font-size: .84rem;
  line-height: 1.25;
  color: var(--black);
}

.donor-logo-card.noimg { min-height: 118px; }
.donor-logo-card.noimg .dname { font-size: 1.05rem; }

/* ---------- Donation form ---------- */
.form-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 14px;
  border-top: 5px solid var(--red);
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  padding: 1.6rem 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.2rem;
}

.form-grid .full { grid-column: 1 / -1; }

.form-grid label {
  display: block;
  font-weight: 800;
  font-size: .92rem;
  color: var(--black);
  margin-bottom: .3rem;
}

.form-grid label .opt { font-weight: 400; color: #777; font-size: .85rem; }

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  font: inherit;
  padding: .6rem .7rem;
  border: 2px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form-grid textarea { resize: vertical; min-height: 100px; }

.form-actions { text-align: center; margin-top: 1.3rem; }

.form-note {
  text-align: center;
  font-size: .88rem;
  color: #666;
  margin-top: .8rem;
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--black-2);
  color: var(--gray-light);
  text-align: center;
  padding: 2.2rem 1.25rem;
  margin-top: 2rem;
  border-top: 4px solid var(--red);
}

footer.site-footer .foot-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

footer.site-footer a { color: var(--white); text-decoration: none; font-weight: 700; }

footer.site-footer a:hover { text-decoration: underline; color: var(--red); }

footer.site-footer .fine { font-size: .85rem; opacity: .8; }

@media (max-width: 640px) {
  .nav-inner { justify-content: center; }
  nav.site-nav { justify-content: center; }
}

/* ---------- Color Your Panther callout ---------- */
.color-callout {
  background: var(--white);
  border: 4px dashed var(--red);
  border-radius: 20px;
  padding: 2.2rem 1.75rem;
  text-align: center;
  box-shadow: 0 6px 0 var(--paper-dark);
}
.color-callout .emoji-big { font-size: 3rem; display: block; margin-bottom: .35rem; }
.color-callout h2 {
  font-family: 'Lilita One', cursive;
  color: var(--red);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 .6rem;
}
.color-callout p { max-width: 640px; margin: 0 auto .9rem; }
.color-callout .due-chip {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-weight: 800;
  padding: .45rem 1.1rem;
  border-radius: 999px;
  font-size: .95rem;
}
