/* ===================================================
   Mohonasen High School - Class of 1996
   Theme: Orange & Black
=================================================== */

:root {
  --orange:        #F47B20;
  --orange-dark:   #C85F0A;
  --orange-light:  #FF9A4A;
  --orange-glow:   rgba(244,123,32,0.18);
  --black:         #0A0A0A;
  --dark:          #1A1A1A;
  --dark2:         #242424;
  --gold:          #FFC107;
  --white:         #FFFFFF;
  --light-bg:      #F7F7F7;
  --card-bg:       #FFFFFF;
  --border:        #E0E0E0;
  --text:          #222222;
  --text-muted:    #666666;
  --missing-red:   #E53E3E;
  --missing-bg:    #FFF5F5;
  --connected-green: #276749;
  --connected-bg:  #F0FFF4;
  --portrait-blue: #2B6CB0;
  --portrait-bg:   #EBF4FF;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.16);
  --radius:     10px;
  --radius-lg:  16px;
}

/* ── RESET ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--light-bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── NAVBAR ─────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--black);
  padding: 0 2rem;
  height: 60px;
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.nav-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.nav-brand .brand-m {
  color: var(--orange);
  font-size: 1.5rem;
}
.nav-links {
  display: flex; gap: 0.25rem;
}
.nav-links a {
  color: var(--white);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-size: 1.2rem;
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
}

/* ── HERO ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--black) 0%, #0A0A0A 40%, var(--black) 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 1.5rem 3rem;
  position: relative;
  overflow: hidden;   /* clips the bleeding text — that IS the bleed effect */
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(30,30,30,0.8) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(20,20,20,0.6) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}
.hero-stripes {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.01) 60px,
    rgba(255,255,255,0.01) 120px
  );
  pointer-events: none;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }

.school-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--orange);
  color: var(--white);
  padding: 0.8rem 2.5rem;
  border-radius: 4px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(244,123,32,0.4);
  clip-path: polygon(0 0,100% 0,97% 50%,100% 100%,0 100%,3% 50%);
}
.school-badge .school-name {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.92;
}
.school-badge .class-year {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.2;
}
.school-badge .warrior-tag {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 2px;
}
.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero h1 span { color: var(--orange); }
.hero-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  letter-spacing: 1px;
}

/* ── COUNTDOWN ──────────────────────────────────── */
.countdown {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.countdown-item {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(244,123,32,0.3);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  min-width: 90px;
  backdrop-filter: blur(6px);
}
.countdown-item span {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown-item label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.25rem;
}

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(244,123,32,0.35);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(244,123,32,0.45);
  text-decoration: none; color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border: 1px solid #333;
}
.btn-dark:hover { background: #333; text-decoration: none; color: var(--white); }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.78rem; }
.btn-xs { padding: 0.3rem 0.7rem; font-size: 0.72rem; border-radius: 6px; }
.btn-ghost {
  background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.78rem;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); text-decoration: none; }

