/***************/
/** VARIABLES **/
/***************/
:root {
  /* Archivist parchment + logo accents */
  --color-blue: #3d5c7a;
  --color-green: #5a7a52;
  --color-orange: #c4843a;
  --color-sky: #efe6d4;
  --color-ink: #2c241c;

  --color-accent: var(--color-orange);
  --color-alternate: #6b3e2e;
  --color-dark: #3a3228;
  --color-darker: #241c16;
  --color-light: #f4f1ea;
  --color-medium: #c9bba6;
  --color-surface: #ebe4d6;
  --color-white: #fbf8f1;
  --color-header: rgba(251, 248, 241, 0.94);
  --color-sepia: #8a7355;
  --color-print: #fffdf8;

  --font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --webpage-max-width: 980px;
  --page-gutter: 1.25rem;
  --radius: 0.2rem;
  --shadow: 0 1px 2px rgba(60, 42, 24, 0.12);
  --shadow-lg: 0 10px 24px rgba(60, 42, 24, 0.16);
  --header-offset: 4.5rem;
}

@font-face {
  font-display: swap;
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/plus-jakarta-sans-400.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/plus-jakarta-sans-500.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/plus-jakarta-sans-600.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/plus-jakarta-sans-700.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/playfair-display-600.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/playfair-display-700.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 700;
  src: url("../fonts/playfair-display-700-italic.woff2") format("woff2");
}

/***********/
/** RESET **/
/***********/
* {
  border: none;
  box-sizing: border-box;
  color: var(--color-dark);
  font-family: var(--font-family);
  font-size: 100%;
  letter-spacing: 0.02rem;
  margin: 0;
  padding: 0;
  word-wrap: break-word;
}

:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

h2[id],
h3[id] {
  scroll-margin-top: calc(var(--header-offset) + 0.75rem);
}

.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.skip-link {
  background: var(--color-blue);
  color: #fff;
  font-weight: 700;
  left: 0.75rem;
  padding: 0.55rem 0.85rem;
  position: absolute;
  text-decoration: none;
  top: -4rem;
  z-index: 200;
}

.skip-link:focus,
.skip-link:focus-visible {
  color: #fff;
  outline-color: #fff;
  top: 0.75rem;
}



/************************/
/** LAYOUT / STRUCTURE **/
/************************/
html {
  background-color: var(--color-light);
  background-image:
    url("../images/pattern-compass.svg"),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(90, 70, 40, 0.018) 3px,
      rgba(90, 70, 40, 0.018) 4px
    ),
    linear-gradient(180deg, #f7f3ea 0%, var(--color-light) 42%, #ebe3d4 100%);
  background-size: 180px 180px, auto, auto;
  color: var(--color-dark);
  font-family: var(--font-family);
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: min(var(--webpage-max-width), 100%);
  min-height: 100vh;
  min-width: 0;
  overflow-x: clip;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  width: 100%;
}

body p, body h1, body h2, body h3 {
  margin: 0 0 1rem;
}

body h2[id] {
  scroll-margin-top: calc(var(--header-offset) + 0.75rem);
}

body ol, body ul {
  margin: 0 0 1rem 1rem;
}

body h1 {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: 0.01rem;
  line-height: 1.2;
}

body h2 {
  border-bottom: 1px solid var(--color-medium);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.01rem;
  margin-top: 2rem;
  padding-bottom: 0.4rem;
}

body h3 {
  color: var(--color-alternate);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
}

h1 *,
h2 *,
h3 * {
  font-family: inherit;
}

body img {
  max-width: 100%;
}

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

a:hover {
  color: var(--color-darker);
}

strong {
  color: inherit;
}



/************/
/** HEADER **/
/************/
.site-header {
  backdrop-filter: blur(10px);
  background: var(--color-header);
  border-bottom: 1px solid rgba(90, 70, 40, 0.18);
  margin-left: calc(-1 * var(--page-gutter));
  margin-right: calc(-1 * var(--page-gutter));
  min-width: 0;
  padding: 0.5rem var(--page-gutter);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__bar {
  --header-control-h: 3rem;
  align-items: center;
  display: flex;
  gap: 0.65rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--webpage-max-width);
  min-height: var(--header-control-h);
}

