/* Guest guides reuse the event palette and print as a travel handout. */
.attendee-guide {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 4rem) 5rem;
}

.attendee-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) 0;
  border-bottom: 1px solid var(--line);
}

.attendee-hero h1 {
  max-width: 12ch;
  margin: 1rem 0;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.08;
}

.attendee-lead {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.arrival-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--gold);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.arrival-card::before {
  content: "";
  position: absolute;
  inset: 0.4rem;
  border: 1px solid var(--line);
  pointer-events: none;
}

.arrival-time {
  display: block;
  margin: 1rem 0;
  color: var(--gold-bright);
  font: 700 clamp(1.8rem, 3vw, 2.4rem)/1.2 var(--display);
}

.arrival-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.guest-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin: 0;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.guest-facts dt {
  margin-bottom: 0.65rem;
  color: var(--dim);
  font: 0.75rem/1.4 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guest-facts dd {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

.guide-section {
  padding-top: 4rem;
}

.guide-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.guide-section p,
.guide-section li {
  line-height: 1.7;
}

.guide-section a:not(.button),
.attendee-footer a {
  text-underline-offset: 0.22em;
}

.guest-schedule {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.guest-schedule li {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.schedule-time {
  color: var(--gold-bright);
  font: 0.95rem/1.5 ui-sans-serif, system-ui, sans-serif;
}

.guest-schedule h3,
.travel-card h3,
.guest-notes h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}

.guest-schedule p {
  max-width: 45rem;
  margin: 0;
  color: var(--muted);
}

.travel-grid,
.guest-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.travel-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: var(--charcoal);
}

.travel-card p:last-child {
  margin-bottom: 0;
}

.train {
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  margin-right: 0.25rem;
  border-radius: 50%;
  background: #0055a4;
  color: #fff;
  font: 700 1rem/1 ui-sans-serif, system-ui, sans-serif;
}

.train.red {
  background: #c52233;
}

.travel-note {
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  color: var(--muted);
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.guest-notes {
  gap: 1rem 2.5rem;
}

.attendee-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1.25rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 0.85rem/1.6 ui-sans-serif, system-ui, sans-serif;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 20;
  padding: 1rem;
  background: var(--ink);
  color: var(--black);
}

.skip-link:focus {
  top: 1rem;
}

@media (max-width: 720px) {
  .attendee-hero,
  .travel-grid,
  .guest-notes,
  .guest-facts,
  .guest-schedule li {
    grid-template-columns: 1fr;
  }

  .guest-facts {
    gap: 1.25rem;
  }

  .guest-schedule li {
    gap: 0.5rem;
  }

  .attendee-hero h1 {
    max-width: none;
  }
}

@media print {
  :root {
    color-scheme: light;
    --ink: #111;
    --muted: #333;
    --dim: #333;
    --gold-bright: #222;
    --line: #ccc;
  }

  body,
  .arrival-card,
  .travel-card {
    background: #fff;
    box-shadow: none;
  }

  .site-header,
  .skip-link,
  .map-links,
  .attendee-footer {
    display: none;
  }

  .attendee-guide {
    max-width: none;
    padding: 0;
  }

  .attendee-hero,
  .guide-section {
    padding-block: 1rem;
  }

  .attendee-hero h1 {
    font-size: 2.5rem;
  }

  .arrival-card,
  .travel-card,
  .guest-schedule li {
    break-inside: avoid;
  }
}
