/* CommonGround interactive master plan
   ==========================================================================

   The palette is the whole trick behind the seasonal and day/night views. Every
   fill in the illustration is a custom property, so switching `data-season` or
   `data-time` on `.mp-root` re-tints several hundred SVG shapes at once and the
   browser transitions between the two palettes. No JavaScript touches a colour.

   Layout is a two-column grid on desktop (plan + detail panel) that becomes a
   single column with a bottom sheet on small screens.

   Depends on assets/css/styles.css for the brand tokens and typography. */

/* --------------------------------------------------------------------------
   1. Palette — summer daylight is the base
   -------------------------------------------------------------------------- */

/* Interface tokens, kept apart from the artwork tokens and declared on the
   document so the static fallback and the supporting page sections — which sit
   outside `.mp-root` — resolve them too. They never change with season or light. */
:root {
  --mp-ui-surface: #FFFFFF;
  --mp-ui-surface-quiet: var(--color-bg-light);
  --mp-ui-border: #D8D1BF;
  --mp-ui-text: var(--color-text-main);
  --mp-ui-text-muted: var(--color-text-muted);
  --mp-ui-accent: var(--cg-forest);
}

.mp-root {
  --mp-field-light: #DDE3C8;
  --mp-field: #CBD4B2;
  --mp-field-dark: #B4C098;

  --mp-woodland: #3F5B41;
  --mp-canopy-1: #2F4A36;
  --mp-canopy-2: #3D5C41;
  --mp-canopy-3: #4E6E4C;
  --mp-canopy-light: #7A9668;
  --mp-conifer: #2C4536;
  --mp-conifer-light: #43604A;

  --mp-lawn: #A7BF88;
  --mp-lawn-stripe: #9DB77E;
  --mp-lawn-edge: #7E9A66;
  --mp-meadow: #C6C982;
  --mp-meadow-stripe: #BDC177;
  --mp-meadow-edge: #9AA25E;

  --mp-water: #5C87A0;
  --mp-water-light: #86AEC0;
  --mp-water-edge: #47708A;

  --mp-path: #D8CDB4;
  --mp-path-edge: #A99B7E;
  --mp-gravel: #CFC5AE;
  --mp-gravel-dark: #A79B82;

  --mp-timber: #A6764A;
  --mp-timber-dark: #7C532C;
  --mp-roof: #B07C4E;
  --mp-roof-shade: #8E6039;
  --mp-roof-end: #9C6C43;
  --mp-roof-ridge: #6B4523;
  --mp-stone: #B3A894;
  --mp-stone-light: #C9C0AE;

  --mp-soil: #7A5A3C;
  --mp-crop: #6E8B4A;
  --mp-glass: #C9DCDC;
  --mp-glass-mullion: #9FB5B4;
  --mp-blossom: #F0E4E6;
  --mp-fruit: #C46A4A;

  --mp-garden-ground: #C2CD9E;
  --mp-orchard-ground: #BFCC9B;
  --mp-forest-ground: #A9BE8C;
  --mp-terrace: #C8BCA2;
  --mp-canvas-awning: #EDE6D6;
  --mp-sand: #DBCDA9;
  --mp-mound: #B9A985;

  --mp-ice: #CFDCE2;
  --mp-ice-line: #AEC3CD;
  --mp-snow: #F4F6F5;
  --mp-fire-core: #E0803C;
  --mp-lamp: #F6D69A;

  --mp-shadow: rgb(31 47 34 / 16%);
  --mp-area-label: #46543F;
}

/* Spring: fresher and lighter, with blossom in the orchard. */
.mp-root[data-season='spring'] {
  --mp-field-light: #E2E7C9;
  --mp-field: #CFD9B0;
  --mp-field-dark: #B7C595;
  --mp-woodland: #4B6B48;
  --mp-canopy-1: #3A5A3C;
  --mp-canopy-2: #4B6E48;
  --mp-canopy-3: #628A55;
  --mp-canopy-light: #96B278;
  --mp-lawn: #ADC78B;
  --mp-lawn-stripe: #A3BF81;
  --mp-meadow: #C4CE87;
  --mp-meadow-stripe: #BAC57C;
  --mp-water: #6591A8;
  --mp-water-light: #97BDCB;
  --mp-crop: #7A9A52;
  --mp-garden-ground: #C8D3A3;
  --mp-orchard-ground: #C6D3A1;
  --mp-forest-ground: #B0C48F;
}

/* Autumn: gold and amber, with the canopy turning. */
.mp-root[data-season='autumn'] {
  --mp-field-light: #E4DCBA;
  --mp-field: #D3C79E;
  --mp-field-dark: #BCAD82;
  --mp-woodland: #6B6238;
  --mp-canopy-1: #7A5B26;
  --mp-canopy-2: #A9762C;
  --mp-canopy-3: #C08F35;
  --mp-canopy-light: #DFB65A;
  --mp-conifer: #374A34;
  --mp-conifer-light: #4C6146;
  --mp-lawn: #B6BC7E;
  --mp-lawn-stripe: #ACB374;
  --mp-lawn-edge: #8D9560;
  --mp-meadow: #CBBE79;
  --mp-meadow-stripe: #C2B46E;
  --mp-meadow-edge: #A0925A;
  --mp-water: #5A7F94;
  --mp-water-light: #83A6B6;
  --mp-crop: #8A8B42;
  --mp-garden-ground: #CBC392;
  --mp-orchard-ground: #CDC08C;
  --mp-forest-ground: #BAB183;
  --mp-fruit: #B8502B;
  --mp-area-label: #574C33;
}

