/* Isometric Toronto page: the frame that holds the zoomable map. The page scrolls freely; the map opens on request. */
.iso-page .iso-top { padding-top: 26px; padding-bottom: 0; }
.iso-page .iso-top h1 { font-size: clamp(1.85rem, 6.2vw, 3.2rem); margin-bottom: 0; }
.iso-page .iso-rest { padding-top: 22px; }
.iso-page .iso-rest .lede { font-size: 1.1rem; max-width: none; }

.iso-frame { max-width: 1220px; margin: 18px auto 0; padding: 0 20px; }
.iso-box {
  position: relative; display: flex; flex-direction: column; width: 100%;
  aspect-ratio: 4 / 5; max-height: 70vh; max-height: 70svh;
  background: #211839; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
}
.iso-stage { position: relative; flex: 1 1 auto; min-height: 0; }
.iso-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.iso-view { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #211839; }
.iso-open {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  min-height: 52px; padding: 14px 30px; font-size: 1rem; white-space: nowrap;
  box-shadow: 0 8px 26px rgba(15, 10, 30, 0.55);
}
.iso-frame.is-open .iso-still { visibility: hidden; }
.iso-bar {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 48px; padding: 2px 6px; background: #1b1411; color: var(--ivory);
}
.iso-btn {
  min-height: 44px; padding: 8px 14px; border: 1px solid transparent; border-radius: var(--r); background: transparent;
  color: var(--ivory); font: 600 0.92rem/1.2 var(--sans); cursor: pointer;
}
.iso-btn:hover { border-color: rgba(247, 243, 234, 0.45); }
.iso-btn:focus-visible { outline: 2px solid var(--oak); outline-offset: 2px; }
.iso-frame figcaption { text-transform: none; letter-spacing: 0; font-size: 0.82rem; color: var(--fg-3); margin-top: 12px; }
.iso-note { max-width: 800px; margin: 12px auto 0; padding: 0 20px; color: var(--fg-2); }

/* the map over the whole screen (phones and tablets always; larger screens with the Full screen button) */
.iso-frame.is-full .iso-box {
  position: fixed; inset: 0; z-index: 2000; width: auto; height: auto; max-height: none; aspect-ratio: auto; border-radius: 0;
  padding-top: env(safe-area-inset-top); background: #1b1411;
}
html.iso-lock, html.iso-lock body { overflow: hidden; }

.iso-tlm .iso-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.iso-tlm .iso-btns .button { flex: 1 1 200px; text-align: center; justify-content: center; }

@media (min-width: 700px) {
  .iso-page .iso-top { padding-top: 40px; }
  .iso-box { aspect-ratio: 16 / 10; max-height: calc(100vh - 170px); min-height: 320px; }
  .iso-tlm .iso-btns .button { flex: 0 1 auto; }
}

/* ---- the Live Map panel with the product picture, the neighbourhood cards, the wallpaper block */
.iso-page .iso-rest .cta-panel.iso-tlm { margin-top: 30px; display: grid; gap: 22px; scroll-margin-top: 90px; transition: box-shadow 0.6s ease; }
.iso-tlm.is-lit { box-shadow: 0 0 0 3px var(--oak), var(--shadow); }
.iso-tlm-pic img { display: block; width: 100%; height: auto; }   /* the whole frame, square corners: the frame is part of the piece */
.doc .cta-panel .iso-tlm-cap { margin: 8px 0 0; font-size: 0.8rem; color: var(--oak); }
.iso-tlm-text .eyebrow { margin-top: 0; }

.doc ul.iso-hoods { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.doc ul.iso-hoods li { margin: 0; }
.iso-hoods a { display: block; border-radius: var(--r); overflow: hidden; background: #211839; color: #fff3e2; text-decoration: none; box-shadow: var(--shadow); }
.iso-hoods img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.iso-hoods span { display: block; padding: 10px 12px 12px; font: 600 0.92rem/1.25 var(--sans); }
.iso-hoods a:hover span, .iso-hoods a:focus-visible span { text-decoration: underline; }

.iso-wp { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 14px; }
.iso-wp-pic img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); }
.iso-wp-text > p:first-child { margin-top: 0; }
.iso-wp .quick { margin-top: 12px; }
.iso-wp-get { display: grid; gap: 8px; margin-top: 16px !important; }
.iso-wp-get .button { justify-self: start; }
.iso-wp-how { font-size: 0.85rem; color: var(--fg-3); }

.iso-skyline, .iso-close { margin: 22px 0 0; }
.iso-skyline img, .iso-close img { display: block; width: 100%; height: auto; border-radius: var(--r); background: #211839; }
.iso-skyline figcaption, .iso-close figcaption { text-transform: none; letter-spacing: 0; font-size: 0.82rem; color: var(--fg-3); margin-top: 10px; }
.iso-place .eyebrow a { color: inherit; }
.iso-place .iso-box { aspect-ratio: 3 / 2; max-height: none; }

@media (min-width: 560px) {
  .doc ul.iso-hoods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .iso-wp { grid-template-columns: 150px minmax(0, 1fr); gap: 24px; }
}
@media (min-width: 700px) {
  .iso-page .iso-rest .cta-panel.iso-tlm { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 28px; }
  .iso-place .iso-box { aspect-ratio: 3 / 2; max-height: calc(100vh - 150px); }
}
@media (prefers-reduced-motion: reduce) { .iso-page .iso-rest .cta-panel.iso-tlm { transition: none; } }
