/* ============================================================
   Class of 1976 Richland Reunion — Shared Stylesheet
   Used by: index.html, alumni_info.html, sponsor_page.html
   ============================================================ */

/* --- Reset & base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --nv:   #0a1f44;
  --nv2:  #14326b;
  --rd:   #C0392B;
  --tl:   #1D9E75;
  --tll:  #E1F5EE;
  --tld:  #085041;
  --cream: #f8f5ef;
  --aged:  #c8bfa8;
  --amber: #BA7517;
  --amber-light: #FAEEDA;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --bg:        #ffffff;
  --bg2:       #f5f5f5;
  --bg3:       #efefef;
  --border:    rgba(0,0,0,0.12);
  --border2:   rgba(0,0,0,0.22);
  --text:      #111111;
  --text2:     #555555;
  --text3:     #888888;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:    #1a1a1a;
    --bg2:   #242424;
    --bg3:   #2e2e2e;
    --border:  rgba(255,255,255,0.10);
    --border2: rgba(255,255,255,0.20);
    --text:  #f0f0f0;
    --text2: #aaaaaa;
    --text3: #666666;
    --cream: #2a2520;
    --aged:  #4a4035;
  }
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: var(--tl); text-decoration: none; }
a:hover { text-decoration: underline; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
}

/* --- Page layout ------------------------------------------ */
.page-wrap { max-width: 860px; margin: 0 auto; padding: 0 1.25rem 3rem; }

/* --- Navigation ------------------------------------------- */
.site-nav {
  background: var(--nv);
  padding: 0 1.25rem;
}
.site-nav__inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.site-nav__brand {
  font-size: 13px;
  font-weight: 500;
  color: #9FE1CB;
  letter-spacing: 0.06em;
  padding: 14px 0;
  margin-right: auto;
  white-space: nowrap;
}
.site-nav__links {
  display: flex;
  list-style: none;
  gap: 0;
}
.site-nav__links a {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #B5D4F4;
  padding: 14px 16px;
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s;
}
.site-nav__links a:hover,
.site-nav__links a.active {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  text-decoration: none;
}

/* --- Hero band -------------------------------------------- */
.hero-band {
  background: var(--nv);
  text-align: center;
  padding: 2.5rem 1.5rem 0;
}
.hero-band--with-image {
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-band__img {
  width: 100%;
  object-fit: cover;
  max-height: 340px;
}
.hero-band__overlay {
  background: rgba(10,31,68,0.72);
  padding: 2rem 1.5rem 0;
  text-align: center;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #9FE1CB;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 0.35rem;
}
.hero-title {
  font-size: 38px;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 0.25rem;
  letter-spacing: -0.01em;
}
.hero-tagline {
  font-size: 14px;
  color: #85B7EB;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin: 0 0 0.6rem;
}
.hero-sub {
  font-size: 13px;
  color: #B5D4F4;
  margin: 0 0 1.5rem;
  line-height: 1.65;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Wave animation --------------------------------------- */
.wave-stage {
  background: var(--nv);
  height: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  padding-bottom: 4px;
  overflow: hidden;
}
.wave-stage span {
  width: 7px;
  border-radius: 4px 4px 0 0;
  background: var(--tl);
  display: inline-block;
  animation: wave 1.4s ease-in-out infinite;
}
@keyframes wave {
  0%, 100% { height: 5px; opacity: 0.25; }
  50%       { height: 30px; opacity: 1; }
}

/* --- Section dividers ------------------------------------- */
.era-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1.5rem 0 1.25rem;
}
.era-divider::before, .era-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border2);
}
.era-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 4px 14px;
  border-radius: 20px;
}
.era-label--vintage {
  background: var(--cream);
  color: var(--nv);
  border: 1.5px solid var(--aged);
}
.era-label--new {
  background: var(--nv);
  color: #9FE1CB;
}

