/* =========================================================
   Penn State Graduation Weekend — Ali
   Colors: Nittany Navy #001E44, Beaver Blue #1E407C,
           Pugh Blue #96BEE6, White #FFFFFF, Cream #F4F1EA
   ========================================================= */

:root {
  --psu-navy: #001E44;
  --psu-navy-2: #0A2A5E;
  --psu-blue: #1E407C;
  --psu-light: #96BEE6;
  --psu-cream: #F4F1EA;
  --ink: #1A1A1A;
  --ink-muted: #5A5A5A;
  --line: #E4E4E4;
  --gold: #C8A951;
  --shadow-sm: 0 2px 6px rgba(0, 30, 68, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 30, 68, 0.12);
  --shadow-lg: 0 20px 50px rgba(0, 30, 68, 0.20);
  --radius: 14px;
  --radius-lg: 22px;
  --max-width: 1200px;
  --font-display: 'Bebas Neue', Impact, 'Arial Black', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #FFFFFF;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: var(--psu-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--psu-cream);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 1.5px;
  color: var(--psu-navy);
  margin: 0 0 8px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--ink-muted);
  margin: 0 0 48px;
  font-size: 1.05rem;
}

/* ========================================================
   HEADER
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--psu-navy);
  color: #fff;
  box-shadow: var(--shadow-md);
}

/* ---- Sparkle layer: container for JS-generated twinkling stars ---- */
.sparkle-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* Each sparkle is absolutely positioned with random left/top set inline.
   Two shape variants — round dot or 4-point star (via clip-path) — give
   varied silhouettes. */
.sparkle {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.85));
  animation-name: sparkleTwinkle;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  will-change: opacity, transform;
}

.sparkle.star {
  border-radius: 0;
  background: #fff;
  /* 4-point star/twinkle silhouette */
  clip-path: polygon(
    50% 0%, 58% 42%, 100% 50%, 58% 58%,
    50% 100%, 42% 58%, 0% 50%, 42% 42%
  );
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.95));
}

@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0;                   transform: scale(0.3) rotate(0deg); }
  45%      { opacity: var(--peak, 1);      transform: scale(1)   rotate(25deg); }
  55%      { opacity: calc(var(--peak, 1) * 0.85); transform: scale(1.1) rotate(-15deg); }
}

@media (prefers-reduced-motion: reduce) {
  .sparkle {
    animation: none !important;
    opacity: 0.5;
  }
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }

.psu-shield {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-line-1 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 1.5px;
}

.brand-line-2 {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--psu-light);
  margin-top: 4px;
}

.site-nav {
  display: flex;
  gap: 26px;
}

.site-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  position: relative;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--psu-light);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.site-nav a:hover { text-decoration: none; }
.site-nav a:hover::after { transform: scaleX(1); }

/* ========================================================
   HERO
   ======================================================== */
.hero {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(150, 190, 230, 0.18), transparent 60%),
    linear-gradient(135deg, var(--psu-navy) 0%, var(--psu-navy-2) 60%, var(--psu-blue) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 24px 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 90%, rgba(255,255,255,0.06) 0, transparent 40%),
    radial-gradient(circle at 88% 10%, rgba(200,169,81,0.08) 0, transparent 40%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  font-family: var(--font-display);
  letter-spacing: 8px;
  font-size: clamp(3.6rem, 8vw, 4.8rem);     /* ~4× original (2× previous) */
  color: var(--gold);
  margin: 0 0 6px;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
  animation: congratsPulse 2.6s ease-in-out infinite;
}

@keyframes congratsPulse {
  0%, 100% { transform: scale(1);    opacity: 0.92; }
  50%      { transform: scale(1.035); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow { animation: none; opacity: 1; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 9rem);
  margin: 0;
  letter-spacing: 4px;
  line-height: 0.95;
  background: linear-gradient(180deg, #ffffff 0%, var(--psu-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
  margin: 14px 0 4px;
  letter-spacing: 0.5px;
}

.hero-dates {
  font-size: 1rem;
  color: var(--psu-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

/* ========================================================
   CAROUSEL
   ======================================================== */
.carousel-section {
  padding: 48px 24px;
  background: #fff;
}

.carousel {
  position: relative;
  width: min(100%, 720px);
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  aspect-ratio: 4 / 5;
}

.slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 30, 68, 0.55);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}
.carousel-btn:hover {
  background: var(--psu-navy);
  transform: translateY(-50%) scale(1.05);
}
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }

.dots {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}

.dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.dots button[aria-current="true"] {
  background: #fff;
  transform: scale(1.2);
}

/* ========================================================
   SCHEDULE — DAY ACCORDION
   ======================================================== */
.day-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.day-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) {
  .day-card:hover {
    box-shadow: var(--shadow-md);
  }
}

