:root {
  --navy: #0a1628;
  --navy-light: #173554;
  --gold: #f0b429;
  --blue: #185fa5;
  --ink: #172033;
  --muted: #5e6878;
  --line: #e2e7ed;
  --surface: #ffffff;
  --background: #f3f5f8;
  --soft: #f8fafc;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 22, 40, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 24px 16px;
  background: var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

button,
input,
a {
  font: inherit;
}

a {
  color: var(--blue);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(240, 180, 41, 0.75);
  outline-offset: 3px;
}

main {
  width: min(100%, 920px);
  margin: 0 auto;
}

.page {
  width: min(100%, 760px);
  margin: 0 auto;
}

header,
.site-header {
  margin-bottom: 18px;
  padding: 26px 22px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--navy), #112e4c);
  color: white;
  text-align: center;
  box-shadow: var(--shadow);
}

.eyebrow,
.site-header .eyebrow,
.event-hero .eyebrow {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

h1,
.site-header h1 {
  margin: 0 0 6px;
  font-size: clamp(25px, 5vw, 34px);
  line-height: 1.15;
}

header p:last-child,
.site-header p {
  margin: 0;
  color: #b7cce0;
  font-size: 15px;
}

.intro {
  margin: 0 0 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--muted);
  text-align: center;
  box-shadow: 0 6px 18px rgba(10, 22, 40, 0.04);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.card {
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 6px 20px rgba(10, 22, 40, 0.04);
}

.grid .card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
}

.card h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 20px;
}

.card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.project-nav {
  margin: 0 0 16px;
}

.project-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.name-card h2 {
  margin: 0 0 7px;
  font-size: 22px;
}

.name-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}

.field-label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 750;
}

.name-row {
  display: flex;
  gap: 10px;
}

.name-row input {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #c9d1db;
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font-size: 16px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--navy);
  color: white;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--navy-light);
}

.button.secondary {
  border-color: #cbd5e1;
  background: white;
  color: var(--navy);
}

.button.secondary:hover {
  background: #f1f5f9;
}

.button.gold {
  background: var(--gold);
  color: #1a2433;
}

.button.gold:hover {
  background: #dfa51e;
}

.brochure,
.brochure.visible {
  display: block;
}

.personal-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 19px 21px;
  border-radius: var(--radius);
  background: var(--navy);
  color: white;
}

.avatar {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-light);
  color: #c9ddef;
  font-size: 18px;
  font-weight: 800;
}

.personal-banner h2 {
  margin: 0 0 2px;
  font-size: 20px;
}

.personal-banner p {
  margin: 0;
  color: #b7cce0;
  font-size: 14px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.25;
}

.welcome-copy {
  color: #445064;
  font-size: 15px;
}

.welcome-copy p {
  margin: 0 0 12px;
}

.welcome-copy p:last-child {
  margin-bottom: 0;
}

.prepare-list {
  margin: 10px 0 0;
  padding-left: 21px;
}

.prepare-list li {
  margin-bottom: 5px;
}

.event-hero {
  margin-bottom: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--navy), #102c49);
  color: white;
  box-shadow: var(--shadow);
}

.event-hero h2 {
  margin: 0 0 16px;
  font-size: clamp(22px, 4.5vw, 30px);
}

.event-facts {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.event-fact {
  padding: 13px 15px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
}

.event-fact strong {
  display: block;
  margin-bottom: 2px;
  color: white;
  font-size: 15px;
}

.event-fact span {
  color: #bed2e4;
  font-size: 14px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.action-row.centered {
  justify-content: center;
}

.minister-alert {
  margin: 0 0 16px;
  padding: 14px 15px;
  border: 1px solid rgba(240, 180, 41, 0.55);
  border-radius: 12px;
  background: #fff8e6;
  color: #6b4b00;
  font-size: 14px;
}

.session-time-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.session-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef4fb;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfcfe);
  box-shadow: 0 6px 18px rgba(10, 22, 40, 0.04);
}

.schedule-row + .schedule-row {
  margin-top: 12px;
}

.day-pill {
  display: grid;
  width: 64px;
  min-height: 64px;
  place-items: center;
  align-content: center;
  padding: 10px 8px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--navy), #143657);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.schedule-row h3 {
  margin: 2px 0 4px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.25;
}

.schedule-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.featured-minister-card {
  display: grid;
  grid-template-columns: minmax(170px, 240px) 1fr;
  gap: 18px;
  align-items: stretch;
}