/* Winter: the season that tests a four-season destination. */
.mp-root[data-season='winter'] {
  --mp-field-light: #EDEFEA;
  --mp-field: #DFE3DE;
  --mp-field-dark: #CBD2CE;
  --mp-woodland: #48584B;
  --mp-canopy-1: #5A6459;
  --mp-canopy-2: #6C7568;
  --mp-canopy-3: #838B7C;
  --mp-canopy-light: #B4BAAD;
  --mp-conifer: #2E4436;
  --mp-conifer-light: #476048;
  --mp-lawn: #DCE2DC;
  --mp-lawn-stripe: #D2D9D3;
  --mp-lawn-edge: #B7C0B8;
  --mp-meadow: #D8D6BE;
  --mp-meadow-stripe: #CFCDB4;
  --mp-meadow-edge: #B3B199;
  --mp-water: #9FB5C0;
  --mp-water-light: #C4D4DA;
  --mp-water-edge: #8AA3B0;
  --mp-path: #E6E4DC;
  --mp-path-edge: #BEBAAD;
  --mp-gravel: #DEDBD1;
  --mp-gravel-dark: #B6B2A6;
  --mp-crop: #7E8A6C;
  --mp-garden-ground: #DDE0D6;
  --mp-orchard-ground: #DCDFD5;
  --mp-forest-ground: #D2D7CC;
  --mp-terrace: #D9D5C9;
  --mp-sand: #DFDACB;
  --mp-mound: #C3BCA9;
  --mp-area-label: #4C544A;
}

/* Evening. Applied after the season blocks so it wins, and deliberately narrow:
   the ground, canopy and water go blue and dark, while timber and lamplight stay
   warm so the lit structures read as the destination. */
.mp-root[data-time='night'] {
  --mp-field-light: #2E3B41;
  --mp-field: #26333A;
  --mp-field-dark: #1D2A31;
  --mp-woodland: #1B2A28;
  --mp-canopy-1: #16231F;
  --mp-canopy-2: #1D2C27;
  --mp-canopy-3: #253730;
  --mp-canopy-light: #35473C;
  --mp-conifer: #142120;
  --mp-conifer-light: #1F302B;
  --mp-lawn: #2C3B37;
  --mp-lawn-stripe: #28362F;
  --mp-lawn-edge: #22302B;
  --mp-meadow: #38403A;
  --mp-meadow-stripe: #333B34;
  --mp-meadow-edge: #2A322C;
  --mp-water: #1F313E;
  --mp-water-light: #2C4552;
  --mp-water-edge: #16242E;
  --mp-path: #5A5647;
  --mp-path-edge: #33322A;
  --mp-gravel: #4A4739;
  --mp-gravel-dark: #363428;
  --mp-timber: #7A5535;
  --mp-timber-dark: #543821;
  --mp-roof: #6E4B2C;
  --mp-roof-shade: #513521;
  --mp-roof-end: #5D4026;
  --mp-roof-ridge: #3D2716;
  --mp-stone: #4E4B44;
  --mp-stone-light: #605C53;
  --mp-soil: #40301F;
  --mp-crop: #38472C;
  --mp-glass: #6E7C63;
  --mp-glass-mullion: #4E5A48;
  --mp-garden-ground: #2A3630;
  --mp-orchard-ground: #29352E;
  --mp-forest-ground: #24302A;
  --mp-terrace: #4B4638;
  --mp-canvas-awning: #B9AE93;
  --mp-sand: #4C4636;
  --mp-mound: #3B3629;
  --mp-ice: #43596A;
  --mp-ice-line: #587483;
  --mp-snow: #7E8E96;
  --mp-blossom: #4A4247;
  --mp-shadow: rgb(0 0 0 / 30%);
  --mp-area-label: #C3CBC0;
}

/* Snow keeps some moonlight, so winter evenings are not as dark as the rest. */
.mp-root[data-season='winter'][data-time='night'] {
  --mp-field-light: #3B4750;
  --mp-field: #333F47;
  --mp-field-dark: #2A353D;
  --mp-lawn: #48555A;
  --mp-lawn-stripe: #424F54;
  --mp-snow: #9BAAB2;
  --mp-ice: #4E667A;
}

/* --------------------------------------------------------------------------
   2. Frame and viewport
   -------------------------------------------------------------------------- */

.mp-root {
  display: grid;
  gap: var(--spacing-md);
  color: var(--mp-ui-text);
  font-family: var(--font-body);
}

.mp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--spacing-lg);
  align-items: start;
}