.day-card.open {
  box-shadow: var(--shadow-md);
}

.day-header {
  width: 100%;
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 16px 22px 16px 16px;
  background: linear-gradient(90deg, #fff 0%, #fff 100%);
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: background 0.25s ease;
}

@media (hover: hover) {
  .day-header:hover {
    background: linear-gradient(90deg, #fff 0%, var(--psu-cream) 100%);
  }
}

.day-photo {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  object-fit: cover;
  border: 3px solid var(--psu-navy);
  background: var(--psu-cream);
}

.day-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.day-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 1.5px;
  color: var(--psu-navy);
  line-height: 1;
}

.day-date {
  font-size: 0.95rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.day-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  background: var(--psu-navy);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
  width: max-content;
}

/* Sunday's "Graduation Day" pill — gold instead of navy */
.day-card[data-day="sunday"] .day-tag {
  background: var(--gold);
  color: var(--psu-navy);
}

.day-chev {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--psu-navy);
  transition: transform 0.3s ease;
}
.day-chev svg { width: 22px; height: 22px; }
.day-card.open .day-chev { transform: rotate(180deg); }

.day-body {
  padding: 6px 24px 26px;
  border-top: 1px solid var(--line);
  background: #fff;
  animation: slideDown 0.35s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Itinerary list ---- */
.itinerary {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  position: relative;
}

.itinerary::before {
  content: '';
  position: absolute;
  left: 148px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--psu-navy), var(--psu-light));
  border-radius: 2px;
}

.event {
  display: grid;
  grid-template-columns: 130px 1fr;
  column-gap: 36px;
  padding: 14px 0;
  position: relative;
}

.event::after {
  content: '';
  position: absolute;
  /* Centered horizontally on the rail (rail center x = 149) — translateX(-50%)
     keeps the dot perfectly centered no matter what the dot/rail widths are. */
  left: 149px;
  transform: translateX(-50%);
  /* Aligned with .event-time-text vertical center:
     event padding-top 14 + icon 36 + margin 8 + half text 14 = 72 → top 66 (− 6 radius). */
  top: 66px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--psu-navy);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--psu-navy);
}


.event-time {
  /* Vertical stack: icon badge on top, time text below.
     align-self: start so this column doesn't stretch when the content
     column (e.g. a map) is tall — keeps icon + time pinned to the top
     of the row, with the dot at a fixed offset matching the time text. */
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: start;
  padding-right: 10px;
}

.event-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--psu-navy);
  border: 2px solid var(--psu-navy);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.event-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Sunday graduation rows: gold ring around the cap badge to match the cap. */
.event.highlight .event-icon {
  border-color: var(--gold);
}


.event-time-text {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 1.78rem;              /* event-title 1.15rem × line-height 1.55 */
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--psu-navy);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.event-time-range {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--psu-navy);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  line-height: 1.78rem;
}

.event-time-range .time-row {
  display: block;
}

.event-time-range .time-arrow {
  width: 14px;
  height: 14px;
  display: block;
  margin: 1px 0;
  color: var(--psu-navy);
}

.event-content {
  /* padding-top mirrors event-time's icon (36px) + margin-bottom (8px),
     so the bold title's first line aligns vertically with the time text
     (and with the timeline dot at top:66). */
  padding-top: 44px;
  padding-left: 26px;
}

.event-title {
  margin: 0 0 4px;
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 700;
}

.event-title a {
  color: var(--psu-blue);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.event-meta {
  font-weight: 400;
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-left: 4px;
}

.event-desc {
  margin: 4px 0 6px;
  color: var(--ink-muted);
}

.event-where {
  margin: 6px 0 10px;
  font-size: 0.95rem;
  color: var(--ink);
}

.event-sublabel {
  margin: 14px 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--psu-navy);
}

.event-sublabel + .event-where {
  margin-top: 2px;
}

.event-photo {
  display: block;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin: 10px 0;
}

/* Walking-map figure: match the .map iframe's dimensions and alignment so
   the two visual aids stack as a uniform pair under the address. */