/* --- Cards & banners -------------------------------------- */
.card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin: 0 0 1rem;
}
.card--navy {
  background: var(--nv);
  border-color: transparent;
}
.card--teal {
  background: var(--tll);
  border: 1.5px solid var(--tl);
}
.card--amber {
  background: var(--amber-light);
  border: 0.5px solid var(--amber);
}
.card--surface {
  background: var(--bg2);
  border: 0.5px solid var(--border);
}

.card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 0.45rem;
  flex-wrap: wrap;
}
.card__icon { font-size: 20px; flex-shrink: 0; }
.card__title { font-size: 13px; font-weight: 500; margin: 0; }
.card__body  { font-size: 12px; line-height: 1.6; margin: 0; }

.card--navy .card__icon  { color: #9FE1CB; }
.card--navy .card__title { color: #E6F1FB; }
.card--navy .card__body  { color: #B5D4F4; }
.card--teal .card__icon  { color: var(--tld); }
.card--teal .card__title { color: var(--tld); }
.card--teal .card__body  { color: var(--tld); }

/* --- Badges ----------------------------------------------- */
.badge {
  font-size: 9px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
  display: inline-block;
}
.badge--navy   { background: var(--nv);  color: #B5D4F4; }
.badge--teal   { background: var(--tl);  color: #E1F5EE; }
.badge--red    { background: var(--rd);  color: #fff; }
.badge--amber  { background: var(--amber); color: #fff; }
.badge--vintage{ background: var(--cream); color: var(--nv); border: 1px solid var(--aged); }

/* --- Stats row -------------------------------------------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0.6rem 0 0;
}
.stat {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0.5rem;
  text-align: center;
  border: 0.5px solid #9FE1CB;
}
.stat__n { font-size: 17px; font-weight: 500; color: var(--tld); margin: 0; }
.stat__l { font-size: 9px;  color: var(--tld); margin: 0; line-height: 1.3; }

/* --- Community strip -------------------------------------- */
.cs-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg2);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.75rem;
  margin: 0 0 0.85rem;
  flex-wrap: wrap;
}
.cs-item { display: flex; align-items: center; gap: 4px; font-size: 10px; color: var(--text2); }
.cs-item i { font-size: 13px; color: var(--rd); }
.cs-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--aged); flex-shrink: 0; }

/* --- Pull quote ------------------------------------------- */
.pull-quote {
  border-left: 3px solid var(--rd);
  padding: 0.6rem 0.75rem;
  margin: 0 0 1rem;
  background: var(--bg2);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.pull-quote p    { font-size: 11px; color: var(--text2); margin: 0 0 3px; line-height: 1.5; font-style: italic; }
.pull-quote span { font-size: 10px; color: var(--rd); font-weight: 500; }

/* --- Perks grid ------------------------------------------- */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0 0 1.25rem;
}
.perk { background: var(--bg2); border-radius: var(--radius-md); padding: 0.7rem 0.8rem; }
.perk i      { font-size: 16px; color: var(--rd); margin-bottom: 4px; display: block; }
.perk__title { font-size: 11px; font-weight: 500; color: var(--nv); margin: 0 0 2px; }
.perk__desc  { font-size: 10px; color: var(--text2); margin: 0; line-height: 1.4; }

/* --- Progress bar ----------------------------------------- */
.prog-row { display: flex; align-items: center; gap: 8px; margin: 0 0 0.75rem; }
.prog-row span { font-size: 10px; color: var(--text2); white-space: nowrap; }
.prog-track {
  flex: 1;
  height: 5px;
  background: var(--bg2);
  border-radius: 3px;
  overflow: hidden;
  border: 0.5px solid var(--border);
}
.prog-fill { height: 100%; border-radius: 3px; width: 0%; transition: width 1s ease; }

/* --- Section header row ----------------------------------- */
.sh { display: flex; align-items: center; gap: 8px; margin: 0 0 0.4rem; }
.sh__line { flex: 1; height: 0.5px; background: var(--border); }
.sh__count { font-size: 10px; color: var(--text3); white-space: nowrap; }

/* --- Sponsor card grids ----------------------------------- */
.anchor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 0 0 1.5rem;
}
.biz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
  margin: 0 0 1.5rem;
}
.sp-card {
  background: var(--bg);
  border: 0.5px dashed var(--border2);
  border-radius: var(--radius-lg);
  padding: 1rem 0.75rem;
  text-align: center;
  position: relative;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.15s;
}
.sp-card:hover { border-color: var(--tl); }
.sp-card.filled { border-style: solid; }
.sp-card.filled--anchor { border-color: var(--nv); border-width: 1.5px; }
.sp-card.filled--biz    { border-color: var(--tl); border-width: 1.5px; }
.sp-card__badge {
  position: absolute;
  top: -7px;
  right: 8px;
  font-size: 9px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 20px;
}
.sp-card__logo {
  width: 76px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg2);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 0.5px solid var(--border);
}
.sp-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sp-card__name  { font-size: 11px; font-weight: 500; color: var(--nv); margin: 0; word-break: break-word; line-height: 1.3; }
.sp-card__open  { font-size: 10px; color: var(--text3); margin: 0; }
.sp-card__perks { font-size: 9px;  color: var(--text2); margin: 0; line-height: 1.4; }