.mp-stage-wrap {
  display: grid;
  gap: var(--spacing-sm);
  min-width: 0;
}

.mp-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--mp-ui-border);
  border-radius: var(--radius-lg);
  background: var(--mp-field);
  aspect-ratio: 8 / 5;
  max-height: 78vh;
  cursor: grab;
  /* Every pointer gesture inside the plan belongs to the plan, not to the page. */
  touch-action: none;
  transition: background-color 600ms ease;
}

.mp-frame:focus-visible {
  outline: 3px solid var(--cg-forest);
  outline-offset: 2px;
}

.mp-frame[data-panning] {
  cursor: grabbing;
}

.mp-stage {
  position: absolute;
  inset: 0 auto auto 0;
  transform-origin: 0 0;
  /* The transform is the only thing that changes while panning, so the artwork
     is promoted once and composited on the GPU from then on. */
  will-change: transform;
}

.mp-art {
  display: block;
  width: 1600px;
  height: 1000px;
}

/* Every artwork fill inherits this, which is what makes a season change read as
   the light shifting rather than as a page reload. */
.mp-art path,
.mp-art rect,
.mp-art circle,
.mp-art ellipse,
.mp-art polygon,
.mp-art line,
.mp-art text {
  transition: fill 700ms ease, stroke 700ms ease;
}

.mp-area-label {
  fill: var(--mp-area-label);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  pointer-events: none;
}

.mp-fire-flicker {
  animation: mp-flicker 3.6s ease-in-out infinite;
}

@keyframes mp-flicker {
  0%, 100% { opacity: 0.85; }
  40% { opacity: 1; }
  70% { opacity: 0.72; }
}

/* --------------------------------------------------------------------------
   3. Markers
   -------------------------------------------------------------------------- */

.mp-markers {
  position: absolute;
  inset: 0;
}

.mp-marker {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  /* Counter-scaling keeps a pin the same physical size at every zoom level. */
  transform: translate(-50%, -50%) scale(var(--mp-counter-scale, 1));
  transform-origin: center;
  white-space: nowrap;
}

.mp-marker-pin,
.mp-marker-chip,
.mp-marker-dot {
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 999px;
  background: var(--mp-ui-surface);
  box-shadow: 0 2px 6px rgb(31 47 34 / 35%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mp-marker-pin {
  width: 32px;
  height: 32px;
  border: 2px solid var(--cg-forest);
  color: var(--cg-forest);
}

.mp-marker-destination[data-theme='nature'] .mp-marker-pin { border-color: #3D6B4A; color: #3D6B4A; }
.mp-marker-destination[data-theme='food'] .mp-marker-pin { border-color: #A6522F; color: #A6522F; }
.mp-marker-destination[data-theme='learn'] .mp-marker-pin { border-color: #5B6E86; color: #4B5C72; }
.mp-marker-destination[data-theme='play'] .mp-marker-pin { border-color: #8A6D2F; color: #7A5F27; }
.mp-marker-destination[data-theme='arrival'] .mp-marker-pin { border-color: #6B5B4A; color: #5C4E3F; }

.mp-marker-chip {
  width: 28px;
  height: 28px;
  border: 2px solid var(--cg-terracotta-strong);
  color: var(--cg-terracotta-strong);
  font-size: 0.75rem;
  font-weight: 700;
}

.mp-marker-dot {
  width: 18px;
  height: 18px;
  border: 2px solid var(--cg-wood-text);
  background: var(--cg-stone);
}

.mp-marker-sponsorship[data-status='available'] .mp-marker-dot { background: #E8E0CC; }
.mp-marker-sponsorship[data-status='reserved'] .mp-marker-dot { background: var(--status-assessment); }
.mp-marker-sponsorship[data-status='committed'] .mp-marker-dot,
.mp-marker-sponsorship[data-status='fulfilled'] .mp-marker-dot { background: var(--cg-forest); }

.mp-marker-label {
  display: none;
  flex-direction: column;
  max-width: 220px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: var(--mp-ui-surface);
  box-shadow: var(--shadow-md);
  text-align: left;
  white-space: normal;
}

.mp-marker-name {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--mp-ui-text);
}

.mp-marker-tagline {
  font-size: 0.6875rem;
  line-height: 1.3;
  color: var(--mp-ui-text-muted);
}

/* The label is the hover state. Showing every name at once would bury the plan. */
.mp-marker:hover .mp-marker-label,
.mp-marker:focus-visible .mp-marker-label,
.mp-marker[data-active] .mp-marker-label {
  display: flex;
}

.mp-marker:hover,
.mp-marker:focus-visible,
.mp-marker[data-active] {
  z-index: 5;
}

.mp-marker:hover .mp-marker-pin,
.mp-marker:focus-visible .mp-marker-pin,
.mp-marker[data-active] .mp-marker-pin,
.mp-marker[data-active] .mp-marker-chip,
.mp-marker[data-active] .mp-marker-dot {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgb(31 47 34 / 45%);
}

.mp-marker:focus-visible .mp-marker-pin,
.mp-marker:focus-visible .mp-marker-chip,
.mp-marker:focus-visible .mp-marker-dot {
  outline: 3px solid var(--cg-forest);
  outline-offset: 2px;
}

.mp-marker[data-active] .mp-marker-pin {
  background: var(--cg-forest);
  color: #FFFFFF;
}

/* A search result or a panel jump pulses once so the eye finds it. */
.mp-marker[data-highlighted]::before {
  content: '';
  position: absolute;
  inset: -14px;
  border: 2px solid var(--cg-terracotta-strong);
  border-radius: 999px;
  animation: mp-ping 1.4s ease-out 2;
}

@keyframes mp-ping {
  from { transform: scale(0.6); opacity: 0.9; }
  to { transform: scale(1.5); opacity: 0; }
}

/* --------------------------------------------------------------------------
   4. Phase and progress overlays
   -------------------------------------------------------------------------- */

.mp-zone {
  position: absolute;
  padding: 0;
  border: 2px dashed rgb(31 59 46 / 55%);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 10%);
  cursor: pointer;
  transition: opacity 250ms ease, background-color 250ms ease;
}

.mp-zone[data-sequence='1'] { border-color: rgb(31 59 46 / 70%); background: rgb(31 59 46 / 10%); }
.mp-zone[data-sequence='2'] { border-color: rgb(170 84 56 / 70%); background: rgb(170 84 56 / 10%); }
.mp-zone[data-sequence='3'] { border-color: rgb(107 124 90 / 75%); background: rgb(107 124 90 / 12%); }

.mp-zone[data-dimmed] { opacity: 0.28; }
.mp-zone[data-active],
.mp-zone[data-highlighted] { background: rgb(255 255 255 / 28%); }

.mp-zone:focus-visible {
  outline: 3px solid var(--cg-forest);
  outline-offset: 2px;
}

.mp-zone-badge {
  position: absolute;
  inset: 6px auto auto 6px;
  display: grid;
  gap: 1px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--mp-ui-surface);
  box-shadow: var(--shadow-sm);
  text-align: left;
  transform: scale(var(--mp-counter-scale, 1));
  transform-origin: 0 0;
}

.mp-zone-phase {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cg-terracotta-strong);
}

.mp-zone-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mp-ui-text);
}

.mp-progress-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translate(-50%, -50%) scale(var(--mp-counter-scale, 1));
  transform-origin: center;
  pointer-events: none;
}

.mp-progress-index {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--cg-forest);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
}