.walking-map {
  margin: 10px 0 0;
  max-width: 560px;
}
.walking-map .event-photo {
  aspect-ratio: 16 / 9;
  object-fit: contain;        /* preserve the full route + labels */
  background: #fff;           /* fill the letterbox bands cleanly */
  margin: 0;
}
.walking-map figcaption {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-style: italic;
}

/* Inline alert / notice — used for the Pegula Ice Arena bag policy + rules */
.event-alert {
  margin: 12px 0 4px;
  padding: 14px 16px 12px 18px;
  background: #FFF6D6;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 560px;
}
.event-alert h4 {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--psu-navy);
  letter-spacing: 0.2px;
}
.event-alert p {
  margin: 0 0 6px;
}
.event-alert p:last-child {
  margin-bottom: 0;
}
.event-alert a {
  color: var(--psu-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Inline document link (e.g., Graduation Packet PDF) */
.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 4px;
  padding: 10px 16px;
  background: #fff;
  color: var(--psu-navy);
  border: 2px solid var(--psu-navy);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.doc-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.doc-link:hover {
  background: var(--psu-navy);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.event-note {
  margin: 4px 0 12px;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--ink-muted);
}

.event.note .event-content {
  padding: 10px 16px;
  background: var(--psu-cream);
  border-radius: 10px;
  border-left: 4px solid var(--psu-light);
}

/* ---- Inline maps ---- */
.map {
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 9;
  max-width: 560px;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ========================================================
   ACCOMMODATIONS
   ======================================================== */
.stay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.stay-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stay-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stay-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: var(--psu-navy);
  margin: 0 0 6px;
}

.stay-addr {
  color: var(--ink-muted);
  margin: 0 0 16px;
  line-height: 1.5;
}

.stay-map {
  aspect-ratio: 4 / 3;
  margin: 0 0 18px;
  max-width: none;
}

.stay-hero {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.stay-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--psu-navy);
  color: #fff;
}
.btn-primary:hover {
  background: var(--psu-navy-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--psu-navy);
  border-color: var(--psu-navy);
}
.btn-ghost:hover {
  background: var(--psu-navy);
  color: #fff;
  text-decoration: none;
}

/* ========================================================
   THANK-YOU NOTE — handwritten on cream paper, taped on top
   ======================================================== */
.thanks-section {
  padding: 64px 24px 72px;
  background: #fff;
}

.thank-you-note {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 44px 44px 36px;
  background: linear-gradient(180deg, #fffdf6 0%, #fbf6e6 100%);
  border-radius: 4px;
  /* Stacked shadow gives a paper-on-table effect with subtle lift. */
  box-shadow:
    0 1px 1px rgba(0, 30, 68, 0.06),
    0 4px 8px rgba(0, 30, 68, 0.06),
    0 14px 28px rgba(0, 30, 68, 0.10),
    0 28px 48px rgba(0, 30, 68, 0.06);
  transform: rotate(-0.8deg);
  font-family: 'Caveat', 'Comic Sans MS', cursive;
  color: var(--psu-navy);
}

/* Tape strip at the top of the note */
.thank-you-note .note-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 110px;
  height: 26px;
  background: rgba(200, 169, 81, 0.45);
  border-left: 1px dashed rgba(200, 169, 81, 0.55);
  border-right: 1px dashed rgba(200, 169, 81, 0.55);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transform: translateX(-50%) rotate(2deg);
}

.thank-you-note p {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.45;
  margin: 0 0 14px;
  letter-spacing: 0.2px;
}

.thank-you-note .note-signoff {
  margin-top: 22px;
  margin-bottom: 2px;
  font-weight: 600;
}

.thank-you-note .note-signature {
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.4px;
  color: var(--psu-blue);
}

@media (max-width: 600px) {
  .thanks-section { padding: 48px 18px 56px; }
  .thank-you-note { padding: 36px 28px 28px; transform: rotate(-0.5deg); }
  .thank-you-note .note-tape { width: 88px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .thank-you-note { transform: none; }
  .thank-you-note .note-tape { transform: translateX(-50%); }
}

/* ========================================================
   ADDRESS LINKS
   ======================================================== */
.addr-link {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--psu-blue);
}
.addr-link:hover {
  color: var(--psu-navy);
  text-decoration-style: solid;
}
.addr-link strong { color: inherit; }

/* ========================================================
   STAY INFO (check-in / check-out)
   ======================================================== */
.stay-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 16px;
  padding: 12px 14px;
  background: var(--psu-cream);
  border-left: 3px solid var(--psu-navy);
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--ink);
}
.stay-info .lbl {
  display: inline-block;
  min-width: 86px;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--psu-navy);
  margin-right: 8px;
}