.featured-minister-photo {
  overflow: hidden;
  border: 1px solid rgba(240, 180, 41, 0.42);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.featured-minister-photo img,
.featured-minister-photo .minister-placeholder {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.featured-minister-copy {
  padding: 16px;
  border: 1px solid rgba(240, 180, 41, 0.32);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.featured-minister-copy h3 {
  margin: 0 0 5px;
  color: white;
  font-size: 24px;
}

.featured-minister-copy .minister-role {
  padding: 0;
  margin-bottom: 12px;
}

.featured-minister-copy p {
  margin: 0 0 14px;
  color: #dce8f4;
  font-size: 15px;
}

.minister-section {
  border-color: rgba(240, 180, 41, 0.58);
  background: linear-gradient(145deg, #071327, #102b48);
}

.minister-section .section-title {
  color: white;
  justify-content: center;
}

.minister-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 11px;
}

.minister-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(240, 180, 41, 0.42);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.minister-card img,
.minister-placeholder {
  width: 100%;
  height: 136px;
}

.minister-card img {
  display: block;
  object-fit: cover;
  background: #122b48;
}

.minister-placeholder {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, #294b70, #0a1628);
  color: var(--gold);
  font-size: 29px;
  font-weight: 850;
}

.minister-name {
  padding: 10px 8px 3px;
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.minister-role {
  padding: 0 8px 11px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.info-grid,
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 10px;
}

.info-tile,
.location-tile {
  padding: 14px;
  border: 1px solid #e8edf2;
  border-radius: 11px;
  background: var(--soft);
}

.info-tile strong,
.location-tile strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}

.info-tile p,
.location-tile span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 750;
}

.speaker-message-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.speaker-message-card {
  padding: 15px;
  border: 1px solid #e8edf2;
  border-radius: 12px;
  background: var(--soft);
}

.speaker-message-card h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 15px;
}

.speaker-message-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.attraction-map {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.attraction-hotspot {
  position: absolute;
  top: 7%;
  bottom: 3%;
  border-radius: 12px;
  text-indent: -9999px;
}

.attraction-hotspot:hover,
.attraction-hotspot:focus-visible {
  background: rgba(240, 180, 41, 0.15);
  box-shadow: inset 0 0 0 3px rgba(240, 180, 41, 0.85);
}

.hotspot-rbg {
  left: 1.4%;
  width: 19.1%;
}

.hotspot-safari {
  left: 21%;
  width: 18.2%;
}

.hotspot-parkway {
  left: 40.1%;
  width: 18.5%;
}

.hotspot-falls {
  left: 59.3%;
  width: 19%;
}

.hotspot-cn {
  left: 79%;
  width: 19.7%;
}

.attraction-image-link {
  display: block;
  border-radius: 12px;
  text-decoration: none;
}

.attraction-image-link:hover .attraction-image,
.attraction-image-link:focus-visible .attraction-image {
  filter: brightness(0.96);
}

.attraction-help-text {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.attraction-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.attraction-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
  margin-top: 13px;
}

.attraction-links a {
  padding: 10px 12px;
  border: 1px solid #e1e7ee;
  border-radius: 9px;
  background: var(--soft);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.contact-card {
  padding: 14px;
  border: 1px solid #e5eaf0;
  border-radius: 11px;
  background: var(--soft);
}

.contact-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.contact-card a {
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.emergency-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #edf1f5;
}

.emergency-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.emergency-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.emergency-row strong {
  color: var(--ink);
}

.qr-card {
  text-align: center;
}

.qr-card img {
  display: block;
  width: 190px;
  max-width: 60vw;
  height: auto;
  margin: 0 auto 12px;
  border-radius: 10px;
}

.qr-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

footer,
.footer-note {
  padding: 22px 8px 4px;
  color: #748093;
  text-align: center;
  font-size: 13px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 14px 0 6px;
}

.status-message {
  min-height: 20px;
  margin-top: 8px;
  color: #b42318;
  font-size: 13px;
}

@media (max-width: 620px) {
  .featured-minister-card {
    grid-template-columns: 1fr;
  }

  .featured-minister-photo img,
  .featured-minister-photo .minister-placeholder {
    height: 300px;
  }
}

@media (max-width: 520px) {
  body {
    padding: 14px 10px;
  }

  header,
  .site-header {
    padding: 28px 18px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card,
  .event-hero {
    padding: 18px;
  }

  .name-row {
    flex-direction: column;
  }

  .name-row .button,
  .action-row .button {
    width: 100%;
  }

  .minister-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .minister-card img,
  .minister-placeholder {
    height: 128px;
  }

  .schedule-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .day-pill {
    width: fit-content;
    min-height: 0;
    padding: 8px 12px;
    border-radius: 999px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  @page {
    size: Letter;
    margin: 0.45in;
  }

  body {
    padding: 0;
    background: white;
  }

  .page {
    width: 100%;
    max-width: none;
  }

  .project-nav,
  .footer-actions,
  .reset-button {
    display: none !important;
  }

  .brochure {
    display: block !important;
  }

  .site-header,
  .personal-banner,
  .event-hero,
  .minister-section {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .card,
  .event-hero,
  .personal-banner {
    break-inside: avoid;
    box-shadow: none;
  }

  a {
    color: inherit;
    text-decoration: none;
  }
}