.mp-progress-pin[data-group='next'] .mp-progress-index { background: var(--cg-sage); }
.mp-progress-pin[data-group='foundation'] .mp-progress-index { background: var(--cg-wood-text); }

.mp-progress-body {
  display: grid;
  gap: 1px;
  max-width: 190px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--mp-ui-surface);
  box-shadow: var(--shadow-sm);
}

.mp-progress-status {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cg-terracotta-strong);
}

.mp-progress-title {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--mp-ui-text);
}

/* --------------------------------------------------------------------------
   5. Overlays inside the frame
   -------------------------------------------------------------------------- */

.mp-overlay-top,
.mp-overlay-bottom {
  position: absolute;
  z-index: 6;
  display: flex;
  gap: var(--spacing-sm);
  pointer-events: none;
}

.mp-overlay-top {
  inset: var(--spacing-sm) var(--spacing-sm) auto auto;
}

.mp-overlay-bottom {
  inset: auto var(--spacing-sm) var(--spacing-sm) var(--spacing-sm);
  align-items: flex-end;
  justify-content: space-between;
}

.mp-overlay-top > *,
.mp-overlay-bottom > * {
  pointer-events: auto;
}

.mp-legend {
  padding: 8px 12px;
  border: 1px solid var(--mp-ui-border);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 92%);
  box-shadow: var(--shadow-sm);
}

.mp-legend-title {
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mp-ui-text-muted);
}

.mp-legend-list {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mp-legend-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
}

.mp-legend-swatch,
.mp-chip-swatch {
  display: block;
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--cg-forest);
}

[data-layer='vendors'] .mp-legend-swatch,
.mp-chip[data-layer='vendors'] .mp-chip-swatch { background: var(--cg-terracotta-strong); }
[data-layer='sponsorship'] .mp-legend-swatch,
.mp-chip[data-layer='sponsorship'] .mp-chip-swatch { background: var(--cg-stone); }
[data-layer='phases'] .mp-legend-swatch,
.mp-chip[data-layer='phases'] .mp-chip-swatch { background: var(--cg-sage); }
[data-layer='progress'] .mp-legend-swatch,
.mp-chip[data-layer='progress'] .mp-chip-swatch { background: var(--cg-wood-text); }

.mp-legend-empty {
  font-size: 0.75rem;
  color: var(--mp-ui-text-muted);
}

.mp-minimap {
  width: 132px;
  padding: 6px;
  border: 1px solid var(--mp-ui-border);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 92%);
  box-shadow: var(--shadow-sm);
}

.mp-minimap-frame {
  position: relative;
  aspect-ratio: 8 / 5;
  border-radius: var(--radius-sm);
  background: var(--mp-field);
  cursor: pointer;
  touch-action: none;
  transition: background-color 600ms ease;
}