.site-logo {
  align-items: center;
  color: inherit;
  display: flex;
  flex: 0 1 auto;
  gap: 0.65rem;
  line-height: 0;
  min-width: 0;
  text-decoration: none;
}

.site-logo img {
  display: block;
  flex: 0 0 auto;
  height: 2.75rem;
  margin: 0;
  max-width: none;
  object-fit: contain;
  width: 2.75rem;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.site-logo__name {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
  min-width: 0;
  text-transform: uppercase;
}

.site-logo__tag {
  align-items: center;
  color: var(--color-sepia);
  display: flex;
  font-size: 0.62rem;
  font-weight: 600;
  gap: 0.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-logo__tag::before,
.site-logo__tag::after {
  background: var(--color-medium);
  content: "";
  height: 1px;
  width: 0.85rem;
}

.site-header__nav {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 0.45rem;
  height: var(--header-control-h);
  justify-content: flex-end;
  min-width: 0;
}

.primary-nav {
  background: transparent;
  border: 0;
  display: none;
  height: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: auto;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}

.primary-nav ul {
  align-items: center;
  display: flex;
  gap: 0.15rem;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.primary-nav a {
  align-items: center;
  color: var(--color-ink);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  height: calc(var(--header-control-h) - 0.3rem);
  letter-spacing: 0.1em;
  padding: 0 0.7rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.primary-nav a:hover {
  color: var(--color-alternate);
}

.primary-nav a.current {
  border-bottom: 2px solid var(--color-alternate);
  color: var(--color-alternate);
}

.nav-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--color-ink);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 0.35rem;
  height: calc(var(--header-control-h) - 0.3rem);
  justify-content: center;
  letter-spacing: 0.1em;
  min-width: 0;
  padding: 0 0.7rem;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  color: var(--color-alternate);
}

.site-header.is-open .nav-toggle {
  border-bottom-color: var(--color-alternate);
  color: var(--color-alternate);
}

.nav-toggle__chevron {
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  display: inline-block;
  height: 0.4rem;
  margin-top: -0.15rem;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  width: 0.4rem;
}

.site-header.is-open .nav-toggle__chevron {
  margin-top: 0.15rem;
  transform: rotate(-135deg);
}

.site-nav-panels {
  background: #fff;
  border: 1px solid rgba(107, 62, 46, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: none;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 0.65rem auto 0;
  max-height: min(70vh, 32rem);
  max-width: var(--webpage-max-width);
  overflow-y: auto;
  padding: 0.9rem 1rem;
  -webkit-overflow-scrolling: touch;
}

.site-header.is-open .site-nav-panels {
  display: grid;
}

.site-nav-panels[hidden] {
  display: none !important;
}

.site-header.is-open .site-nav-panels[hidden] {
  display: grid !important;
}

.nav-panel .nav-label {
  color: var(--color-blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08rem;
  margin: 0 0 0.55rem;
  text-transform: uppercase;
}

.nav-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-panel a {
  background: var(--color-surface);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--color-dark);
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  min-height: 2.5rem;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-panel a:hover {
  background: var(--color-sky);
  border-color: rgba(107, 62, 46, 0.2);
  color: var(--color-blue);
}

.nav-panel a.current {
  background: var(--color-green);
  color: #fff;
}

@media (min-width: 760px) {
  .site-header {
    padding: 0.55rem var(--page-gutter);
  }

  .site-header__bar {
    --header-control-h: 3rem;
    gap: 0.85rem 1rem;
  }

  .primary-nav {
    display: block;
  }

  .site-nav-panels {
    grid-template-columns: 1.4fr 1fr;
    max-height: none;
  }
}

@media (min-width: 980px) {
  .site-header__bar {
    --header-control-h: 3.15rem;
  }

  .primary-nav a {
    font-size: 0.78rem;
    padding: 0 0.85rem;
  }
}


/**********/
/** MAIN **/
/**********/
main {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  padding: 1.15rem 0 1.75rem;
  width: 100%;
}

main img {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.55;
}

.note {
  background: var(--color-surface);
  border-left: 4px solid var(--color-green);
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
}

.photo-figure {
  background: var(--color-print);
  border: 0;
  box-shadow: 0 8px 18px rgba(60, 42, 24, 0.18);
  cursor: zoom-in;
  margin: 0 0 1.5rem;
  max-width: 100%;
  overflow: hidden;
  padding: 0.55rem 0.55rem 0;
  transform: rotate(-0.4deg);
}

.photo-figure:focus-visible {
  outline: 3px solid var(--color-alternate);
  outline-offset: 3px;
}

.photo-timeline .timeline-card:nth-child(even) .photo-figure,
.split .photo-figure:nth-child(even) {
  transform: rotate(0.55deg);
}

body#history .photo-figure,
body#history .photo-timeline .timeline-card:nth-child(even) .photo-figure {
  transform: none;
}

.photo-figure img,
.photo-figure picture,
.photo-figure picture img {
  display: block;
  height: auto;
  margin: 0;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.photo-figure figcaption {
  color: var(--color-dark);
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.4;
  padding: 0.7rem 0.45rem 0.85rem;
}

.timeline {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.timeline li {
  background: var(--color-white);
  border-left: 4px solid var(--color-blue);
  padding: 0.75rem 1rem;
}

.timeline .year {
  color: var(--color-alternate);
  display: block;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.08rem;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}



/********************/
/** PORTAL SECTIONS **/
/********************/
.portal-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 1.5rem 0 2rem;
}

@media (min-width: 640px) {
  .portal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .portal-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.portal-link {
  background: var(--color-white);
  border: 1px solid var(--color-medium);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  padding: 1.15rem 1.25rem;
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.portal-link:hover,
.portal-link:focus-visible {
  border-color: var(--color-blue);
  box-shadow: 0 4px 14px rgba(60, 42, 24, 0.16);
  transform: translateY(-2px);
}

.portal-link:focus-visible {
  outline: 3px solid var(--color-alternate);
  outline-offset: 2px;
}

.portal-link h2,
.portal-link h3 {
  border: none;
  color: var(--color-darker);
  margin: 0 0 0.4rem;
  padding: 0;
}

.portal-link p {
  color: var(--color-dark);
  margin: 0;
}



/****************/
/** GUIDE LISTS **/
/****************/
.guide-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.guide-list li {
  background: var(--color-white);
  border: 1px solid var(--color-medium);
  border-left: 4px solid var(--color-sepia);
  margin: 0 0 0.65rem;
  padding: 0.85rem 1rem;
}

.guide-list li:last-child {
  margin-bottom: 0;
}

.guide-list .place-name {
  display: block;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.guide-list .meta {
  color: var(--color-alternate);
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.guide-list .place-blurb {
  display: block;
}

.page-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: -0.15rem 0 1.45rem;
}

.page-jump a {
  background: var(--color-white);
  border: 1px solid var(--color-medium);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  text-decoration: none;
}

.page-jump a:hover {
  background: var(--color-sky);
  border-color: var(--color-alternate);
  color: var(--color-alternate);
}

.walk-badge {
  background: var(--color-green);
  border-radius: 0.25rem;
  color: #fff;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.05rem;
  margin-right: 0.35rem;
  padding: 0.15rem 0.45rem;
}



/*******************/
/** WALK FILTER UI **/
/*******************/
.walk-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.walk-filters button {
  background: var(--color-white);
  border: 1px solid var(--color-medium);
  border-radius: 1rem;
  cursor: pointer;
  font-weight: bold;
  padding: 0.55rem 0.9rem;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.walk-filters a.btn {
  background: var(--color-white);
  border: 1px solid var(--color-medium);
  border-radius: 1rem;
  color: var(--color-ink);
  font-weight: 700;
  padding: 0.55rem 0.9rem;
}

.walk-filters a.btn:hover,
.walk-filters a.btn.active,
.walk-filters a.btn[aria-current="page"] {
  background: var(--color-alternate);
  color: #fff;
}

.map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.map-filters button {
  background: var(--color-white);
  border: 1px solid var(--color-medium);
  border-radius: 1rem;
  cursor: pointer;
  font-weight: bold;
  padding: 0.55rem 0.9rem;
}

.walk-filters button:hover,
.walk-filters button.active,
.map-filters button:hover,
.map-filters button.active {
  background: var(--color-alternate);
  color: #fff;
}

.walk-item[hidden] {
  display: none;
}



/*********/
/** MAP **/
/*********/
#neighborhood-map,
#archive-map {
  background: #d4c7b0;
  border: 1px solid var(--color-medium);
  height: 420px;
  margin: 0 0 1.5rem;
  max-width: 100%;
  overflow: hidden;
  width: 100%;
  z-index: 1;
}

#archive-map {
  height: 340px;
}

#archive-map.is-archive .leaflet-tile-pane {
  filter: sepia(0.38) saturate(0.85) contrast(0.98);
}

.leaflet-container {
  background: #d4c7b0;
  font-family: var(--font-family);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: var(--color-print);
  border-radius: 0;
  box-shadow: 0 8px 18px rgba(36, 28, 22, 0.22);
}

.leaflet-popup-content {
  font-family: var(--font-family);
  margin: 0.75rem 0.9rem;
}

.leaflet-popup-content strong {
  font-family: var(--font-display);
}

.archive-pin {
  background: transparent;
  border: 0;
}

.archive-pin__dot {
  background: linear-gradient(180deg, #d7b56a 0%, #8a6428 100%);
  border: 2px solid #fffdf8;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 2px 6px rgba(36, 28, 22, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  display: block;
  height: 14px;
  transform: rotate(-45deg);
  width: 14px;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.map-legend li {
  align-items: center;
  display: flex;
  font-size: 0.9rem;
  gap: 0.4rem;
}

.legend-swatch {
  border-radius: 50%;
  display: inline-block;
  height: 0.85rem;
  width: 0.85rem;
}

.legend-swatch.transit { background: #c0392b; }
.legend-swatch.dining { background: #e67e22; }
.legend-swatch.culture { background: #6b3e2e; }
.legend-swatch.grocery { background: #27ae60; }
.legend-swatch.green { background: #1abc9c; }
.legend-swatch.mobility { background: #2980b9; }



/*******************/
/** TRANSIT WIDGET **/
/*******************/
.transit-widget {
  background: var(--color-white);
  border: 1px solid var(--color-medium);
  border-radius: var(--radius);
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
}

.transit-widget .status {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.arrival-table {
  border-collapse: collapse;
  margin: 0 0 0.75rem;
  width: 100%;
}

.arrival-table th,
.arrival-table td {
  border-bottom: 1px solid #ddd;
  padding: 0.5rem 0.35rem;
  text-align: left;
}

.arrival-table th {
  color: var(--color-alternate);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
}

.btn {
  background: var(--color-blue);
  border-radius: 2px;
  color: #fff;
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.6rem 1.05rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.25s ease, transform 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: #2f4a62;
  color: #fff;
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--color-orange);
  color: #111;
}

a.btn.btn-accent {
  color: #111;
}

.btn-accent:hover {
  background: #d4923f;
  color: #111;
}

.btn-archive {
  background: var(--color-print);
  border: 2px solid var(--color-alternate);
  box-shadow: var(--shadow);
  color: var(--color-alternate);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.btn-archive:hover {
  background: var(--color-sky);
  color: var(--color-ink);
}

.btn-modern {
  background: var(--color-blue);
  color: #fff;
}

.btn-modern:hover {
  background: #3d5368;
  color: #fff;
}



/****************/
/** EVENT FEED **/
/****************/
.event-feed {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.event-feed li {
  background: var(--color-white);
  border-left: 4px solid var(--color-blue);
  margin: 0 0 0.85rem;
  padding: 0.9rem 1rem;
}

.event-feed .venue {
  color: var(--color-alternate);
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}



/*******************/
/** TWO-COL LAYOUT **/
/*******************/
.split {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.5rem;
}

@media (min-width: 720px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.panel {
  background: var(--color-white);
  border: 1px solid var(--color-medium);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}

.panel h3 {
  margin-top: 0;
}



/************/
/** FOOTER **/
/************/
footer {
  border-top: 1px solid var(--color-medium);
  display: flex;
  flex: 0;
  flex-direction: column;
  font-size: .75rem;
  gap: 0.5rem;
  justify-content: center;
  margin: 0 1rem;
  min-width: 0;
  padding: 1rem 0.5rem;
  text-align: center;
}

.footer-marks {
  align-items: center;
  color: var(--color-sepia);
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  margin: 0.15rem 0 0.35rem;
}

.footer-marks .brand-icon {
  height: 1.35rem;
  width: 1.35rem;
}

.brand-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.dialogue-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 0 0 1.75rem;
}

.dialogue-card {
  box-shadow: var(--shadow-lg);
  display: block;
  padding: 1.35rem 1.35rem 1.45rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dialogue-card:hover,
.dialogue-card:focus-visible {
  box-shadow: 0 12px 28px rgba(60, 42, 24, 0.18);
  transform: translateY(-2px);
}

.dialogue-card:focus-visible {
  outline: 3px solid var(--color-alternate);
  outline-offset: 3px;
}

.dialogue-card h2,
.dialogue-card h3 {
  margin-top: 0;
}

.dialogue-card p {
  margin: 0;
}

.dialogue-card--roots {
  background: var(--color-surface);
  border: 2px solid var(--color-medium);
}

.dialogue-card--now {
  background: #f7f5f0;
  border: 2px solid var(--color-medium);
}

.dialogue-card--now .brand-icon {
  color: var(--color-blue);
}

.dialogue-card .brand-icon {
  color: var(--color-sepia);
  height: 1.6rem;
  margin-bottom: 0.55rem;
  width: 1.6rem;
}

@media (min-width: 720px) {
  .dialogue-grid {
    grid-template-columns: 1fr 1fr;
  }
}

footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

footer nav a {
  text-decoration: none;
}

footer .footer-contact {
  margin: 0;
}

.analytics-notice {
  align-items: center;
  background: var(--color-dark);
  bottom: 0;
  color: var(--color-light);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  justify-content: space-between;
  left: 0;
  max-width: 100%;
  padding: 0.7rem 1.25rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
  position: fixed;
  right: 0;
  z-index: 120;
}

.analytics-notice[hidden] {
  display: none;
}

.analytics-notice p,
.analytics-notice a {
  color: var(--color-light);
  margin: 0;
}

.analytics-notice button {
  background: var(--color-orange);
  border-radius: 1rem;
  color: #111;
  cursor: pointer;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
}



/********************/
/** PHOTO TIMELINE **/
/********************/
.photo-timeline {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  margin: 0 0 2rem;
  min-width: 0;
  overflow-x: clip;
}

.timeline-card {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

.timeline-card .photo-figure {
  margin-bottom: 0;
}

@media (min-width: 800px) {
  .photo-timeline {
    grid-template-columns: 1fr 1fr;
  }
}



/***************/
/** ACCORDION **/
/***************/
.accordion {
  background: var(--color-white);
  border: 1px solid var(--color-medium);
  border-radius: var(--radius);
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.85rem 0.85rem;
}

.accordion summary {
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  list-style: none;
  padding: 0.75rem 0;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  color: var(--color-alternate);
  content: "+";
  float: right;
  font-weight: 700;
}

.accordion[open] summary::after {
  content: "–";
}



/********************/
/** EVENT CAROUSEL **/
/********************/
.event-carousel {
  display: grid;
  gap: 0.85rem;
  grid-auto-flow: column;
  grid-auto-columns: minmax(min(16rem, 78%), 1fr);
  margin: 0 0 1.5rem;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.event-carousel .event-card {
  background: var(--color-white);
  border: 1px solid var(--color-medium);
  padding: 1rem;
  scroll-snap-align: start;
}



/********************/
/** ERA TIMELINE **/
/********************/
.era-scroll {
  margin: 2rem 0 1.5rem;
}

.era-scroll ol {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

.era-scroll li {
  background: var(--color-white);
  border-top: 3px solid var(--color-alternate);
  padding: 0.9rem 1rem 1rem;
}

.era-scroll .brand-icon {
  color: var(--color-sepia);
  display: block;
  height: 1.7rem;
  margin-bottom: 0.5rem;
  width: 1.7rem;
}

.era-scroll time {
  color: var(--color-sepia);
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.era-scroll strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
}

.era-scroll p {
  font-size: 0.9rem;
  margin: 0;
}

@media (min-width: 600px) {
  .era-scroll ol {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .era-scroll ol {
    grid-template-columns: 1fr 1fr 1fr;
  }
}



/********************/
/** PRINT LIGHTBOX **/
/********************/
.print-lightbox {
  background: var(--color-print);
  border: 0;
  box-shadow: 0 16px 40px rgba(36, 28, 22, 0.35);
  color: var(--color-dark);
  margin: auto;
  max-width: min(52rem, calc(100vw - 1.5rem));
  padding: 2.65rem 0.75rem 0.9rem;
  position: relative;
}

.print-lightbox::backdrop {
  background: rgba(36, 28, 22, 0.62);
}

.print-lightbox__close {
  background: var(--color-dark);
  color: var(--color-print);
  cursor: pointer;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  position: absolute;
  right: 0.7rem;
  top: 0.55rem;
}

.print-lightbox img {
  background: #1c1612;
  display: block;
  height: auto;
  margin: 0 0 0.65rem;
  max-height: 74vh;
  object-fit: contain;
  width: 100%;
}

.print-lightbox p {
  font-family: var(--font-display);
  margin: 0;
  padding-right: 0.25rem;
}

.print-lightbox button:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

body:has(.analytics-notice:not([hidden])) {
  padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}



/****************/
/** RESPONSIVE **/
/****************/
img,
picture,
iframe,
video,
table {
  max-width: 100%;
}

picture {
  display: block;
}

.btn-row {
  gap: 0.55rem;
}

.btn {
  text-align: center;
}

.arrival-table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 759px) {
  .site-logo__tag {
    display: none;
  }

  :root {
    --page-gutter: 1.35rem;
  }

  body h1 {
    font-size: 1.55rem;
    line-height: 1.2;
  }

  body h2 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
  }

  body h3 {
    font-size: 1.05rem;
  }

  .lead {
    font-size: 1rem;
  }

  .portal-grid,
  .split,
  .photo-timeline {
    grid-template-columns: 1fr;
  }

  .photo-figure,
  .photo-timeline .timeline-card:nth-child(even) .photo-figure,
  .split .photo-figure:nth-child(even) {
    transform: none;
  }

  .nav-panel a {
    flex: 1 1 calc(50% - 0.4rem);
    text-align: center;
  }

  #neighborhood-map,
  #archive-map {
    height: 280px;
  }
}

@media (min-width: 760px) {
  :root {
    --page-gutter: 1.5rem;
  }

  main {
    padding: 1.5rem 0 2rem;
  }

  .event-carousel {
    grid-auto-columns: minmax(240px, 1fr);
  }
}

@media (min-width: 900px) {
  :root {
    --page-gutter: 1.75rem;
  }
}
