/* MM27 · warm glass, plum shadows, gold and iridescent reflected light. */
body:has([data-theme-key="2027"]) {
  --map-area-label-color: #f4c575;
  --map-toc-panel-border: #73455f;
  --map-toc-panel-bg: #1c1027;
  --map-toc-panel-color: #fff4e5;
  --map-toc-ui-font-family: "Museo Sans", var(--font-body, system-ui, sans-serif);
  --map-toc-ui-font-weight: 900;
  --map-toc-title-font-family: var(--map-toc-ui-font-family);
  --map-toc-title-font-weight: 900;
  --map-toc-meta-font-family: var(--map-toc-ui-font-family);
  --map-toc-meta-font-weight: 500;
  --map-toc-control-border: #73455f;
  --map-toc-control-border-strong: #dc94c3;
  --map-toc-control-bg: #16111d;
  --map-toc-control-bg-soft: #2c1634;
  --map-toc-control-bg-active: #602a57;
  --map-toc-control-bg-hover: #44203e;
  --map-toc-control-color: #fff4e5;
  --map-toc-item-bg: #2c1634;
  --map-toc-item-bg-hover: #44203e;
  --map-toc-placeholder: #dec1d8;
  --map-toc-focus-ring: #f4c57566;
  --map-toc-scrollbar-track: #16111d;
  --map-toc-scrollbar-thumb: #73455f;
  --map-toc-scrollbar-thumb-hover: #dc94c3;
}

[data-theme-key="2027"] .year-theme-effect-canvas {
  image-rendering: auto;
}

body:has([data-theme-key="2027"]) .toc-cat-btn[data-cat].is-on {
  color: #21121d;
}

.mm27-artwork-reflections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.home-hero[data-theme-key="2027"] .home-hero-cta {
  box-shadow: 0 5px 36px #ee86c82b, 0 0 18px #f4c5751f;
}


.home-hero[data-theme-key="2027"] .home-hero-copy {
  padding-bottom: 13vh;
}

.mm27-home-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media (max-width: 767px) {
  .home-hero[data-theme-key="2027"]:has(.mm27-home-title) .home-hero-media::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 30%;
    background: linear-gradient(#08050d 0%, #08050d 74%, #08050d00);
    pointer-events: none;
  }
  .mm27-home-title {
    top: max(5.8rem, 12vh);
    inset-inline: .8rem;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    z-index: 1;
    margin: 0;
    text-align: center;
    font-family: "Museo Sans", system-ui, sans-serif;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    color: #f09cd8;
    font-size: clamp(1.25rem, 6.3vw, 2.1rem);
    text-shadow: 0 0 22px #ef83c633;
  }
  .mm27-home-title strong {
    display: block;
    color: #f4c575;
    font-size: 2em;
    margin-top: .2em;
  }
}

@media (forced-colors: active) {
  .mm27-artwork-reflections,
  [data-theme-key="2027"] .year-theme-effect-canvas {
    display: none;
  }
}