.mp-minimap-zone {
  position: absolute;
  border-radius: 2px;
  background: rgb(31 59 46 / 28%);
}

.mp-minimap-viewport {
  position: absolute;
  border: 2px solid var(--cg-terracotta-strong);
  border-radius: 2px;
  background: rgb(255 255 255 / 20%);
}

.mp-minimap-caption {
  margin: 4px 0 0;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--mp-ui-text-muted);
}

.mp-zoom {
  display: grid;
  gap: 4px;
  justify-items: stretch;
  padding: 6px;
  border: 1px solid var(--mp-ui-border);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 92%);
  box-shadow: var(--shadow-sm);
}

.mp-zoom-button,
.mp-zoom-reset {
  border: 1px solid var(--mp-ui-border);
  border-radius: var(--radius-sm);
  background: var(--mp-ui-surface);
  color: var(--mp-ui-text);
  font: inherit;
  cursor: pointer;
  transition: var(--transition);
}

.mp-zoom-button {
  width: 36px;
  height: 36px;
  font-size: 1.125rem;
  line-height: 1;
}

.mp-zoom-button:hover:not(:disabled),
.mp-zoom-reset:hover {
  background: var(--cg-forest);
  border-color: var(--cg-forest);
  color: #FFFFFF;
}

.mp-zoom-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.mp-zoom-readout {
  font-size: 0.6875rem;
  font-weight: 700;
  text-align: center;
  color: var(--mp-ui-text-muted);
  font-variant-numeric: tabular-nums;
}

.mp-zoom-reset {
  padding: 5px 6px;
  font-size: 0.6875rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   6. Toolbar and search
   -------------------------------------------------------------------------- */

.mp-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  align-items: flex-start;
}

.mp-search {
  position: relative;
  flex: 1 1 320px;
  min-width: 0;
}

.mp-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--mp-ui-border);
  border-radius: var(--radius-md);
  background: var(--mp-ui-surface);
}

.mp-search-field:focus-within {
  border-color: var(--cg-forest);
  box-shadow: 0 0 0 3px rgb(31 59 46 / 15%);
}

.mp-search-icon {
  flex: none;
  color: var(--mp-ui-text-muted);
}

.mp-search-input {
  flex: 1;
  min-width: 0;
  padding: 11px 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
}

.mp-search-input:focus {
  outline: none;
}

.mp-search-input::-webkit-search-cancel-button {
  display: none;
}

.mp-search-clear {
  flex: none;
  padding: 4px 6px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--mp-ui-text-muted);
  cursor: pointer;
}

.mp-search-clear:hover {
  color: var(--mp-ui-text);
}

.mp-search-results {
  position: absolute;
  z-index: 20;
  inset: calc(100% + 4px) 0 auto 0;
  max-height: 320px;
  overflow-y: auto;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--mp-ui-border);
  border-radius: var(--radius-md);
  background: var(--mp-ui-surface);
  box-shadow: var(--shadow-lg);
  list-style: none;
}

.mp-search-result {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 2px 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.mp-search-result[data-active] {
  background: var(--mp-ui-surface-quiet);
}

.mp-search-result-kind {
  grid-row: span 2;
  align-self: center;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cg-terracotta-strong);
}

.mp-search-result-label {
  font-weight: 700;
  font-size: 0.875rem;
}

.mp-search-result-detail {
  font-size: 0.75rem;
  color: var(--mp-ui-text-muted);
}

.mp-search-status {
  margin: 4px 0 0;
  font-size: 0.75rem;
  color: var(--mp-ui-text-muted);
  min-height: 1em;
}

.mp-controls-toggle {
  flex: none;
  padding: 11px 18px;
  border: 1px solid var(--cg-forest);
  border-radius: var(--radius-md);
  background: var(--mp-ui-surface);
  color: var(--cg-forest);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.mp-controls-toggle:hover {
  background: var(--cg-forest);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   7. Controls
   -------------------------------------------------------------------------- */

.mp-controls {
  display: grid;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  border: 1px solid var(--mp-ui-border);
  border-radius: var(--radius-lg);
  background: var(--mp-ui-surface);
}

.mp-control-group {
  min-width: 0;
  border: 0;
}

.mp-control-legend {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 6px;
  padding: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mp-ui-text-muted);
}

.mp-control-reset {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--cg-terracotta-strong);
  text-decoration: underline;
  cursor: pointer;
}

.mp-control-note {
  margin: 6px 0 0;
  font-size: 0.75rem;
  color: var(--mp-ui-text-muted);
}

.mp-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--mp-ui-border);
  border-radius: 999px;
  background: var(--mp-ui-surface);
  color: var(--mp-ui-text);
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: var(--transition);
}

.mp-chip:hover {
  border-color: var(--cg-forest);
}

.mp-chip[data-on] {
  border-color: var(--cg-forest);
  background: var(--cg-forest);
  color: #FFFFFF;
  font-weight: 700;
}

.mp-chip[data-on] .mp-chip-swatch {
  background: #FFFFFF;
}