/* ── SECTION WRAPPER ────────────────────────────── */
section { padding: 5rem 0; }
#rsvp { background: var(--light-bg); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
}
.section-header h2 .accent { color: var(--orange); }
.section-header p {
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-size: 1rem;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

/* ── REUNION SECTION ────────────────────────────── */
#reunion { background: var(--dark); color: var(--white); }
#reunion .section-header h2 { color: var(--white); }
#reunion .section-header p { color: rgba(255,255,255,0.65); }

.reunion-card {
  background: linear-gradient(135deg, #1E1E1E 0%, #0A0A0A 100%);
  border: 1px solid rgba(244,123,32,0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.reunion-header {
  background: var(--orange);
  padding: 2rem;
  text-align: center;
}
.reunion-header .event-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.85;
  color: var(--white);
}
.reunion-header h3 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  margin: 0.25rem 0;
}
.reunion-header .event-date {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-top: 0.5rem;
}

.reunion-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.reunion-info { padding: 2rem 2.5rem; }
.reunion-info h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 1rem;
}
.info-row {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.5;
}
.info-row .icon {
  font-size: 1.1rem;
  color: var(--orange);
  min-width: 22px;
  margin-top: 2px;
}
.reunion-qr {
  padding: 2rem 2.5rem;
  border-left: 1px solid rgba(244,123,32,0.2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  gap: 1rem;
}
.qr-box {
  width: 160px; height: 160px;
  border: 3px dashed var(--orange);
  border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  padding: 1rem;
  gap: 0.4rem;
}
.qr-box .qr-icon { font-size: 2rem; color: var(--orange); opacity: 0.6; }
.reunion-qr p { color: rgba(255,255,255,0.65); font-size: 0.85rem; max-width: 180px; }
.reunion-qr .price-highlight {
  font-size: 1.5rem; font-weight: 900; color: var(--orange);
}

.reunion-footer {
  border-top: 1px solid rgba(244,123,32,0.2);
  padding: 1.5rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.hotel-info { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.hotel-info strong { color: var(--orange); display: block; margin-bottom: 0.2rem; }
.contacts-info { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.contact-item { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.contact-item strong { color: var(--white); display: block; }

/* ── STATS BAR ──────────────────────────────────── */
.stats-bar {
  background: var(--black);
  border-bottom: 1px solid #222;
  padding: 1rem 0;
}
.stats-grid {
  display: flex; justify-content: center; gap: 3rem;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  color: var(--white);
}
.stat-item .stat-num {
  font-size: 2rem; font-weight: 900; color: var(--orange); line-height: 1;
}
.stat-item .stat-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px;
  color: rgba(255,255,255,0.5); margin-top: 2px;
}
a.stat-link {
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  display: block;
}
a.stat-link:hover { opacity: 0.75; transform: translateY(-2px); text-decoration: none; }

/* ── CLASSMATES SECTION ─────────────────────────── */
#classmates { background: var(--light-bg); }
.classmates-controls {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
  margin-bottom: 2rem;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.search-wrap {
  position: relative; flex: 1; min-width: 200px;
}
.search-wrap input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.5rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  transition: border 0.2s;
  background: var(--light-bg);
}
.search-wrap input:focus { outline: none; border-color: var(--orange); background: var(--white); }
.search-icon {
  position: absolute; left: 0.75rem; top: 50%;
  transform: translateY(-50%); color: var(--text-muted); font-size: 0.9rem;
}
.filter-group { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.filter-btn {
  padding: 0.45rem 1rem;
  border-radius: 20px;
  border: 2px solid var(--border);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.filter-btn.filter-missing.active { background: var(--missing-red); border-color: var(--missing-red); }
.filter-btn.filter-connected.active { background: var(--connected-green); border-color: var(--connected-green); }
.results-count {
  margin-left: auto; font-size: 0.8rem;
  color: var(--text-muted); white-space: nowrap;
}

/* ── CLASSMATE GRID ─────────────────────────────── */
.classmates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.classmate-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.2rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.classmate-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.classmate-card.missing {
  border-color: var(--border);
  background: var(--white);
}
.classmate-card.missing:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

.classmate-card.fallen {
  background: linear-gradient(135deg, #1A1A14 0%, #252510 100%);
  border-color: #8B7355;
  border-width: 2px;
}
.classmate-card.fallen:hover { box-shadow: 0 4px 20px rgba(200,169,106,0.18); }
.classmate-card.fallen .card-name  { color: #F0E6C8; }
.classmate-card.fallen .card-page  { color: #8B7355; }
.classmate-card.fallen .card-email { background: rgba(200,169,106,0.08); border-color: #8B7355; }
.fallen-memorial { display: flex; align-items: center; gap: 0.5rem; }
.badge-fallen { display: none; }
.badge-fallen-title {
  font-size: 1rem;
  font-weight: 700;
  color: #C4A96A;
  text-align: center;
  width: 100%;
  letter-spacing: 0.03em;
}
.badge-fallen-years {
  font-size: 0.8rem;
  color: #8B7355;
  text-align: center;
  width: 100%;
  letter-spacing: 0.08em;
  margin-top: -0.1rem;
}
.btn-fallen-share {
  background: rgba(200,169,106,0.12);
  border: 1px solid #8B7355;
  color: #C4A96A;
  font-size: 0.72rem;
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  transition: background 0.2s;
}
.btn-fallen-share:hover { background: rgba(200,169,106,0.22); }
.filter-btn.filter-fallen.active { background: #8B7355; border-color: #8B7355; color: #fff; }
.yellow-rose { display: inline-block; filter: hue-rotate(55deg) saturate(1.5); }
.rose-icon { height: 1.6em; width: 1.6em; vertical-align: middle; display: inline-block; }

.card-header { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; text-align: center; }
.card-edit-email-link { font-size: 0.72rem; color: var(--text-muted); text-decoration: underline; cursor: pointer; padding-left: 0.1rem; }
.card-edit-email-link:hover { color: var(--orange); }
.card-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 2.2rem; color: var(--white);
  flex-shrink: 0;
  text-transform: uppercase;
  transition: opacity 0.15s, box-shadow 0.15s;
}
.card-avatar:hover { opacity: 0.85; box-shadow: 0 0 0 3px var(--orange); }
.connected-avatar { background: linear-gradient(135deg, var(--connected-green), #276749); }
.card-actions-fallen { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; width: 100%; }
.btn-fallen-action {
  width: 100%;
  background: rgba(200,169,106,0.12);
  border: 1px solid #8B7355;
  color: #C4A96A;
  font-size: 0.78rem;
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
  display: block;
}
.btn-fallen-action:hover { background: rgba(200,169,106,0.25); }

.card-name-block { flex: 1; text-align: center; width: 100%; }
.card-name {
  font-weight: 800; font-size: 0.97rem; color: var(--dark);
  line-height: 1.3;
}
.card-maiden { font-size: 0.78rem; color: var(--text-muted); margin-top: 1px; }
.rsvp-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  margin-top: 0.2rem;
}
.rsvp-going    { background: #D1FAE5; color: #065F46; }
.rsvp-notgoing { background: var(--light-bg); color: var(--text-muted); }
.card-page { font-size: 0.73rem; color: var(--text-muted); }

.status-badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  white-space: nowrap;
  align-self: flex-start;
}
.badge-portrait { background: var(--portrait-bg); color: var(--portrait-blue); }
.badge-missing { background: var(--light-bg); color: var(--text-muted); }
.badge-connected { background: var(--connected-bg); color: var(--connected-green); }
.badge-surveyed { background: #F0E6FF; color: #6B46C1; }

.card-email {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.83rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  background: var(--light-bg);
  border: 1px solid var(--border);
}
.email-icon { color: var(--orange); font-size: 0.9rem; }
.email-masked { color: var(--text); font-family: monospace; font-size: 0.8rem; flex: 1; }
.no-email-text { color: var(--text-muted); font-style: italic; font-size: 0.82rem; flex: 1; }
.no-email-text.urgent { color: var(--missing-red); font-style: normal; font-weight: 600; }

.card-actions { display: flex; flex-direction: column; gap: 0.3rem; align-items: stretch; text-align: center; }
.card-rsvp-bar {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 0.5rem; padding-top: 0.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.btn-rsvp-now {
  display: block; width: 100%; text-align: center; text-decoration: none;
  background: #ff1493; color: #fff; font-weight: 800;
  font-size: 0.85rem; padding: 0.55rem 0; border-radius: var(--radius);
  letter-spacing: 0.03em; transition: background 0.15s;
  border: 2px solid #111; box-shadow: 0 0 0 1px #111;
}
.btn-rsvp-now:hover { background: #d4007a; color: #fff; text-decoration: none; }
.card-rsvp-status { font-weight: 700; font-size: 0.82rem; padding: 0.3rem 0.7rem; border-radius: var(--radius); color: #fff; }
.rsvp-going-status { background: #16a34a; }
.rsvp-notgoing-status { background: #dc2626; }
.btn-rsvp-edit {
  background: none; border: 1px solid #6b7280; color: #6b7280;
  border-radius: var(--radius); font-size: 0.75rem; padding: 0.3rem 0.6rem;
  cursor: pointer; transition: background 0.15s;
}
.btn-rsvp-edit:hover { background: #6b7280; color: #fff; }
.contact-info-box {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  background: var(--light-bg);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.contact-box-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}
.contact-box-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.contact-box-btns a,
.contact-box-btns button {
  font-size: 0.62rem !important;
  white-space: normal;
  text-align: left;
  line-height: 1.3;
}

/* ── Card connect box ── */
.card-connect-box {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  background: var(--light-bg);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.card-connect-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}
.card-connect-btns {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.card-connect-item {
  font-size: 0.72rem !important;
  text-decoration: none;
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  color: #fff !important;
  width: 100% !important;
  justify-content: center;
}
.card-connect-item:hover {
  background: var(--orange-dark) !important;
  border-color: var(--orange-dark) !important;
  color: #fff !important;
}
.card-connect-view { background: #0284c7 !important; border-color: #0369a1 !important; color: #fff !important; }
.card-connect-view:hover { background: #0369a1 !important; border-color: #075985 !important; color: #fff !important; }
.card-connect-fb { background: #1877F2 !important; border-color: #1877F2 !important; color: #fff !important; }
.card-connect-fb:hover { background: #1558c0 !important; border-color: #1558c0 !important; color: #fff !important; }
.card-connect-li { background: #0A66C2 !important; border-color: #0A66C2 !important; color: #fff !important; }
.card-connect-li:hover { background: #084d94 !important; border-color: #084d94 !important; color: #fff !important; }

/* ── Card profile prompt ── */
.card-profile-prompt {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.45rem 0.55rem;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.card-profile-hey {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
}
.btn-profile-update {
  background: transparent;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 600;
  width: 100%;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-profile-update:hover { background: var(--orange); color: #fff; }
.btn-contact-add {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.72rem;
  cursor: pointer;
}
.btn-contact-add:hover { border-color: var(--orange); color: var(--orange); }
.btn-profile {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.15rem 0.6rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1.4;
  display: inline-block;
}
.btn-profile:hover { border-color: var(--orange); color: var(--orange); }
.card-know-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  padding: 0 0.1rem;
  line-height: 1.3;
}
.missing .card-know-text { color: #C53030; font-style: normal; font-weight: 600; }

/* ── SURVEY RESPONDENTS ─────────────────────────── */
.survey-section {
  margin-top: 3rem;
  border-top: 2px dashed var(--border);
  padding-top: 3rem;
}
.survey-section h3 {
  font-size: 1.4rem; font-weight: 800; color: var(--dark);
  margin-bottom: 0.4rem;
}
.survey-section .sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

/* ── YEARBOOK SECTION ───────────────────────────── */
#yearbook { background: var(--dark); }
#yearbook .section-header h2 { color: var(--white); }
#yearbook .section-header p { color: rgba(255,255,255,0.6); }

.book-container {
  background: #1E1E1E;
  border: 1px solid rgba(244,123,32,0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.book-header {
  background: linear-gradient(90deg, var(--orange-dark), var(--orange));
  padding: 1.5rem 2rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.book-title { color: var(--white); }
.book-title h3 { font-size: 1.6rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.book-title p { opacity: 0.85; font-size: 0.9rem; }
.book-badge {
  background: rgba(0,0,0,0.2);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.book-body {
  padding: 3rem 2rem;
  text-align: center;
}
.book-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  max-width: 500px; margin: 0 auto;
}
.book-icon-wrap {
  width: 120px; height: 120px;
  background: rgba(244,123,32,0.1);
  border: 2px dashed rgba(244,123,32,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.book-placeholder h4 { font-size: 1.3rem; color: var(--white); font-weight: 800; }
.book-placeholder p { color: rgba(255,255,255,0.6); font-size: 0.92rem; line-height: 1.7; }

.upload-zone {
  width: 100%; max-width: 400px;
  border: 2px dashed rgba(244,123,32,0.4);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}
.upload-zone:hover {
  border-color: var(--orange);
  background: rgba(244,123,32,0.05);
  color: var(--orange);
}
.upload-zone .upload-icon { font-size: 2rem; margin-bottom: 0.5rem; }

/* ── CONNECT SECTION ────────────────────────────── */
#connect { background: var(--light-bg); }
.connect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.connect-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.connect-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.connect-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.connect-icon.fb { background: #1877F2; color: var(--white); }
.connect-icon.survey { background: var(--orange); color: var(--white); }
.connect-icon.contact { background: var(--dark); color: var(--orange); }
.connect-card h3 { font-weight: 800; font-size: 1.1rem; color: var(--dark); }
.connect-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.contact-list { width: 100%; }
.contact-item-c {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.contact-item-c:last-child { border-bottom: none; }
.contact-item-c .ci-icon { color: var(--orange); font-size: 1rem; flex-shrink: 0; }
.contact-item-c .ci-name { font-weight: 700; font-size: 0.9rem; display: block; }
.contact-item-c .ci-role { font-size: 0.78rem; color: var(--text-muted); }

/* ── FOOTER ─────────────────────────────────────── */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 3px solid var(--orange);
  font-size: 0.85rem;
}
footer .footer-brand {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.5rem;
}
footer .footer-brand span { color: var(--orange); }
footer .footer-note { margin-top: 0.5rem; }

/* ── MODAL ──────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 480px; width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.25s;
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-header {
  background: var(--orange);
  color: var(--white);
  padding: 1.2rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.modal-header h3 { font-weight: 800; font-size: 1rem; }
.modal-close {
  background: none; border: none; color: var(--white);
  font-size: 1.3rem; line-height: 1; cursor: pointer; opacity: 0.8;
}
.modal-close:hover { opacity: 1; }
.modal-body { padding: 1.5rem; }
.modal-name { font-weight: 800; font-size: 1.1rem; color: var(--dark); margin-bottom: 0.4rem; }
.modal-desc { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1.2rem; line-height: 1.5; }
.modal-preview {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.82rem;
  color: var(--text);
  white-space: pre-wrap;
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}
.modal-actions {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
}
.modal-actions .btn { flex: 1; justify-content: center; }

/* ── TOAST ──────────────────────────────────────── */
.toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999;
  background: var(--dark); color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.88rem;
  border-left: 4px solid var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(20px); opacity: 0;
  transition: all 0.3s;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── MISSING NOTICE ─────────────────────────────── */
.missing-notice {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex; align-items: flex-start; gap: 0.75rem;
}
.missing-notice .notice-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.missing-notice p { font-size: 0.88rem; color: var(--text); line-height: 1.6; }
.missing-notice strong { color: var(--orange); }

/* ── ALMA MATER OVERLAY ─────────────────────────── */
.alma-mater-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 400vw;
  text-align: center;
  color: var(--white);
  opacity: 0.055;
  font-family: 'Oswald', system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.alma-mater-overlay div {
  font-size: clamp(2.2rem, 5.5vw, 9rem);
  white-space: nowrap;
  display: block;
}

/* ── FORWARD BUTTON ─────────────────────────────── */
.btn-forward {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.74rem;
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  transition: all 0.2s;
  white-space: normal;
  text-align: left;
  line-height: 1.3;
}
.btn-forward:hover { border-color: var(--orange); color: var(--orange); }

/* ── TICKET PURCHASE SECTION ────────────────────── */
.ticket-purchase-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  overflow: hidden;
}
.ticket-form {
  padding: 2rem 2.5rem;
}
.ticket-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}
.tf-field { display: flex; flex-direction: column; gap: 0.35rem; }
.tf-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tf-note { font-weight: 400; color: var(--text-muted); text-transform: none; letter-spacing: 0; }
.tf-field input[type="text"],
.tf-field input[type="email"] {
  padding: 0.6rem 0.9rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border 0.2s;
}
.tf-field input:focus { outline: none; border-color: var(--orange); }
.qty-control {
  display: flex; align-items: center; gap: 0;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
}
.qty-btn {
  width: 42px; height: 42px;
  background: var(--light-bg);
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--orange);
  cursor: pointer;
  transition: background 0.2s;
}
.qty-btn:hover { background: var(--orange); color: var(--white); }
#ticketQty {
  width: 56px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 700;
  background: var(--white);
  height: 42px;
  -moz-appearance: textfield;
}
#ticketQty::-webkit-inner-spin-button,
#ticketQty::-webkit-outer-spin-button { -webkit-appearance: none; }
.tf-total {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  background: linear-gradient(90deg, var(--dark), #0A0A0A);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-top: 0.25rem;
}
.tf-total-label {
  font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 1px; color: rgba(255,255,255,0.5);
}
.tf-total-amount {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.tf-price-note { font-size: 0.78rem; color: rgba(255,255,255,0.4); }

/* ── TICKET CARDS (in modal) ────────────────────── */
.ticket-card {
  display: flex;
  border: 2px solid var(--orange);
  border-radius: 10px;
  overflow: hidden;
}
.ticket-band {
  background: var(--orange);
  color: var(--white);
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ticket-band span {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 7px;
  letter-spacing: 1px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  white-space: nowrap;
}
.ticket-body { flex: 1; padding: 14px 18px; }
.ticket-school {
  font-size: 9px; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-muted);
}
.ticket-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem; font-weight: 900;
  color: var(--dark); margin: 2px 0 8px;
}
.ticket-info {
  font-size: 0.8rem; color: var(--text-muted);
  display: flex; flex-direction: column; gap: 3px;
}
.ticket-stub {
  background: var(--dark);
  color: var(--white);
  width: 86px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 12px 6px; flex-shrink: 0;
  text-align: center; gap: 4px;
}
.stub-num {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem; font-weight: 900;
  color: var(--orange); line-height: 1;
}
.stub-num span { font-size: 0.7rem; display: block; color: rgba(255,255,255,0.45); }
.stub-conf { font-size: 7px; color: rgba(255,255,255,0.5); letter-spacing: 0.5px; word-break: break-all; }
.stub-price {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem; font-weight: 700; color: var(--orange);
}

/* ── TICKET SUMMARY TABLE ───────────────────────── */
.ticket-summary {
  background: var(--light-bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.ts-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
}
.ts-row:last-child { border-bottom: none; }
.ts-row > span:first-child { color: var(--text-muted); }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute;
    top: 60px; left: 0; right: 0; background: var(--black);
    padding: 0.5rem; border-bottom: 2px solid var(--orange);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .navbar { position: fixed; }

  .reunion-body { grid-template-columns: 1fr; }
  .reunion-qr { border-left: none; border-top: 1px solid rgba(244,123,32,0.2); }
  .reunion-footer { flex-direction: column; }

  .countdown-item { min-width: 70px; padding: 0.75rem 1rem; }
  .countdown-item span { font-size: 2rem; }
  .countdown { gap: 0.75rem; }

  .stats-grid { gap: 1.5rem; }

  .classmates-controls { flex-direction: column; align-items: stretch; }
  .search-wrap { min-width: auto; }
  .results-count { margin-left: 0; }

  .modal-actions { flex-direction: column; }
}

@media (max-width: 480px) {
  .school-badge { clip-path: none; border-radius: 6px; }
  .hero h1 { font-size: 2.2rem; }
  .classmates-grid { grid-template-columns: 1fr; }
  .connect-grid { grid-template-columns: 1fr; }
  .ticket-form { padding: 1.25rem; }
  .ticket-form-grid { grid-template-columns: 1fr; }
  .alma-mater-overlay div { font-size: clamp(1.8rem, 9vw, 4rem); }
}

/* ── HERO EVENT BAR ─────────────────────────────── */
.hero-event-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(244,123,32,0.35);
  border-radius: 50px;
  padding: 0.65rem 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}
.hero-event-bar .heb-item { display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.hero-event-bar .heb-item span { font-weight: 600; }
.hero-event-bar .heb-sep { color: var(--orange); font-weight: 900; opacity: 0.7; }

/* ── REUNION FLYER ──────────────────────────────── */
.flyer-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 0 8px rgba(244,123,32,0.12), var(--shadow-lg);
}
.flyer-header {
  background: var(--orange);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.flyer-header::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 30px,
    rgba(0,0,0,0.06) 30px, rgba(0,0,0,0.06) 60px
  );
}
.flyer-header-inner { position: relative; z-index: 1; }
.flyer-school-name {
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.85); margin-bottom: 0.5rem;
}
.flyer-class {
  font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 900;
  color: var(--white); text-transform: uppercase;
  letter-spacing: 2px; line-height: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.flyer-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: rgba(255,255,255,0.9); font-weight: 700;
  text-transform: uppercase; letter-spacing: 4px; margin-top: 0.35rem;
}
.flyer-warriors {
  margin-top: 0.75rem; font-size: 1rem;
  color: rgba(255,255,255,0.7); letter-spacing: 2px; text-transform: uppercase;
}
.flyer-divider {
  height: 5px;
  background: linear-gradient(90deg, var(--black), var(--orange-dark), var(--black));
}
.flyer-body {
  background: var(--white); padding: 2.5rem 2rem;
  display: grid; grid-template-columns: 1fr auto;
  gap: 2rem; align-items: start;
}
.flyer-details { display: flex; flex-direction: column; gap: 1.25rem; }
.flyer-detail-row { display: flex; gap: 1rem; align-items: flex-start; }
.flyer-detail-icon { font-size: 1.4rem; min-width: 32px; flex-shrink: 0; }
.flyer-detail-label {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--text-muted); margin-bottom: 1px;
}
.flyer-detail-main { font-size: 1.05rem; font-weight: 800; color: var(--dark); line-height: 1.3; }
.flyer-detail-sub { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }
.flyer-price-badge {
  background: var(--dark); color: var(--white);
  border-radius: var(--radius); padding: 1.5rem 1.25rem;
  text-align: center; min-width: 130px;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem; flex-shrink: 0;
}
.flyer-price-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.5); }
.flyer-price-amount { font-size: 2.5rem; font-weight: 900; color: var(--orange); line-height: 1; }
.flyer-price-note { font-size: 0.72rem; color: rgba(255,255,255,0.5); line-height: 1.4; }
.flyer-footer {
  background: var(--dark); padding: 1.25rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.flyer-footer-text { font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.flyer-footer-text strong { color: var(--orange); }
.flyer-footer-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── BEST OF '96 ────────────────────────────────── */
#bestof96 { background: var(--dark); }
#bestof96 .section-header h2 { color: var(--white); }
#bestof96 .section-header p { color: rgba(255,255,255,0.65); }

.best96-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.best96-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(244,123,32,0.2);
  border-radius: var(--radius); padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.best96-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(244,123,32,0.12);
  border-color: var(--orange);
}
.best96-icon { font-size: 2rem; line-height: 1; }
.best96-category { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 2px; color: var(--orange); font-weight: 700; }
.best96-title { font-size: 1rem; font-weight: 800; color: var(--white); line-height: 1.2; }
.best96-detail { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.4; }

/* ── SENIOR SUPERLATIVES ────────────────────────── */
.superlatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
}
.sup-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.sup-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(244,123,32,0.12);
  border-color: var(--orange);
}
.sup-award {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--orange);
  line-height: 1.3;
}
.sup-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

/* ── PHOTOS / CLASS MEMORIES ────────────────────── */
#photos { background: var(--light-bg); }

.photos-upload-box {
  background: var(--white); border-radius: var(--radius-lg);
  border: 2px dashed rgba(244,123,32,0.4);
  padding: 3rem 2rem; text-align: center;
  max-width: 600px; margin: 0 auto 3rem;
  transition: border-color 0.2s, background 0.2s; cursor: default;
}
.photos-upload-box .upload-icon-lg { font-size: 3.5rem; margin-bottom: 1rem; }
.photos-upload-box h3 { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin-bottom: 0.5rem; }
.photos-upload-box p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; max-width: 420px; margin: 0 auto; }
.photos-upload-box .upload-actions { margin-top: 1.5rem; display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.photos-gallery-placeholder {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem; margin-top: 1.5rem;
}
.photo-slot {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); aspect-ratio: 4/3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; color: var(--text-muted); font-size: 0.8rem; overflow: hidden;
}
.photo-slot .slot-icon { font-size: 2rem; opacity: 0.25; }

/* ── EMAIL ENTRY BUTTON ─────────────────────────── */
.btn-email-entry {
  background: transparent;
  border: 1px dashed rgba(244,123,32,0.45);
  color: var(--orange);
  font-size: 0.78rem;
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  transition: all 0.2s;
  width: 100%;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.3;
}
.btn-email-entry:hover { border-style: solid; background: rgba(244,123,32,0.06); }

/* ── PROFILE SYSTEM ─────────────────────────────── */
.btn-profile {
  background: transparent; border: 1px dashed rgba(244,123,32,0.4);
  color: var(--orange); font-size: 0.72rem; border-radius: 6px;
  padding: 0.3rem 0.7rem; transition: all 0.2s;
  white-space: normal; text-align: left; line-height: 1.3; width: 100%;
}
.btn-profile:hover { border-style: solid; background: rgba(244,123,32,0.06); }
.btn-profile.has-profile { border-style: solid; background: rgba(244,123,32,0.07); }

.card-profile-preview {
  background: rgba(244,123,32,0.05); border: 1px solid rgba(244,123,32,0.15);
  border-radius: 6px; padding: 0.5rem 0.7rem;
  font-size: 0.75rem; color: var(--text-muted); line-height: 1.6;
}
.card-profile-preview .pp-item { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.card-profile-preview .pp-label { color: var(--orange); font-weight: 700; flex-shrink: 0; }
.pp-memory { flex-direction: column; gap: 0.15rem; }
.pp-memory-text { font-style: italic; color: var(--text); line-height: 1.4; }

.profile-modal-overlay {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(0,0,0,0.75);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.profile-modal-overlay.active { opacity: 1; pointer-events: all; }
.profile-modal {
  background: var(--white); border-radius: var(--radius-lg);
  max-width: 520px; width: 100%; overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px); transition: transform 0.25s;
  max-height: 90vh; display: flex; flex-direction: column;
}
.profile-modal-overlay.active .profile-modal { transform: translateY(0); }
.profile-modal-header {
  background: linear-gradient(135deg, var(--orange-dark), var(--orange));
  color: var(--white); padding: 1.2rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}
.profile-modal-header h3 { font-weight: 800; font-size: 1rem; }
.profile-modal-body { padding: 1.5rem; overflow-y: auto; flex: 1; }
.profile-form { display: flex; flex-direction: column; gap: 1rem; }
.pf-field { display: flex; flex-direction: column; gap: 0.3rem; }
.pf-label { font-size: 0.78rem; font-weight: 700; color: var(--dark); text-transform: uppercase; letter-spacing: 0.5px; }
.pf-hint { font-weight: 400; font-size: 0.73rem; color: var(--text-muted); text-transform: none; letter-spacing: 0; }
.pf-field input[type="text"], .pf-field textarea {
  padding: 0.6rem 0.9rem; border: 2px solid var(--border);
  border-radius: 8px; font-size: 0.9rem; font-family: inherit; transition: border 0.2s; resize: vertical;
}
.pf-field input:focus, .pf-field textarea:focus { outline: none; border-color: var(--orange); }
.pf-field textarea { min-height: 70px; }
.profile-modal-footer {
  padding: 1rem 1.5rem; border-top: 1px solid var(--border);
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  flex-shrink: 0; background: var(--light-bg);
}
.profile-modal-footer .btn { flex: 1; justify-content: center; }

/* ── CLASS WALL ─────────────────────────────────── */
.wall-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(244,123,32,0.3);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  max-width: 680px;
  margin: 0 auto 2rem;
}
.wall-form-row {
  display: flex; gap: 0.6rem; margin-bottom: 0.6rem;
}
.wall-input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: inherit;
}
.wall-input:focus { outline: none; border-color: var(--orange); }
.wall-input::placeholder { color: rgba(255,255,255,0.35); }
.wall-textarea {
  width: 100%; box-sizing: border-box;
  padding: 0.7rem 0.9rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical; min-height: 80px;
  transition: border-color 0.2s;
}
.wall-textarea:focus { outline: none; border-color: var(--orange); }
.wall-textarea::placeholder { color: rgba(255,255,255,0.35); }
.wall-feed {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.wall-post {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--orange);
  border-radius: 8px;
  padding: 0.85rem 1rem;
}
.wall-post-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 0.35rem; gap: 0.5rem;
}
.wall-post-name { font-weight: 700; color: var(--orange); font-size: 0.9rem; }
.wall-post-ts   { font-size: 0.72rem; color: rgba(255,255,255,0.35); white-space: nowrap; }
.wall-post-body { color: rgba(255,255,255,0.85); font-size: 0.88rem; line-height: 1.55; white-space: pre-wrap; }
.wall-empty, .wall-loading {
  text-align: center; color: rgba(255,255,255,0.35);
  font-style: italic; padding: 2rem;
}

/* ── PAYMENT METHOD ─────────────────────────────── */
.pay-method-group {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pay-method-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark);
  margin-bottom: 0.1rem;
}
.pay-option {
  display: block;
  cursor: pointer;
}
.pay-option input[type="radio"] { display: none; }
.pay-option-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
}
.pay-option input[type="radio"]:checked + .pay-option-inner {
  border-color: var(--orange);
  background: rgba(244,123,32,0.06);
}
.pay-option-inner:hover { border-color: var(--orange-light); }
.pay-icon { font-size: 1.4rem; flex-shrink: 0; }
.pay-option-inner strong { display: block; font-size: 0.9rem; color: var(--dark); }
.pay-desc { font-size: 0.78rem; color: var(--text-muted); }

/* ── VIEW CLASSMATE BUTTON ──────────────────────── */
.btn-view-classmate {
  background: #0284c7;
  color: var(--white);
  border: 1px solid #0369a1;
  font-size: 0.78rem;
  font-weight: 700;
  width: 100%;
  justify-content: center;
  letter-spacing: 0.02em;
}
.btn-view-classmate:hover {
  background: #0369a1;
  border-color: #075985;
  color: var(--white);
  text-decoration: none;
}

/* ── VIEW CLASSMATE MODAL ───────────────────────── */
.view-classmate-modal {
  max-width: 520px;
}
.vcm-top {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem 0.75rem;
}
.vcm-avatar {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--card-bg);
  border: 3px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--orange);
}
.modal-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--card-bg);
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
}
.profile-modal-header, .modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.vcm-photo-wrap {
  width: 110px;
  height: 134px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vcm-initials {
  width: 100%;
  height: 100%;
  color: #fff;
  font-weight: 900;
  font-size: 2.2rem;
  align-items: center;
  justify-content: center;
}
.vcm-name-block { display: flex; flex-direction: column; gap: 0.3rem; }
.vcm-name  { font-size: 1.25rem; font-weight: 900; color: var(--dark); line-height: 1.2; }
.vcm-sub   { font-size: 0.8rem; color: var(--text-muted); }
.vcm-section {
  border-top: 1px solid var(--border);
  padding: 0.85rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.vcm-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.vcm-row {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  font-size: 0.85rem;
}
.vcm-row-block { flex-direction: column; gap: 0.2rem; }
.vcm-label {
  font-weight: 700;
  color: var(--text-muted);
  min-width: 88px;
  flex-shrink: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.vcm-value { color: var(--dark); }
.vcm-memory { margin: 0; font-style: italic; color: var(--text-muted); line-height: 1.5; font-size: 0.85rem; }
.vcm-photos-row { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.vcm-thumb {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
}
.vcm-thumb:hover { border-color: var(--missing-red); }
.vcm-actions {
  border-top: 1px solid var(--border);
  padding: 0.85rem 1.5rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* ── REPORT FALLEN LINK ─────────────────────────── */
.report-fallen-link {
  font-size: 0.68rem;
  font-style: italic;
  color: var(--text-muted);
  text-decoration: underline;
  text-align: center;
  display: block;
  opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
}
.report-fallen-link:hover { opacity: 1; color: #C4A96A; text-decoration: underline; }

/* ── CARD PHOTOS ────────────────────────────────── */
.card-photos-section {
  padding: 0.5rem 0.75rem 0.4rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.card-photos-grid {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.pf-photo-upload-btn {
  display: inline-block;
  margin-top: 0.4rem;
  margin-bottom: 0.6rem;
  padding: 0.45rem 1rem;
  background: var(--orange);
  color: #fff;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.pf-photo-upload-btn:hover { background: var(--orange-dark); }
.pf-photos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.pf-photos-grid .card-photo-thumb {
  width: 70px;
  height: 70px;
}
.card-photo-thumb {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: zoom-in;
  transition: border-color 0.2s, opacity 0.2s;
  flex-shrink: 0;
}
.card-photo-thumb:hover {
  border-color: var(--orange);
  opacity: 0.9;
}
.card-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-remove-btn {
  position: absolute;
  top: 1px;
  right: 1px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 9px;
  line-height: 1;
  padding: 2px 3px;
  cursor: pointer;
  display: none;
}
.card-photo-thumb:hover .photo-remove-btn {
  display: block;
}
.btn-add-photo {
  font-size: 0.73rem;
  padding: 0.28rem 0.6rem;
  border-radius: 6px;
  background: var(--light-bg);
  border: 1.5px dashed var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
  user-select: none;
}
.btn-add-photo:hover {
  border-color: var(--orange);
  color: var(--orange);
}

@media (max-width: 768px) {
  .flyer-body { grid-template-columns: 1fr; }
  .flyer-price-badge { flex-direction: row; min-width: auto; width: 100%; justify-content: center; gap: 1rem; padding: 1rem; }
  .hero-event-bar { font-size: 0.8rem; gap: 0.5rem; }
  .best96-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
@media (max-width: 480px) {
  .hero-event-bar { flex-direction: column; border-radius: var(--radius); gap: 0.35rem; padding: 0.75rem 1rem; }
  .hero-event-bar .heb-sep { display: none; }
  .photos-gallery-placeholder { grid-template-columns: repeat(2, 1fr); }
}

/* ── PRINT (ticket page) ────────────────────────── */
@media print {
  body > *:not(#ticketPrintArea) { display: none !important; }
  #ticketPrintArea {
    display: block !important;
    padding: 24px;
  }
  .ticket-card {
    display: flex;
    border: 2px solid #F47B20;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    max-width: 580px;
    page-break-inside: avoid;
  }
  .ticket-band {
    background: #F47B20 !important;
    color: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .ticket-stub {
    background: #1a1a1a !important;
    color: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* ── RSVP VIEW BUTTON & MODAL ───────────────────── */
.btn-rsvp-view {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.15rem 0.6rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1.4;
}
.btn-rsvp-view:hover { border-color: var(--orange); color: var(--orange); }
.btn-rsvp-tickets { border-color: #059669; color: #059669; }
.btn-rsvp-tickets:hover { background: #059669; color: #fff; }
.rsvp-view-rows { display: flex; flex-direction: column; gap: 0.5rem; }
.rsvp-view-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.88rem; padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.rsvp-view-row:last-child { border-bottom: none; }
.rsvp-view-row span:first-child { color: var(--text-muted); }