/* ========================================================
   BACK-TO-TOP FLOATING BUTTON
   ======================================================== */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--psu-navy);
  color: #fff;
  border: 2px solid #fff;
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  z-index: 60;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--psu-navy-2);
  transform: translateY(-2px) scale(1.05);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  display: block;
}

@media (max-width: 480px) {
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
  .back-to-top svg { width: 20px; height: 20px; }
}

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer {
  background: var(--psu-navy);
  color: #fff;
  padding: 36px 0;
  text-align: center;
}

.footer-inner p {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 3px;
  font-size: 1.4rem;
}

.footer-sub {
  font-family: var(--font-body) !important;
  letter-spacing: 0.5px !important;
  font-size: 0.85rem !important;
  color: var(--psu-light);
  margin-top: 8px !important;
  font-weight: 400;
}

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 768px) {
  .section { padding: 56px 0; }

  .header-inner { padding: 12px 16px; }
  .brand-line-1 { font-size: 1.15rem; }
  .brand-line-2 { font-size: 0.7rem; letter-spacing: 1.5px; }
  .psu-shield { width: 42px; height: 42px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 0.88rem; }

  .hero { padding: 60px 20px 56px; }
  .hero-eyebrow { letter-spacing: 4px; font-size: 1.9rem; }
  .hero-dates { font-size: 0.85rem; letter-spacing: 1.5px; }

  .carousel-section { padding: 28px 12px; }
  .carousel { aspect-ratio: 4 / 5; border-radius: 16px; }
  .carousel-btn { width: 40px; height: 40px; }
  .carousel-btn.prev { left: 10px; }
  .carousel-btn.next { right: 10px; }

  .day-header {
    grid-template-columns: 72px 1fr auto;
    gap: 14px;
    padding: 12px 14px;
  }
  .day-photo { width: 72px; height: 72px; border-radius: 12px; }
  .day-name { font-size: 1.6rem; }
  .day-date { font-size: 0.85rem; }
  .day-tag { font-size: 0.65rem; padding: 2px 8px; }

  .day-body { padding: 4px 16px 20px; }

  .itinerary::before {
    left: 116px;
  }

  .event {
    grid-template-columns: 102px 1fr;
    column-gap: 28px;
  }
  .event::after {
    /* Rail center on this breakpoint = 117 (rail left:116, width:2). */
    left: 117px;
    top: 60px;                  /* 14 + 32 + 6 + 12.65 − 5 (radius) ≈ 60 */
    width: 10px;
    height: 10px;
  }
  .event-time {
    padding-right: 8px;
  }
  .event-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
  }
  .event-icon svg { width: 18px; height: 18px; }
  .event-time-text {
    font-size: 0.82rem;
    height: 1.58rem;           /* event-title 1.02rem × 1.55 */
  }
  .event-content { padding-top: 38px; padding-left: 18px; }   /* 32 icon + 6 margin */
  .event-title { font-size: 1.02rem; }

  .map { aspect-ratio: 4 / 3; }

  .stay-card { padding: 20px; }
  .stay-name { font-size: 1.35rem; }

  .container { padding: 0 16px; }
}

@media (max-width: 420px) {
  .hero-title { letter-spacing: 2px; }

  .day-header {
    grid-template-columns: 60px 1fr auto;
    gap: 10px;
  }
  .day-photo { width: 60px; height: 60px; }
  .day-name { font-size: 1.4rem; }

  .itinerary::before { left: 100px; }
  .event { grid-template-columns: 88px 1fr; column-gap: 22px; }
  .event::after { left: 101px; top: 56px; }  /* rail center at 101 (rail left:100 + 1) */
  .event-content { padding-top: 33px; padding-left: 14px; }   /* 28 icon + 5 margin */
  .event-time { padding-right: 6px; }
  .event-icon { width: 28px; height: 28px; margin-bottom: 5px; }
  .event-icon svg { width: 16px; height: 16px; }
  .event-time-text { font-size: 0.78rem; }

  .stay-actions .btn { flex: 1; text-align: center; }
}

/* ========================================================
   REDUCED MOTION
   ======================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