.mp-segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--mp-ui-border);
  border-radius: 999px;
  background: var(--mp-ui-surface-quiet);
}

.mp-segment {
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--mp-ui-text);
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: var(--transition);
}

.mp-segment[data-on] {
  background: var(--cg-forest);
  color: #FFFFFF;
  font-weight: 700;
}

.mp-daynight {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--mp-ui-border);
  border-radius: 999px;
  background: var(--mp-ui-surface);
  font: inherit;
  font-size: 0.8125rem;
  color: var(--mp-ui-text);
  cursor: pointer;
}

.mp-daynight-track {
  position: relative;
  display: block;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: var(--cg-stone);
  transition: background-color 250ms ease;
}

.mp-daynight-knob {
  position: absolute;
  inset: 3px auto auto 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  transition: transform 250ms ease;
}

.mp-daynight[data-night] .mp-daynight-track {
  background: var(--cg-forest);
}

.mp-daynight[data-night] .mp-daynight-knob {
  transform: translateX(20px);
}

.mp-view-notes {
  display: grid;
  gap: 4px;
}

.mp-view-note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--mp-ui-text-muted);
}

.mp-view-note-quiet {
  font-size: 0.8125rem;
}

.mp-source-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--mp-ui-text-muted);
}

/* --------------------------------------------------------------------------
   8. Detail panel
   -------------------------------------------------------------------------- */

.mp-panel {
  position: relative;
  border: 1px solid var(--mp-ui-border);
  border-radius: var(--radius-lg);
  background: var(--mp-ui-surface);
  box-shadow: var(--shadow-sm);
}

.mp-panel-inner {
  max-height: 78vh;
  overflow-y: auto;
  padding: var(--spacing-lg);
  overscroll-behavior: contain;
}

.mp-panel-close {
  position: absolute;
  inset: 10px 10px auto auto;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid var(--mp-ui-border);
  border-radius: 999px;
  background: var(--mp-ui-surface);
  color: var(--mp-ui-text);
  font-size: 0.875rem;
  cursor: pointer;
}

.mp-panel-close:hover {
  background: var(--cg-forest);
  border-color: var(--cg-forest);
  color: #FFFFFF;
}

.mp-panel-eyebrow {
  margin: 0 0 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mp-ui-text-muted);
}

.mp-panel-title,
.mp-panel-empty-title {
  margin: 0 0 4px;
  padding-right: 40px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--cg-forest);
}

.mp-panel-title:focus-visible {
  outline: 2px solid var(--cg-forest);
  outline-offset: 3px;
}

.mp-panel-tagline {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--mp-ui-text-muted);
}

.mp-status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--mp-ui-surface-quiet);
  border: 1px solid var(--mp-ui-border);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cg-forest);
}

.mp-panel-image {
  display: block;
  width: 100%;
  height: auto;
  margin: var(--spacing-md) 0;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--mp-ui-surface-quiet);
}

.mp-panel-summary {
  margin: var(--spacing-md) 0 0;
}

.mp-panel-subtitle {
  margin: var(--spacing-md) 0 6px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mp-ui-text-muted);
}

.mp-panel-list {
  margin: 0;
  padding-left: 1.1rem;
}

.mp-panel-list li + li {
  margin-top: 4px;
}

.mp-panel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mp-panel-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--cg-forest);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.mp-panel-link:hover {
  color: var(--cg-terracotta-strong);
}

.mp-panel-facts {
  display: grid;
  gap: var(--spacing-sm);
  margin: var(--spacing-md) 0 0;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  background: var(--mp-ui-surface-quiet);
}

.mp-panel-facts dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mp-ui-text-muted);
}

.mp-panel-facts dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.mp-panel-seasons {
  margin: 0;
}

.mp-panel-considerations {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--mp-ui-text-muted);
}

.mp-panel-cta {
  display: inline-block;
  margin-top: var(--spacing-md);
  padding: 11px 20px;
  border-radius: var(--radius-md);
  background: var(--cg-forest);
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.mp-panel-cta:hover {
  background: var(--color-primary-hover);
  color: #FFFFFF;
}

.mp-panel-disclosure {
  margin: var(--spacing-lg) 0 0;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--mp-ui-border);
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--mp-ui-text-muted);
}

.mp-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

button.mp-panel-cta,
button.mp-panel-link {
  font: inherit;
  cursor: pointer;
}

.mp-interest-form {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--cg-sage) 55%, transparent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--cg-cream) 88%, white);
}

.mp-interest-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.mp-interest-heading h3 {
  margin: 0.15rem 0 0;
  font-family: var(--font-heading);
  color: var(--cg-forest);
}

