:root {
  --navy: #072b4a;
  --navy-2: #0b3f67;
  --blue: #007dc3;
  --blue-dark: #00659d;
  --gold: #c99a12;
  --csrde-gold: #977800;
  --pale-blue: #eaf5fb;
  --pale-gold: #fff7dd;
  --ink: #172b3a;
  --muted: #5d6b75;
  --line: #d6e0e6;
  --soft: #f4f7f9;
  --white: #fff;
  --shadow: 0 12px 34px rgba(7, 43, 74, .11);
  --sans: "Gill Sans", "Gill Sans MT", "Trebuchet MS", Arial, sans-serif;
  --serif: Garamond, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f8fafb;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue-dark); }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); }
h2 { color: var(--navy); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; margin-bottom: .65rem; }
h3 { color: var(--navy); line-height: 1.2; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: -5rem;
  padding: .7rem 1rem;
  border-radius: .45rem;
  color: #fff;
  background: var(--navy);
}
.skip-link:focus { top: 1rem; }

.review-banner {
  min-height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .65rem;
  padding: .38rem 1rem;
  color: #2f2300;
  background: #f7cf63;
  font-size: .82rem;
  letter-spacing: .02em;
}
.review-banner strong { text-transform: uppercase; letter-spacing: .1em; }

.offline-banner {
  position: fixed;
  z-index: 500;
  top: .7rem;
  left: 50%;
  width: min(620px, calc(100% - 1.5rem));
  padding: .65rem .9rem;
  transform: translateX(-50%);
  border: 1px solid #f7cf63;
  border-radius: .45rem;
  color: #fff;
  background: rgba(7, 43, 74, .97);
  box-shadow: var(--shadow);
  text-align: center;
  font-size: .88rem;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 355px;
  overflow: hidden;
  color: #fff;
  background-image: url("assets/norfolk-cover.jpeg");
  background-position: center 53%;
  background-size: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 24, 40, .96) 0%, rgba(4, 31, 52, .84) 42%, rgba(4, 31, 52, .22) 76%, rgba(4, 31, 52, .48) 100%),
    linear-gradient(0deg, rgba(7, 43, 74, .92) 0%, rgba(7, 43, 74, 0) 45%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.5rem));
  min-height: 355px;
  margin: auto;
  padding: 3.25rem 0 2.5rem;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 1.75rem;
  align-items: center;
}
.event-mark {
  width: 108px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  border: 3px solid var(--gold);
  background: rgba(7, 43, 74, .88);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .24);
}
.event-mark span { display: block; font-weight: 700; font-size: 1.5rem; letter-spacing: .14em; }
.event-mark b { display: block; margin-top: -.2rem; color: var(--gold); font-family: var(--serif); font-size: 3.5rem; line-height: 1; }
.eyebrow, .section-kicker, .day-label {
  margin-bottom: .45rem;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero h1 { max-width: 740px; margin-bottom: .85rem; color: #fff; font-size: clamp(2.65rem, 5vw, 4.9rem); line-height: .92; text-wrap: balance; }
.event-meta { display: flex; flex-wrap: wrap; gap: .45rem .7rem; margin: 0; color: #dfeef7; font-size: 1rem; }
.hero-actions { display: grid; gap: .7rem; min-width: 195px; }

.button {
  min-height: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .55rem;
  padding: .66rem 1rem;
  border: 1px solid transparent;
  border-radius: .45rem;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
}
.button:focus-visible, .nav-link:focus-visible, .day-tab:focus-visible, .text-button:focus-visible, .sponsor-card:focus-visible,
.map-tab:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #f7cf63;
  outline-offset: 2px;
}
.button-gold { color: #172b3a; background: var(--gold); }
.button-gold:hover { background: #e0b42d; }
.button-glass { color: #fff; border-color: rgba(255, 255, 255, .56); background: rgba(7, 43, 74, .56); }
.button-glass:hover { background: rgba(7, 43, 74, .85); }
.button-primary { color: #fff; background: var(--blue-dark); }
.button-primary:hover { background: var(--navy); }
.button-outline { color: var(--navy); border-color: #9eb4c3; background: #fff; }
.button-outline:hover { border-color: var(--blue); background: var(--pale-blue); }
.count-badge {
  min-width: 1.65rem;
  height: 1.65rem;
  display: inline-grid;
  place-items: center;
  padding: 0 .3rem;
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-size: .78rem;
}
.count-badge.dark { color: #fff; background: var(--navy); }

.primary-nav {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  background: var(--navy);
  box-shadow: 0 4px 18px rgba(7, 43, 74, .16);
}
.nav-inner {
  width: min(1180px, 100%);
  margin: auto;
  padding: 0 1.25rem;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-link {
  flex: 0 0 auto;
  min-height: 54px;
  padding: .85rem 1.15rem;
  border: 0;
  border-bottom: 4px solid transparent;
  color: #dbeaf3;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-link.is-active { color: #fff; border-bottom-color: var(--gold); }

.view { min-height: 60vh; }
.page-shell { width: min(1180px, calc(100% - 2.5rem)); margin: auto; padding: clamp(2.5rem, 5vw, 4.6rem) 0 5rem; }
.schedule-shell { padding-top: 2.8rem; }
.section-heading-row { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-end; margin-bottom: 1.7rem; }
.section-heading-row > div:first-child { max-width: 760px; }
.section-lede { max-width: 720px; margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }
.schedule-quick-actions { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: flex-end; }

.day-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .45rem;
  margin: 1.8rem 0 1rem;
}
.day-tab {
  min-height: 58px;
  padding: .55rem .45rem;
  border: 1px solid #b9c9d3;
  border-radius: .45rem .45rem 0 0;
  color: var(--navy);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}
.day-tab span { display: block; color: var(--muted); font-size: .75rem; font-weight: 400; }
.day-tab:hover { border-color: var(--blue); background: var(--pale-blue); }
.day-tab.is-active { color: #fff; border-color: var(--navy); background: var(--navy); box-shadow: inset 0 -5px var(--gold); }
.day-tab.is-active span { color: #d9e8f1; }

.filters {
  display: grid;
  grid-template-columns: minmax(280px, 2fr) repeat(3, minmax(150px, 1fr)) auto;
  gap: .7rem;
  align-items: end;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 43, 74, .06);
}
.filters label { min-width: 0; }
.field-label { display: block; margin: 0 0 .28rem .08rem; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.filters input, .filters select {
  width: 100%;
  height: 46px;
  padding: .55rem .7rem;
  border: 1px solid #adbec9;
  border-radius: .35rem;
  color: var(--ink);
  background: #fff;
}
.clear-filters {
  height: 46px;
  border: 0;
  color: var(--blue-dark);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}
.results-bar { min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; }
.results-bar p { margin: 0; color: var(--muted); }
.text-button { padding: .25rem .1rem; border: 0; color: var(--blue-dark); background: transparent; font-weight: 700; text-decoration: underline; text-underline-offset: .2rem; cursor: pointer; }
.text-button.light { color: #fff; }

.schedule-results { display: grid; gap: 2rem; }
.day-section { scroll-margin-top: 80px; }
.day-heading {
  position: relative;
  margin: 0 0 1rem;
  padding: .8rem 1rem .62rem;
  border-bottom: 4px solid var(--gold);
  color: var(--navy);
  background: var(--pale-blue);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}
.day-heading small { display: block; margin-top: .35rem; color: var(--muted); font-family: var(--sans); font-size: .8rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.time-block {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 1.1rem;
  margin-bottom: 1.4rem;
}
.time-label { padding-top: .5rem; color: var(--navy); font-size: 1.03rem; font-weight: 700; }
.time-label span { display: block; margin-top: .25rem; color: var(--muted); font-size: .78rem; font-weight: 400; }
.time-sessions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.session-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: .55rem;
  background: #fff;
  box-shadow: 0 5px 18px rgba(7, 43, 74, .06);
  scroll-margin-top: 76px;
}
.session-card.is-saved { border-left-color: var(--gold); box-shadow: 0 8px 24px rgba(151, 120, 0, .14); }
.session-card.is-highlighted { animation: highlight 2.4s ease; }
@keyframes highlight { 0%, 40% { box-shadow: 0 0 0 5px rgba(201, 154, 18, .45); } 100% { box-shadow: 0 5px 18px rgba(7, 43, 74, .06); } }
.session-main { padding: .95rem 1rem .8rem; }
.session-meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .55rem; margin-bottom: .45rem; color: var(--muted); font-size: .78rem; }
.type-pill { display: inline-flex; padding: .16rem .46rem; border-radius: 999px; color: #fff; background: var(--navy-2); font-weight: 700; }
.room-label { font-weight: 700; }
.review-pill { display: inline-flex; padding: .14rem .4rem; border-radius: 999px; color: #604400; background: #f7cf63; font-weight: 700; }
.session-card h3 { margin-bottom: .5rem; font-size: 1.16rem; }
.authors { margin: 0; color: #3e505c; font-size: .88rem; }
.authors span { display: block; }
.session-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .45rem; padding: .65rem 1rem .85rem; border-top: 1px solid #e7edf0; }
.mini-button, .calendar-summary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .45rem .65rem;
  border: 1px solid #aebfca;
  border-radius: .35rem;
  color: var(--navy);
  background: #fff;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.mini-button:hover, .calendar-summary:hover { border-color: var(--blue); background: var(--pale-blue); }
.save-button[aria-pressed="true"] { border-color: var(--gold); background: var(--pale-gold); }
.session-details { border-top: 1px solid #e7edf0; }
.session-details summary { padding: .65rem 1rem; color: var(--blue-dark); font-weight: 700; cursor: pointer; }
.detail-body { padding: .1rem 1rem 1rem; }
.detail-body p { margin-bottom: .8rem; }
.detail-label { margin: .9rem 0 .24rem; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.detail-tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.detail-tags span { display: inline-flex; padding: .24rem .48rem; border-radius: .3rem; background: var(--soft); font-size: .78rem; }
.review-note { padding: .65rem .75rem; border-left: 4px solid var(--gold); background: var(--pale-gold); font-size: .84rem; }
.calendar-menu { position: relative; }
.calendar-summary { list-style: none; }
.calendar-summary::-webkit-details-marker { display: none; }
.calendar-options {
  position: absolute;
  z-index: 20;
  right: 0;
  bottom: calc(100% + .35rem);
  width: 190px;
  padding: .35rem;
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.calendar-options a, .calendar-options button { width: 100%; display: block; padding: .55rem .65rem; border: 0; border-radius: .25rem; color: var(--navy); background: #fff; text-align: left; text-decoration: none; cursor: pointer; }
.calendar-options a:hover, .calendar-options button:hover { background: var(--pale-blue); }
.empty-state { padding: 4rem 1rem; border: 1px dashed #aebfca; border-radius: .55rem; text-align: center; background: #fff; }

.saved-dock {
  position: sticky;
  z-index: 45;
  bottom: 0;
  width: min(900px, calc(100% - 2rem));
  margin: -1rem auto 1rem;
  padding: .7rem .9rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: .65rem;
  color: #fff;
  background: rgba(7, 43, 74, .97);
  box-shadow: 0 14px 38px rgba(7, 43, 74, .28);
}
.saved-dock > div { min-width: 0; margin-right: auto; }
.saved-dock strong, .saved-dock span { display: block; }
.saved-dock span { color: #cfe1ec; font-size: .78rem; }

.subsection-heading { margin: 4.3rem 0 1.4rem; }
.subsection-heading p:last-child { color: var(--muted); }
.keynote-grid { display: grid; gap: 1.25rem; }
.keynote-card {
  display: grid;
  grid-template-columns: minmax(220px, 310px) minmax(0, 1fr);
  gap: clamp(1.3rem, 4vw, 3rem);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.keynote-card img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; object-position: 50% 24%; background: var(--pale-blue); }
.keynote-card > div { padding: 1.5rem 2rem 1.5rem 0; }
.keynote-card h3 { margin-bottom: .25rem; font-family: var(--serif); font-size: 2rem; }
.talk-title { color: var(--blue-dark); font-size: 1.15rem; font-weight: 700; }
.speaker-role { margin: -.1rem 0 .65rem; color: var(--muted); font-size: .9rem; }
.people-grid { display: grid; gap: .85rem; }
.staff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.advisor-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.person-card { overflow: hidden; border: 1px solid var(--line); border-radius: .55rem; background: #fff; box-shadow: 0 6px 20px rgba(7, 43, 74, .06); }
.person-card img { width: 100%; aspect-ratio: 1.06; object-fit: cover; object-position: center top; background: linear-gradient(145deg, var(--pale-blue), #fff); }
.staff-grid .person-card img { aspect-ratio: 1; }
.person-card > div { padding: .85rem .9rem 1rem; }
.person-card h3 { margin-bottom: .25rem; font-size: 1.05rem; }
.person-card p { margin-bottom: .25rem; color: #445761; font-size: .87rem; }
.person-card small { display: block; color: var(--muted); font-size: .78rem; }

.install-app-panel {
  margin-top: 1rem;
  padding: 1.15rem 1.25rem;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-top: 7px solid var(--gold);
  border-radius: .6rem;
  color: #e7f2f8;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.install-app-panel img { width: 96px; height: 96px; border-radius: 22%; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }
.install-app-panel .section-kicker { margin-bottom: .2rem; }
.install-app-panel h2 { margin-bottom: .4rem; color: #fff; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.install-app-panel p { margin-bottom: .25rem; }
.install-status { color: #bdd9e8; font-size: .88rem; font-weight: 700; }

.install-dialog {
  width: min(680px, calc(100% - 1.5rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: .75rem;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 28px 80px rgba(7, 43, 74, .35);
}
.install-dialog::backdrop { background: rgba(3, 23, 38, .72); backdrop-filter: blur(3px); }
.install-dialog-card { margin: 0; padding: 1.4rem; }
.install-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.install-dialog-header h2 { margin-bottom: .35rem; font-size: clamp(1.8rem, 5vw, 2.65rem); }
.install-close { width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); background: var(--soft); font-size: 1.65rem; line-height: 1; cursor: pointer; }
.install-dialog-lede { color: var(--muted); }
.install-instructions { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1rem; }
.install-instructions section { padding: 1rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--soft); }
.install-instructions h3 { margin-bottom: .6rem; }
.install-instructions ol { margin: 0; padding-left: 1.25rem; }
.install-instructions li + li { margin-top: .38rem; }
.install-dialog-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; margin-top: 1rem; }
.is-standalone [data-install-primary] { display: none !important; }

.sponsors-shell { max-width: 1180px; }
.sponsor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.sponsor-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: .6rem;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 43, 74, .08);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.sponsor-card:hover { transform: translateY(-3px); border-color: #9bb5c5; box-shadow: 0 14px 30px rgba(7, 43, 74, .14); }
.sponsor-logo-stage { display: block; background: #fff; }
.sponsor-logo-stage img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; }
.sponsor-card-copy { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; border-top: 1px solid var(--line); background: var(--pale-blue); }
.sponsor-card-copy strong { font-family: var(--serif); font-size: 1.18rem; }
.sponsor-card-copy span { color: var(--blue-dark); font-size: .86rem; font-weight: 700; text-decoration: underline; text-underline-offset: .2rem; }

.venue-heading-row { align-items: center; }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.info-card { padding: 1.05rem; border-top: 5px solid var(--gold); border-radius: .35rem; background: #fff; box-shadow: 0 5px 18px rgba(7, 43, 74, .06); }
.info-card span { display: block; margin-bottom: .45rem; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.info-card strong { display: block; color: var(--navy); line-height: 1.25; }
.info-card p { margin: .45rem 0 0; font-size: .87rem; }
.map-switcher { display: flex; gap: .4rem; margin-bottom: .7rem; }
.map-tab { min-height: 42px; padding: .55rem .85rem; border: 1px solid #9eb4c3; border-radius: .35rem; color: var(--navy); background: #fff; font-weight: 700; cursor: pointer; }
.map-tab.is-active { color: #fff; border-color: var(--navy); background: var(--navy); }
.map-frame { margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: .6rem; background: #fff; box-shadow: var(--shadow); }
.map-frame img { width: min(900px, 100%); margin: auto; }
.map-frame figcaption { padding-top: .65rem; color: var(--muted); text-align: center; font-size: .85rem; }

.prose-shell { max-width: 1100px; }
.welcome-letter { max-width: 880px; padding: 1.5rem 1.75rem; border-left: 6px solid var(--gold); background: #fff; box-shadow: var(--shadow); }
.signature { margin: 1.5rem 0 0; }
.two-column-info { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.two-column-info article, .sponsor-panel, .look-ahead { padding: 1.4rem; border: 1px solid var(--line); border-radius: .55rem; background: #fff; }
.format-grid, .resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.format-grid article, .resource-grid article { padding: 1rem; border-top: 4px solid var(--blue); background: #fff; box-shadow: 0 5px 18px rgba(7, 43, 74, .05); }
.format-grid h3, .resource-grid h3 { margin-bottom: .35rem; font-size: 1.05rem; }
.format-grid p, .resource-grid p { margin: 0; color: #445761; font-size: .9rem; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag-cloud button { padding: .45rem .65rem; border: 1px solid #aebfca; border-radius: 999px; color: var(--navy); background: #fff; cursor: pointer; }
.tag-cloud button:hover { border-color: var(--blue); background: var(--pale-blue); }
.link-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.3rem; }
.acronym-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.acronym-item { display: grid; grid-template-columns: 84px 1fr; gap: .5rem; padding: .65rem .75rem; background: #fff; }
.acronym-item strong { color: var(--navy); }
.acronym-item span { font-size: .88rem; }
.sponsor-panel { margin-top: 4.2rem; border-top: 7px solid var(--gold); background: var(--pale-gold); }
.look-ahead { margin-top: 1rem; border-top: 7px solid var(--blue); background: var(--pale-blue); }
.review-notes { margin-top: 1rem; border: 1px solid #e3c36c; border-radius: .45rem; background: #fffaf0; }
.review-notes summary { padding: .8rem 1rem; color: #664a00; font-weight: 700; cursor: pointer; }
.review-notes ul { padding: 0 2.2rem 1rem; }

footer { padding: 2.4rem max(1.25rem, calc((100% - 1180px) / 2)); color: #dbeaf3; background: var(--navy); font-size: .82rem; }
footer > div { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-bottom: 1rem; }
footer > div span { color: #bfd2de; }
footer p { max-width: 900px; margin-bottom: .35rem; }
.toast { position: fixed; z-index: 100; right: 1rem; bottom: 1rem; max-width: 360px; padding: .75rem 1rem; border-radius: .45rem; color: #fff; background: var(--navy); box-shadow: var(--shadow); }

@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 88px minmax(0, 1fr); }
  .event-mark { width: 86px; }
  .event-mark b { font-size: 2.8rem; }
  .hero-actions { grid-column: 2; display: flex; flex-wrap: wrap; }
  .filters { grid-template-columns: minmax(260px, 2fr) repeat(2, minmax(150px, 1fr)); }
  .filters label:nth-of-type(4) { grid-column: 1 / span 2; }
  .clear-filters { justify-self: start; }
  .advisor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .install-app-panel { grid-template-columns: 82px minmax(0, 1fr); }
  .install-app-panel img { width: 82px; height: 82px; }
  .install-app-panel > .button { grid-column: 2; justify-self: start; }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .review-banner { align-items: flex-start; flex-direction: column; gap: 0; padding: .45rem .9rem; }
  .hero { min-height: 430px; }
  .hero-inner { width: min(100% - 1.5rem, 650px); min-height: 430px; grid-template-columns: 70px minmax(0, 1fr); gap: 1rem; padding: 2.2rem 0 1.7rem; align-content: center; }
  .event-mark { width: 70px; }
  .event-mark span { font-size: .98rem; }
  .event-mark b { font-size: 2.2rem; }
  .hero h1 { font-size: clamp(2.45rem, 11vw, 3.9rem); }
  .event-meta { flex-direction: column; gap: .12rem; }
  .event-meta span { display: none; }
  .hero-actions { grid-column: 1 / -1; }
  .nav-inner { padding: 0 .35rem; }
  .nav-link { padding: .75rem .8rem; min-height: 51px; font-size: .88rem; }
  .page-shell { width: min(100% - 1.25rem, 650px); padding-top: 2.5rem; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .schedule-quick-actions { justify-content: flex-start; }
  .day-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .filters label:nth-of-type(4) { grid-column: auto; }
  .clear-filters { width: 100%; }
  .time-block { grid-template-columns: 1fr; gap: .45rem; }
  .time-label { display: flex; align-items: baseline; gap: .5rem; padding-top: 0; border-bottom: 1px solid var(--line); }
  .time-label span { display: inline; }
  .time-sessions { grid-template-columns: 1fr; }
  .saved-dock { align-items: stretch; flex-wrap: wrap; }
  .saved-dock > div { flex: 1 1 100%; }
  .keynote-card { grid-template-columns: 1fr; }
  .keynote-card img { min-height: 320px; max-height: 430px; }
  .keynote-card > div { padding: 0 1.1rem 1.4rem; }
  .staff-grid, .advisor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-column-info, .format-grid, .resource-grid { grid-template-columns: 1fr; }
  .install-instructions { grid-template-columns: 1fr; }
  .acronym-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .hero-inner { grid-template-columns: 1fr; }
  .event-mark { width: 66px; }
  .hero-copy { grid-column: 1; }
  .hero-actions .button { flex: 1 1 100%; }
  .day-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: 1fr; }
  .search-field, .filters label:nth-of-type(4) { grid-column: auto; }
  .results-bar { align-items: flex-start; flex-direction: column; }
  .staff-grid, .advisor-grid { grid-template-columns: 1fr; }
  .sponsor-grid { grid-template-columns: 1fr; }
  .install-app-panel { grid-template-columns: 64px minmax(0, 1fr); gap: .8rem; padding: 1rem; }
  .install-app-panel img { width: 64px; height: 64px; }
  .install-app-panel > .button { grid-column: 1 / -1; width: 100%; }
  .person-card { display: grid; grid-template-columns: 42% 1fr; }
  .person-card img, .staff-grid .person-card img { height: 100%; aspect-ratio: auto; }
  .info-grid { grid-template-columns: 1fr; }
  .map-switcher { display: grid; grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
