:root {
  --maps-paper: #fcfaf8;
  --maps-ink: #101e36;
  --maps-inset: clamp(1rem, 2.65vw, 2.15rem);
  --maps-line: #cbdce8;
}

body { background: var(--maps-paper); color: var(--maps-ink); }
.mast-inner { min-height: clamp(4.5rem, 6.4vw, 5.75rem); }
.brand img { width: clamp(10rem, 18vw, 13.5rem); }
.maps-page .button.primary {
  background: linear-gradient(40deg, #0849af, #0865c5 65%, #0078a9);
}
.maps-page .button.primary:hover {
  background: linear-gradient(40deg, #073e96, #095ab0 65%, #006790);
}
.maps-page { width: var(--page-content-width); margin-inline: auto; padding-bottom: 1.25rem; }
.maps-page .button { border-radius: .9rem; }

.maps-opening {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(1.25rem, 2.7vw, 2.6rem);
  padding-block: clamp(2rem, 3.5vw, 3rem) clamp(1.35rem, 2.45vw, 2rem);
  padding-inline: var(--maps-inset);
}
.maps-opening .eyebrow { letter-spacing: .035em; text-wrap: balance; }
.maps-opening h1 {
  font-size: clamp(2.85rem, 5.6vw, 4.65rem);
  font-weight: 750;
}
.maps-opening h1 em { max-width: 19ch; letter-spacing: -.046em; }
.maps-intro {
  border-inline-start: 1px solid #43b7df;
  padding-inline-start: clamp(1rem, 2vw, 1.55rem);
}
.maps-intro p { font-size: clamp(1.05rem, 1.66vw, 1.35rem); line-height: 1.4; }
.maps-intro-lead { font-weight: 650; text-wrap: balance; }
.maps-intro p + p { margin-top: .6rem; color: #30465d; }
.maps-intro .button { margin-top: .8rem; }

.maps-example {
  display: grid;
  grid-template-areas: "map profile";
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
  max-width: 68rem;
  margin-inline: auto;
  overflow: hidden;
  background: white;
  border: 1px solid #ccdbe3;
  border-radius: clamp(1rem, 2.2vw, 1.65rem);
  box-shadow: 0 .85rem 2rem -.8rem #102e4629;
}
.maps-demo-map {
  grid-area: map;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #f0f2f4;
}
.maps-map-viewport {
  position: relative;
  overflow: hidden;
}
.maps-street-map {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.maps-demo-search {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: .6rem;
  margin: .65rem .7rem .5rem;
  padding: .5rem .8rem;
  border: 1px solid #d1dce5;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 .16rem .45rem #17395416;
  font-weight: 700;
  font-size: .875rem;
  line-height: 1.3;
}
.maps-search-icon {
  position: relative;
  flex: none;
  width: .83rem;
  height: .83rem;
  border: 1.5px solid #16446d;
  border-radius: 50%;
}
.maps-search-icon::after {
  content: "";
  position: absolute;
  width: .36rem;
  height: 1.5px;
  bottom: -.12rem;
  right: -.27rem;
  background: #16446d;
  transform: rotate(45deg);
}
.maps-map-credit {
  text-align: end;
  padding: .25rem .7rem;
  border-top: 1px solid #d8e2eb;
  color: #324b61;
  font-size: .75rem;
  line-height: 1.4;
  text-underline-offset: .15em;
}
.maps-demo-profile {
  grid-area: profile;
  border-inline-start: 1px solid #d8e4ec;
}
.maps-card-cover {
  position: relative;
  overflow: hidden;
  background: #e3e8e6;
}
.maps-card-cover img {
  height: clamp(7.8rem, 10.7vw, 9.5rem);
  object-fit: cover;
  object-position: center 58%;
}
.maps-example-label {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  padding: .28rem .58rem;
  border: 1px solid #ffffff55;
  border-radius: .35rem;
  background: #132637e8;
  color: #fff;
  font-size: .78rem;
  font-weight: 650;
}
.maps-card-content { padding: clamp(.9rem, 1.45vw, 1.3rem); }
.maps-card-category { color: #466681; font-size: .875rem; font-weight: 700; }
.maps-card-name {
  margin: .2rem 0 .35rem;
  font: 720 clamp(1.35rem, 2.2vw, 1.85rem)/1.15 var(--sans);
  letter-spacing: -.045em;
}
.maps-card-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .38rem;
  font-size: .88rem;
  line-height: 1.3;
}
.maps-card-rating span[aria-label] { color: #976004; letter-spacing: .03em; }
.maps-card-review-count { color: #43566a; }
.maps-card-facts {
  display: grid;
  gap: .28rem;
  margin-top: .65rem;
  padding-top: .6rem;
  border-top: 1px solid #dce6ed;
  font-size: .91rem;
  line-height: 1.4;
}
.maps-card-facts div { display: grid; grid-template-columns: 6.25rem minmax(0, 1fr); gap: .55rem; }
.maps-card-facts dt { font-weight: 700; }
.maps-card-facts dd { color: #374f65; }
.maps-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .48rem;
  margin-top: .75rem;
  color: #0a519f;
  font-size: .875rem;
  font-weight: 700;
}
.maps-card-actions span { padding: .34rem .75rem; border-radius: .46rem; background: #eaf4fb; }
.maps-card-actions span:first-child { color: white; background: #0a5dba; }

.maps-value, .maps-questions {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(1rem, 3vw, 2.6rem);
  padding: clamp(1.4rem, 3.1vw, 2.55rem) var(--maps-inset);
}
.maps-value {
  align-items: center;
  margin-top: clamp(1.05rem, 2.6vw, 1.8rem);
  border-radius: 1.2rem;
  background: linear-gradient(105deg, #083878, #07509a 52%, #006e96);
  color: white;
}
.maps-value h2, .maps-questions h2, .maps-close h2 {
  font-size: clamp(2rem, 3.85vw, 3.65rem);
  text-wrap: balance;
}
.maps-value p {
  padding-inline-start: var(--maps-inset);
  border-inline-start: 1px solid #a7dff1;
  font-size: clamp(1rem, 1.48vw, 1.23rem);
  line-height: 1.5;
}
.maps-story {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  margin-top: clamp(1rem, 2vw, 1.55rem);
  border: 1px solid #cddfea;
  border-radius: 1.25rem;
  background: linear-gradient(138deg, #f6fbfe, #eaf4fa);
}
.maps-story img { height: 100%; object-fit: cover; object-position: 55% center; }
.maps-story-copy { align-self: center; padding: clamp(1.3rem, 3vw, 2.9rem); }
.maps-story h2, .maps-scope h2 { font-size: clamp(2rem, 3.55vw, 3.1rem); }
.maps-story h2 em, .maps-scope h2 em { display: block; color: #0b5386; }
.maps-story p { margin-top: .75rem; color: #314761; font-size: clamp(1rem, 1.4vw, 1.16rem); line-height: 1.5; }
.maps-scope { padding: clamp(1.75rem, 3.2vw, 3rem) var(--maps-inset); }
.maps-deliverables {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 1.3rem;
}
.maps-deliverables > div { border-top: 1px solid #70b7db; padding-top: .8rem; }
.maps-deliverables h3 {
  font: 720 clamp(1.15rem, 1.75vw, 1.48rem)/1.17 var(--sans);
  letter-spacing: -.032em;
  text-wrap: balance;
}
.maps-deliverables p { margin-top: .55rem; color: #374962; }
.maps-questions { border-block: 1px solid var(--maps-line); }
.maps-questions h2 { max-width: 17ch; }
.maps-questions h2 + p { max-width: 35ch; margin-top: .8rem; color: #374962; }
.maps-questions .text-link { margin-top: .7rem; color: var(--maps-ink); }
.maps-answers details + details { border-top: 1px solid var(--maps-line); }
.maps-answers summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  min-height: 44px;
  padding-block: .65rem;
  cursor: pointer;
  font-weight: 720;
  line-height: 1.35;
  list-style: none;
}
.maps-answers summary::-webkit-details-marker { display: none; }
.maps-answers summary::after { content: "+" / ""; color: #0d61ae; font-size: 1.2rem; }
.maps-answers details[open] summary::after { content: "−" / ""; }
.maps-answers p { padding-bottom: .85rem; color: #374962; }
.maps-close {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.65rem;
  margin-block: clamp(1.1rem, 3vw, 2rem);
  padding: clamp(1.15rem, 2.3vw, 1.85rem) var(--maps-inset);
  border-radius: 1rem;
  background: linear-gradient(115deg, #e8f5fc, #dceef8);
}
.maps-close h2 { font-size: clamp(1.75rem, 3vw, 2.72rem); }
.maps-close p { max-width: 56ch; margin-top: .55rem; color: #30465d; }
.maps-close .button { justify-self: start; }

@media (max-width: 850px) {
  .maps-opening, .maps-value, .maps-story, .maps-questions, .maps-close { grid-template-columns: minmax(0, 1fr); }
  .maps-opening { row-gap: 1.25rem; }
  .maps-intro { max-width: 40rem; border: 0; padding-inline-start: 0; }
  .maps-value p { padding-inline-start: 0; border: 0; }
  .maps-story img { height: auto; }
}
@media (max-width: 740px) {
  .maps-example { grid-template-areas: "profile" "map"; grid-template-columns: minmax(0, 1fr); }
  .maps-demo-profile { border-inline-start: 0; }
  .maps-card-cover img { height: auto; max-height: 10.25rem; aspect-ratio: 2.25; }
  .maps-demo-map { border-top: 1px solid #d8e4ec; }
  .maps-map-viewport { width: 100%; aspect-ratio: 1.72; }
}
@media (max-width: 760px) {
  .mast-inner { min-height: 0; }
  .brand img { width: min(34vw, 10rem); }
  .mast-contact { padding-inline: .7rem; font-size: .875rem; }
  .maps-opening { padding-inline: 0; }
  .maps-opening h1 { font-size: clamp(2.6rem, 7.4vw, 4rem); }
  .maps-deliverables { grid-template-columns: minmax(0, 1fr); }
}