.mp-interest-kicker,
.mp-directory-kicker {
  margin: 0;
  color: var(--cg-terracotta-strong);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mp-interest-close {
  min-width: 2.5rem;
  min-height: 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: white;
  color: var(--cg-charcoal);
  cursor: pointer;
}

.mp-interest-selection {
  padding: 0.7rem 0.8rem;
  border-left: 3px solid var(--cg-terracotta);
  background: white;
  font-size: 0.85rem;
}

.mp-interest-form form,
.mp-form-grid {
  display: grid;
  gap: 0.85rem;
}

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

.mp-interest-form label:not(.mp-consent) {
  display: grid;
  gap: 0.35rem;
  color: var(--cg-charcoal);
  font-size: 0.78rem;
  font-weight: 700;
}

.mp-interest-form input,
.mp-interest-form textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.75rem;
  background: white;
  color: var(--cg-charcoal);
  font: inherit;
}

.mp-interest-form input:focus,
.mp-interest-form textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--cg-sage) 45%, transparent);
  border-color: var(--cg-forest);
}

.mp-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.78rem;
}

.mp-consent input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
}

.mp-honeypot {
  position: absolute;
  left: -10000px;
}

.mp-form-error {
  color: #8b2e20;
  font-weight: 700;
}

.mp-directory {
  margin-top: var(--spacing-lg);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--cg-cream);
}

.mp-directory-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mp-directory-heading h2 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.mp-directory-heading > p {
  margin: 0;
  color: var(--cg-forest);
  font-size: 0.8rem;
  font-weight: 800;
}

.mp-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.mp-directory-card {
  display: grid;
  gap: 0.45rem;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: white;
  color: var(--cg-charcoal);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.mp-directory-card:hover,
.mp-directory-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--cg-sage);
  box-shadow: var(--shadow-sm);
}

.mp-directory-card strong {
  color: var(--cg-forest);
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.mp-directory-card > span:not(.mp-directory-theme) {
  font-size: 0.82rem;
  line-height: 1.5;
}

.mp-directory-card small,
.mp-directory-theme {
  color: var(--cg-terracotta-strong);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 40em) {
  .mp-form-grid {
    grid-template-columns: 1fr;
  }

  .mp-directory-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

.mp-panel-hints {
  margin: var(--spacing-md) 0 0;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  color: var(--mp-ui-text-muted);
}

.mp-panel-hints li + li {
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   9. Utilities, responsive behaviour and motion
   -------------------------------------------------------------------------- */

.mp-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Small screens: the plan gets the room, the panel becomes a bottom sheet and the
   controls collapse behind the toolbar button. */
@media (max-width: 63.99em) {
  .mp-controls {
    display: none;
  }

  .mp-controls[data-open] {
    display: grid;
  }

  .mp-frame {
    aspect-ratio: 4 / 5;
    max-height: 68vh;
  }

  .mp-minimap {
    display: none;
  }

  .mp-marker-label {
    max-width: 170px;
  }

  .mp-panel {
    position: fixed;
    z-index: 60;
    inset: auto 0 0 0;
    max-height: 72vh;
    border-width: 1px 0 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 -8px 28px rgb(31 47 34 / 22%);
    animation: mp-sheet-in 260ms ease;
  }

  .mp-panel-inner {
    max-height: 72vh;
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-xl);
  }

  /* The empty-state panel is only useful where it can sit beside the plan. */
  .mp-panel-empty {
    position: static;
    display: none;
  }

  @keyframes mp-sheet-in {
    from { transform: translateY(12%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
}

@media (min-width: 64em) {
  .mp-layout {
    grid-template-columns: minmax(0, 1fr) 22.5rem;
  }

  .mp-controls {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    align-items: start;
  }

  /* The controls are always visible where there is room for them, so the toggle
     button has nothing to do. */
  .mp-controls-toggle {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mp-art path,
  .mp-art rect,
  .mp-art circle,
  .mp-art ellipse,
  .mp-art polygon,
  .mp-art line,
  .mp-art text,
  .mp-frame,
  .mp-minimap-frame {
    transition-duration: 1ms;
  }

  .mp-fire-flicker,
  .mp-marker[data-highlighted]::before,
  .mp-panel {
    animation: none;
  }

  .mp-marker[data-highlighted]::before {
    opacity: 0.9;
  }
}

/* --------------------------------------------------------------------------
   10. Static fallback
   -------------------------------------------------------------------------- */

/* The page ships a real directory of destinations inside the map container so the
   route works with no JavaScript. It is hidden once the island mounts. */
.mp-fallback {
  display: grid;
  gap: var(--spacing-lg);
}

/* An author `display` declaration beats the user-agent `[hidden]` rule, so the
   hidden state has to be restated or the fallback stays on screen under the map. */
.mp-fallback[hidden] {
  display: none;
}

.mp-fallback-note {
  margin: 0;
  padding: var(--spacing-md);
  border: 1px solid var(--mp-ui-border);
  border-radius: var(--radius-md);
  background: var(--mp-ui-surface-quiet);
  font-size: 0.875rem;
}

.mp-fallback-grid {
  display: grid;
  gap: var(--spacing-md);
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.mp-fallback-card {
  padding: var(--spacing-md);
  border: 1px solid var(--mp-ui-border);
  border-radius: var(--radius-md);
  background: var(--mp-ui-surface);
}

.mp-fallback-card h3 {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  color: var(--cg-forest);
}

.mp-fallback-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--mp-ui-text-muted);
}

.mp-fallback-card .mp-status-pill {
  margin-top: 8px;
}

.mp-fallback-heading {
  margin: var(--spacing-lg) 0 var(--spacing-sm);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--cg-forest);
}

.mp-legal {
  margin: var(--spacing-lg) 0 0;
  max-width: 60ch;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--mp-ui-text-muted);
}

/* ------------------------------------------------------------------
   Sequence and development-stage lists on the /map/ page
   ------------------------------------------------------------------ */

.mp-phase-list {
  display: grid;
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: mp-phase;
}

.mp-phase-list > li {
  position: relative;
  counter-increment: mp-phase;
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-lg) calc(var(--spacing-xl) + var(--spacing-lg));
  border: 1px solid var(--mp-ui-border);
  border-radius: var(--radius-md);
  background: var(--mp-ui-surface);
}

.mp-phase-list > li::before {
  content: counter(mp-phase);
  position: absolute;
  top: var(--spacing-lg);
  left: var(--spacing-lg);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--cg-forest);
  color: var(--cg-cream);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  line-height: 1;
}

.mp-phase-list > li > h3 {
  margin: 0 0 var(--spacing-xs);
  font-size: 1.1875rem;
  color: var(--cg-forest);
}

.mp-phase-list > li > p {
  margin: 0 0 var(--spacing-sm);
  max-width: 68ch;
}

.mp-phase-list > li > .status-badge {
  margin-top: var(--spacing-xs);
}

.mp-phase-depends {
  font-size: 0.875rem;
  color: var(--mp-ui-text-muted);
}

.mp-phase-depends strong {
  color: var(--cg-charcoal);
}

@media (min-width: 48em) {
  .mp-phase-list {
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  }
}

/* Guided discovery keeps the destination story ahead of technical map layers. */
.explorer-journey {
  padding: clamp(3rem, 7vw, 6rem) 0;
  background: #f4eddf;
  border-bottom: 1px solid rgba(31, 59, 46, 0.12);
}
.explorer-journey-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.55fr);
  column-gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}