/* --- Edit button ------------------------------------------ */
.eb {
  font-size: 9px;
  color: var(--tld);
  border: 0.5px solid var(--tl);
  background: var(--tll);
  border-radius: var(--radius-md);
  padding: 3px 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
}
.eb:hover { background: #9FE1CB; }

/* --- Vintage tiles ---------------------------------------- */
.vintage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin: 0 0 1.5rem;
}
.vt {
  background: var(--cream);
  border: 1.5px solid var(--aged);
  border-radius: var(--radius-lg);
  padding: 1rem 0.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vt::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 0.5px solid var(--aged);
  border-radius: 6px;
  pointer-events: none;
}
.vt--real { background: #fff; border-color: var(--nv); }
.vt--real::before { border-color: var(--nv); }
.vt__stripe  { height: 3px; border-radius: 2px; margin: 0 0 6px; }
.vt__year    { font-size: 9px; letter-spacing: 0.1em; color: var(--rd); font-weight: 500; margin: 0 0 4px; text-transform: uppercase; }
.vt__icon    { font-size: 26px; margin: 2px 0 6px; display: block; }
.vt__name    { font-size: 12px; font-weight: 500; color: var(--nv); margin: 0 0 2px; line-height: 1.3; }
.vt__type    { font-size: 10px; color: #888; margin: 0 0 4px; }
.vt__orig    { font-size: 9px; color: var(--rd); font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 3px; margin: 0; }
.vt__stamp   { position: absolute; top: 4px; left: 4px; background: var(--rd); color: #fff; font-size: 8px; font-weight: 500; padding: 1px 6px; border-radius: 3px; }

/* --- Memory wall ------------------------------------------ */
.memory-wall {
  background: var(--bg2);
  border-radius: var(--radius-lg);
  border: 0.5px solid var(--border2);
  padding: 1.25rem;
  margin: 0 0 1.25rem;
}
.memory-wall__header { display: flex; align-items: center; gap: 10px; margin: 0 0 0.4rem; }
.memory-wall__header i { font-size: 20px; color: var(--amber); }
.memory-wall__title { font-size: 13px; font-weight: 500; color: var(--text); margin: 0; }
.memory-wall__sub { font-size: 11px; color: var(--text2); margin: 0 0 1rem; line-height: 1.5; }

.upload-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 0.5px dashed var(--aged);
  border-radius: var(--radius-md);
}
.upload-row i { font-size: 20px; color: var(--amber); flex-shrink: 0; }
.upload-row p { font-size: 11px; color: var(--text2); margin: 0; line-height: 1.4; flex: 1; }
.upload-btn {
  font-size: 11px; font-weight: 500; color: #633806;
  background: var(--amber-light); border: 0.5px solid var(--amber);
  border-radius: var(--radius-md); padding: 6px 14px;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
}
.upload-btn:hover { background: #FAC775; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
.photo-tile {
  border: 1.5px solid var(--aged);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--bg);
}
.photo-tile--has-image { border-color: var(--nv); }
.photo-tile img { width: 100%; height: 100%; object-fit: contain; }
.photo-tile__overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(10,31,68,0.82); padding: 5px 7px;
}
.photo-tile__name { font-size: 10px; font-weight: 500; color: #E6F1FB; margin: 0; line-height: 1.2; }
.photo-tile__type { font-size: 9px; color: #85B7EB; margin: 0; }
.photo-tile__badge { position: absolute; top: 5px; left: 5px; background: var(--rd); color: #fff; font-size: 8px; font-weight: 500; padding: 1px 5px; border-radius: 3px; }
.photo-tile--empty { flex-direction: column; gap: 5px; border-style: dashed; }
.photo-tile--empty:hover { border-color: var(--tl); background: var(--tll); }
.photo-tile--empty i { font-size: 22px; color: var(--text3); }
.photo-tile--empty span { font-size: 9px; color: var(--text3); text-align: center; line-height: 1.3; padding: 0 4px; }

/* --- CTA row ---------------------------------------------- */
.cta-row { text-align: center; padding: 0.75rem 0 0.5rem; }
.btn-primary {
  background: var(--nv); color: #E6F1FB; border: none;
  border-radius: var(--radius-md); padding: 11px 26px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  margin-right: 8px; margin-bottom: 8px;
}
.btn-primary:hover { background: var(--nv2); }
.btn-secondary {
  background: transparent; color: var(--tld);
  border: 1.5px solid var(--tl); border-radius: var(--radius-md);
  padding: 10px 18px; font-size: 12px; font-weight: 500;
  cursor: pointer; margin-bottom: 8px;
}
.btn-secondary:hover { background: var(--tll); }
.cta-note { font-size: 11px; color: var(--text3); margin: 6px 0 0; }

/* --- Modal ------------------------------------------------ */
.modal-backdrop {
  display: none;
  min-height: 340px;
  background: rgba(10,31,68,0.55);
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin: 1rem 0;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 0.5px solid var(--border2);
  padding: 1.25rem;
  width: 100%;
  max-width: 340px;
}
.modal h3 { font-size: 14px; font-weight: 500; color: var(--nv); margin: 0 0 1rem; }
.modal label { font-size: 11px; color: var(--text2); display: block; margin: 0 0 3px; }
.modal input[type=text] { width: 100%; box-sizing: border-box; margin-bottom: 10px; font-size: 12px; }
.upload-zone {
  border: 1.5px dashed var(--tl);
  border-radius: var(--radius-md);
  padding: 0.85rem; text-align: center;
  cursor: pointer; background: var(--tll); margin-bottom: 10px;
}
.upload-zone i { font-size: 20px; color: var(--tl); display: block; margin-bottom: 3px; }
.upload-zone span { font-size: 11px; color: var(--tld); }
.modal-preview {
  width: 76px; height: 52px; object-fit: contain;
  border-radius: var(--radius-md); border: 0.5px solid var(--border);
  display: none; margin: 0 auto 10px;
}
.modal-btns { display: flex; gap: 7px; justify-content: flex-end; }
.btn-cancel { font-size: 11px; padding: 6px 14px; border-radius: var(--radius-md); cursor: pointer; }
.btn-save { background: var(--nv); color: #E6F1FB; border: none; font-size: 11px; padding: 6px 14px; border-radius: var(--radius-md); cursor: pointer; font-weight: 500; }
.btn-remove { background: transparent; border: 0.5px solid var(--rd); color: var(--rd); font-size: 10px; padding: 4px 9px; border-radius: var(--radius-md); cursor: pointer; margin-right: auto; }

/* --- Schedule / alumni info page -------------------------- */
.schedule-section { margin: 1.5rem 0; }
.schedule-section h2 { font-size: 16px; font-weight: 500; color: var(--nv); margin: 0 0 1rem; }
.event-card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  margin: 0 0 0.75rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.event-card__time {
  min-width: 80px;
  font-size: 12px;
  font-weight: 500;
  color: var(--nv);
  line-height: 1.4;
}
.event-card__body { flex: 1; }
.event-card__title { font-size: 13px; font-weight: 500; color: var(--text); margin: 0 0 3px; }
.event-card__desc  { font-size: 11px; color: var(--text2); margin: 0; line-height: 1.5; }
.event-card__badge { display: inline-block; margin-top: 5px; }

/* --- Footer ----------------------------------------------- */
.site-footer {
  background: var(--nv);
  color: #85B7EB;
  font-size: 11px;
  text-align: center;
  padding: 1.25rem;
  margin-top: 3rem;
}
.site-footer a { color: #9FE1CB; }

/* --- Responsive ------------------------------------------- */
@media (max-width: 520px) {
  .hero-title { font-size: 28px; }
  .perks-grid { grid-template-columns: 1fr; }
  .anchor-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
  .site-nav__links a { padding: 14px 10px; font-size: 11px; }
}
/* - copied from earlier */
/* ─── SPONSOR SECTION ─── */
.sponsor-section { background: #fff; padding: 80px 72px 90px; }
.sponsor-inner { max-width: 1080px; margin: 0 auto; }
.sponsor-eyebrow { font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase; color: #e63946; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.sponsor-eyebrow::after { content: ''; flex: 1; height: 1px; background: rgba(230,57,70,0.2); }
.sponsor-headline { font-family: 'Abril Fatface', serif; font-size: clamp(32px, 4vw, 52px); line-height: 1; color: #0d1f3c; margin-bottom: 14px; letter-spacing: -1px; }
.sponsor-subhead { font-family: 'Playfair Display', serif; font-style: italic; font-size: 18px; color: #5a6a80; line-height: 1.55; margin-bottom: 52px; max-width: 680px; }
.sponsor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 52px; }
.sponsor-card { background: #f8f4ee; border-radius: 10px; padding: 32px 28px; border: 1px solid rgba(13,31,60,0.08); border-top: 4px solid var(--tier-color); transition: background 0.2s; }
.sponsor-card:hover { background: #f0ebe3; }
.tier-wave { --tier-color: #e63946; }
.tier-harbor { --tier-color: #0d6e8a; }
.tier-crest { --tier-color: #b8860b; }
.tier-ripple { --tier-color: #4a5a8a; }
.tier-breaker { --tier-color: #0d1f3c; }
.sponsor-tag { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 700; color: var(--tier-color); margin-bottom: 10px; }
.sponsor-card-title { font-family: 'Abril Fatface', serif; font-size: 26px; color: #0d1f3c; line-height: 1.1; margin-bottom: 6px; }
.sponsor-card-subtitle { font-family: 'Playfair Display', serif; font-style: italic; font-size: 13px; color: #5a6a80; margin-bottom: 18px; }
.sponsor-card-rule { width: 32px; height: 2px; background: var(--tier-color); margin-bottom: 18px; }
.sponsor-card-body { font-size: 14px; color: #1a1a2e; line-height: 1.85; margin-bottom: 16px; }
.sponsor-card-pitch { font-family: 'Playfair Display', serif; font-style: italic; font-size: 13px; color: #0d1f3c; line-height: 1.65; border-left: 2px solid var(--tier-color); padding-left: 14px; }
.sponsor-cta-bar { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 40px; border-top: 1px solid rgba(13,31,60,0.1); }
.sponsor-cta-text { font-family: 'Playfair Display', serif; font-style: italic; font-size: 16px; color: #5a6a80; line-height: 1.6; max-width: 480px; }
/* disable upload buttons JS */
.ti .ti-edit { display:none;}
.eb {display:none;}