.upload-field { align-items: center; background: #fbfaf6; border: 1px dashed #cfc7b4; border-radius: 5px; cursor: pointer; display: flex; gap: 14px; padding: 20px; position: relative; }
.upload-field input { inset: 0; opacity: 0; position: absolute; width: 100%; }
.upload-icon { align-items: center; background: #e8e2d1; border-radius: 50%; color: #7d6b37; display: flex; font-size: 24px; height: 45px; justify-content: center; width: 45px; }
.upload-field b { color: #31463f; display: block; font-size: 12px; }
.upload-field small { color: #8a9691; display: block; font-size: 9px; margin-top: 4px; }
.switches { align-items: flex-end; display: flex; gap: 22px; padding-bottom: 11px; }
.switches label { align-items: center; color: #51635c; cursor: pointer; display: flex; font-size: 11px; gap: 7px; }
.switches input { display: none; }
.switches label span { background: #d9ddd9; border-radius: 999px; height: 21px; position: relative; transition: .2s; width: 38px; }
.switches label span::after { background: white; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.2); content: ""; height: 15px; left: 3px; position: absolute; top: 3px; transition: .2s; width: 15px; }
.switches input:checked + span { background: var(--green-2); }
.switches input:checked + span::after { left: 20px; }
.form-footer { align-items: center; background: #f8f6ef; border-radius: 5px; display: flex; justify-content: space-between; padding: 12px 14px; }
.form-footer > span { color: #8a9691; font-size: 10px; }
.save-button { background: linear-gradient(135deg, #164f42, #0a3028); border: 0; border-radius: 4px; color: white; min-width: 170px; padding: 12px 18px; }
.save-button:disabled { opacity: .6; }
.form-notice { color: #326b58; font-size: 11px; }
.form-notice--error { color: #a34942; margin-top: 12px; text-align: center; }
.panel-heading--records select { font-size: 11px; max-width: 230px; padding: 9px; }
.empty-records { color: #85918c; padding: 50px 20px; text-align: center; }
.empty-records > span { color: var(--gold); font-size: 26px; }
.empty-records h3 { color: #384e46; font-size: 25px; font-weight: 700; margin: 10px 0 5px; }
.empty-records p { font-size: 11px; }
.records-table { display: grid; }
.records-table article { align-items: center; border-bottom: 1px solid #efede6; display: grid; gap: 18px; grid-template-columns: 50px minmax(150px, 1.2fr) 1fr 1fr auto; padding: 14px 3px; transition: .2s; }
.records-table article:last-child { border-bottom: 0; }
.records-table article:hover { background: #fbfaf6; }
.record-muted { opacity: .45; }
.record-avatar { align-items: center; background: #0d4236; border-radius: 50%; color: var(--gold); display: flex; font-weight: 700; height: 42px; justify-content: center; overflow: hidden; width: 42px; }
.record-avatar img { height: 100%; object-fit: cover; width: 100%; }
.record-name b, .record-detail b { color: #253d35; display: block; font-size: 12px; }
.record-name span, .record-detail span { color: #919b97; display: block; font-size: 9px; margin-bottom: 3px; }
.record-actions { display: flex; gap: 5px; }
.record-actions button { background: #f3f2ed; border: 0; border-radius: 4px; color: #52665e; height: 31px; width: 31px; }
.record-actions .delete-action { color: #ad554e; }

@keyframes pulse-halo { 0%, 100% { transform: scale(.98); opacity: .6; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes float-spark { 0%, 100% { transform: translateY(-8px) rotate(0); } 50% { transform: translateY(8px) rotate(45deg); } }
@keyframes scroll-cue { 0% { opacity: 0; transform: translateY(0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(25px); } }
@keyframes slide-reveal { from { opacity: 0; transform: translateY(18px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes light-float { 0%, 100% { opacity: .28; translate: 0 -9px; } 50% { opacity: .78; translate: 0 9px; } }
@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes ring-pulse { 0%, 100% { opacity: .35; transform: scale(.97); } 50% { opacity: .8; transform: scale(1.03); } }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; padding-top: 145px; text-align: center; }
  .hero-copy { margin: auto; }
  .eyebrow, .hero-actions { justify-content: center; }
  .hero-copy > p { margin-left: auto; margin-right: auto; }
  .hero-emblem { min-height: 410px; }
  .emblem-arch { height: 460px; width: 420px; }
  .hero-emblem img { width: 90%; }
  .emblem-halo { height: 420px; width: 420px; }
  .honoree-grid { grid-template-columns: repeat(2, 1fr); }
  .person-slide { gap: 32px; }
  .person-portrait { height: min(27vh, 265px); width: min(27vh, 265px); }
  .admin-shell { grid-template-columns: 205px minmax(0, 1fr); }
  .admin-sidebar > img { width: 160px; }
}

@media (max-width: 760px) {
  .topbar { height: 76px; padding: 0 17px; }
  .brand-lockup--compact img { width: 120px; }
  .topbar-actions { gap: 8px; }
  .topbar-actions > a:first-child { display: none; }
  .text-button { font-size: 11px; padding: 8px 12px; }
  .hero { padding: 115px 20px 70px; }
  .hero h1 span { font-size: 48px; }
  .hero h1 strong { font-size: 68px; }
  .hero-actions { display: grid; }
  .hero-emblem { min-height: 320px; }
  .emblem-arch { height: 350px; padding: 42px 20px 24px; width: min(84vw, 380px); }
  .hero-emblem img { width: 92%; }
  .emblem-star { top: 35px; }
  .emblem-caption { font-size: 9px; margin-top: 8px; }
  .emblem-halo { height: 300px; width: 300px; }
  .intro-strip { gap: 12px; }
  .section-heading { align-items: start; display: grid; gap: 20px; }
  .section-heading h2 { font-size: 58px; }
  .honoree-groups { gap: 75px; }
  .group-heading { gap: 10px; grid-template-columns: auto auto 1fr auto; }
  .group-heading h3 { font-size: 24px; }
  .honoree-grid { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; text-align: center; }
  .footer .brand-lockup { margin: auto; }
  .show-stage { min-height: 100svh; }
  .stage-frame { inset: 9px; }
  .stage-logo { left: 18px; top: 20px; width: 120px; }
  .stage-signature { display: none; }
  .stage-counter { right: 18px; top: 29px; }
  .stage-slide { padding: 90px 28px 75px; }
  .intro-slide h1 { font-size: 90px; }
  .person-slide { gap: 32px; text-align: center; }
  .person-portrait { height: min(48vw, 230px); width: min(48vw, 230px); }
  .person-content { padding: 22px 18px; width: 100%; }
  .person-category { justify-content: center; }
  .person-content h1, .person-content h1.person-name--long { font-size: clamp(33px, 9.5vw, 48px); line-height: 1.3; margin: 12px 0; }
  .gold-rule { justify-content: center; margin: 7px auto 13px; }
  .person-content blockquote { display: none; }
  .show-controls { opacity: .75; }
  .admin-shell { display: block; }
  .admin-sidebar { align-items: center; flex-direction: row; min-height: 72px; overflow-x: auto; padding: 10px 14px; position: sticky; z-index: 20; }
  .admin-sidebar > img { margin: 0 0 0 14px; width: 112px; }
  .admin-sidebar nav { display: flex; }
  .admin-sidebar nav a { font-size: 0; padding: 10px; }
  .admin-sidebar nav span { font-size: 18px; }
  .logout-button { font-size: 0; margin: 0 auto 0 0; padding: 8px; }
  .logout-button::before { content: "×"; font-size: 20px; }
  .admin-main { padding: 28px 15px 60px; }
  .admin-header { align-items: start; display: grid; gap: 18px; }
  .admin-stats { gap: 20px; }
  .admin-panel { padding: 18px 14px; }
  .honoree-form { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .switches { padding: 5px 0; }
  .form-footer { align-items: stretch; display: grid; gap: 10px; }
  .records-table article { grid-template-columns: 42px 1fr auto; }
  .record-detail { display: none; }
  .panel-heading--records { align-items: stretch; display: grid; gap: 12px; }
  .panel-heading--records select { max-width: none; }
}