.explorer-journey-heading .eyebrow { grid-column: 1 / -1; }
.explorer-journey-heading h2 { max-width: 16ch; margin-bottom: 0; }
.explorer-journey-heading p { margin: 0; line-height: 1.75; }
.explorer-journey-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(10rem, 1fr));
  gap: 0;
  margin: 3rem 0 0;
  padding: 0 0 0.75rem;
  overflow-x: auto;
  list-style: none;
  scrollbar-color: rgba(31, 59, 46, 0.3) transparent;
}
.explorer-journey-list li {
  min-width: 10rem;
  padding: 1.25rem 1.1rem;
  border-top: 1px solid rgba(31, 59, 46, 0.28);
  border-right: 1px solid rgba(31, 59, 46, 0.12);
}
.explorer-journey-list li:last-child { border-right: 0; }
.explorer-journey-list strong { display: block; margin-bottom: 0.55rem; color: var(--cg-forest); font-family: var(--font-heading); font-size: 1.05rem; }
.explorer-journey-list span { color: var(--color-text-muted); font-size: 0.82rem; line-height: 1.5; }

.mp-journey {
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--mp-ui-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fffdf8, #f2eadb);
}
.mp-journey-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-bottom: 0.8rem; }
.mp-journey-heading strong { color: var(--cg-forest); font-family: var(--font-heading); font-size: 1.15rem; }
.mp-journey-heading span { color: var(--mp-ui-text-muted); font-size: 0.75rem; }
.mp-journey-list { display: flex; gap: 0.55rem; margin: 0; padding: 0 0 0.35rem; overflow-x: auto; list-style: none; }
.mp-journey-button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.55rem;
  min-width: 9.5rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(31, 59, 46, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  color: var(--cg-charcoal);
  text-align: left;
  cursor: pointer;
}
.mp-journey-button:hover, .mp-journey-button:focus-visible { border-color: var(--cg-forest); background: #fff; }
.mp-journey-button span { grid-row: 1 / 3; color: #927846; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.1em; }
.mp-journey-button strong { color: var(--cg-forest); font-family: var(--font-heading); }
.mp-journey-button small { color: var(--mp-ui-text-muted); font-size: 0.7rem; }
.mp-directory-more { display: flex; justify-content: center; margin-top: 1rem; }
.mp-directory-more button { padding: 0.7rem 1rem; border: 1px solid var(--cg-forest); border-radius: 999px; background: transparent; color: var(--cg-forest); font: inherit; font-weight: 800; cursor: pointer; }
.mp-directory-more button:hover, .mp-directory-more button:focus-visible { background: var(--cg-forest); color: #fff; }
.mp-loading-note { display: inline-block; margin-left: 0.35rem; color: var(--mp-ui-text-muted); font-size: 0.78rem; }

@media (max-width: 760px) {
  .explorer-journey-heading { grid-template-columns: 1fr; }
  .explorer-journey-heading p { margin-top: 1rem; }
  .mp-journey-heading { align-items: flex-start; flex-direction: column; }
}
