/* Expanded Detroit site. The approved homepage and shared palette live in site.css. */
.hero h1 span { display: block; white-space: nowrap; }
.hero-image { container-type: size; overflow: hidden; }
.hero-photo-plane {
  position: absolute;
  left: 65%;
  top: 57%;
  translate: -65% -57%;
  width: max(100cqw, 240.297cqh);
  aspect-ratio: 1944 / 809;
}
.hero-photo-plane picture,
.hero-photo-plane picture > img { display: block; width: 100%; height: 100%; }
.hero-photo-plane picture > img { object-fit: fill; }
.van-decal {
  position: absolute;
  left: 68.7%;
  top: 38.55%;
  width: 20.15%;
  display: flex;
  align-items: center;
  gap: 4.9%;
  transform: skewY(1.15deg) scaleY(.975);
  filter: brightness(.94);
}
.hero-image .van-decal img:first-child { width: 19.65%; height: auto; aspect-ratio: 1; }
.hero-image .van-decal img:last-child { width: 75.45%; height: auto; }

.header-links [aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: 6px; }
.mega-panel {
  width: min(1110px, calc(100vw - var(--inset) - var(--inset)));
  right: calc(-100% - 8px);
  grid-template-columns: 1fr 1.15fr .72fr;
  gap: clamp(15px, 2.4vw, 38px);
  padding: 24px clamp(17px, 2vw, 29px);
}
.mega-group > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  font: 800 1.13rem/1.1 var(--type-display);
  letter-spacing: -.02em;
  color: var(--white);
}
.mega-group > summary::-webkit-details-marker { display: none; }
.mega-group > summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border: solid var(--blue);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-2px);
}
.mega-group[open] > summary::after { transform: rotate(225deg); }
.mega-body { margin-top: 11px; }
.menu-set + .menu-set { margin-top: 15px; }
.menu-set > p { color: var(--blue); font: 700 .87rem/1.2 var(--type-display); margin-bottom: 3px; }
.menu-set a {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  min-height: 32px;
  color: #f1f4f2;
  text-decoration: none;
  line-height: 1.2;
  padding-block: 4px;
}
.menu-set a:hover, .mega-utility a:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-service-mark { flex: 0 0 10px; width: 10px; height: 10px; border: 2px solid #f5ae70; transform: rotate(0deg); border-radius: 3px; }
.car-mark, .key-mark { border-radius: 50%; }
.emergency-mark { transform: rotate(45deg); border-radius: 1px; }
.home-mark, .rekey-mark { border-color: #b6e4f1; border-radius: 50%; }
.business-mark, .garage-mark { border-color: #cadbb2; border-radius: 0; }
.menu-index {
  display: inline-block;
  margin-top: 13px;
  font: 700 .92rem/1.3 var(--type-display);
  text-underline-offset: 4px;
  color: var(--copper);
}
.menu-area-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; }
.location-pin {
  --pin: #476c7b;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  display: inline-grid;
  place-items: center;
  border-radius: 100% 100% 100% 10%;
  background: var(--pin);
  transform: rotate(-45deg);
}
.location-pin::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #fbf8f1; }
.menu-area-links .location-pin { --pin: #a3d4e4; width: 10px; height: 10px; flex-basis: 10px; }
.menu-area-links .location-pin::after { width: 4px; height: 4px; background: #192c3a; }
.mega-visit { background: #253e4e; padding: 17px; border-top: 2px solid var(--blue); }
.mega-visit h2 { font-size: 1.45rem; letter-spacing: -.035em; margin-bottom: 7px; }
.mega-visit p { color: #e2eff1; font-size: 1rem; line-height: 1.25; margin-bottom: 9px; }
.mega-visit a { font: 750 .93rem/1.2 var(--type-display); text-underline-offset: 4px; color: #ffd4a9; }
.mega-utility { display: flex; flex-wrap: wrap; gap: 5px 16px; margin-top: 11px; }
.mega-utility a { font-size: .98rem; padding: 6px 0; text-decoration: none; }

.homepage .service-section { padding-bottom: clamp(39px, 4.3vw, 68px); }
.home-catalog, .home-areas, .planning-band, .index-stack { padding-block: clamp(42px, 5.5vw, 86px); }
.home-catalog { border-top: 1px solid #d8d1c2; }
.section-intro { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 15px 40px; margin-bottom: 24px; }
.section-intro > p { color: var(--muted); max-width: 47ch; }
.home-catalog > .text-link, .home-areas > .text-link, .question-more { margin-top: 25px; }

.service-catalog { display: grid; grid-template-columns: 1fr 1fr .85fr; gap: clamp(12px, 2.4vw, 32px); }
.catalog-group { min-width: 0; padding: 17px 17px 15px; background: #ebe3d5; border-top: 3px solid #ab6c43; }
.catalog-group:nth-child(2) { background: #e0eced; border-color: #507e8e; }
.catalog-group:nth-child(3) { background: #e5e7dc; border-color: #6e8460; }
.catalog-group > h3 { margin: 0 0 10px; font-size: 1.24rem; }
.catalog-route {
  --accent: #87543b;
  display: flex;
  gap: 6px;
  align-items: center;
  min-height: 78px;
  padding: 7px 0;
  text-decoration: none;
  position: relative;
}
.catalog-route + .catalog-route { border-top: 1px solid #20374121; }
.catalog-route > span:last-child { min-width: 0; }
.catalog-route .service-symbol { flex-basis: 63px; margin-inline: -7px 0; scale: .70; }
.catalog-route strong { display: block; font: 770 1rem/1.15 var(--type-display); }
.catalog-route small { display: block; margin-top: 4px; font-size: .95rem; line-height: 1.18; color: #30414c; }
.catalog-route:is(:hover, :focus-visible) strong { text-decoration: underline; text-underline-offset: 3px; }
.catalog-route:is(:hover, :focus-visible) .service-symbol::after { animation: trace 580ms both; }
.new-symbol i:nth-child(3) { inset: 10px 6px auto auto; width: 8px; height: 8px; border-radius: 50%; background: #b27450; }
.key-symbol::before { inset: 8px 19px 31px 15px; background: #976345; border: 4px solid #624232; border-radius: 50%; }
.key-symbol i:nth-child(1) { left: 25px; top: 19px; width: 13px; height: 13px; background: #ebe3d5; border-radius: 50%; }
.key-symbol i:nth-child(2) { left: 29px; top: 34px; width: 12px; height: 27px; transform: rotate(-20deg); background: #805039; clip-path: polygon(0 0,100% 0,100% 31%,70% 31%,70% 55%,100% 55%,100% 74%,70% 74%,70% 100%,0 100%); }
.emergency-symbol::before { inset: 12px 14px 15px; border-radius: 11px; border: 3px solid #59402f; background: linear-gradient(155deg,#e9bc80,#ba7043); box-shadow: inset 0 0 0 2px #f8d9b1; }
.emergency-symbol i:nth-child(1) { inset: 15px 29px 23px; background: #593e2b; clip-path: polygon(49% 0,93% 0,64% 43%,97% 43%,21% 100%,37% 54%,3% 54%); }
.emergency-symbol i:nth-child(2) { left: 4px; top: 29px; width: 6px; height: 3px; background: #8c5034; box-shadow: 57px 0 #8c5034; }
.rekey-symbol::before { inset: 16px 13px 16px; border-radius: 29% 40% 40% 29%; border: 3px solid #3e5861; background: repeating-linear-gradient(0deg,#8aa7af 0 5px,#bfd3d8 5px 12px); }
.rekey-symbol i:nth-child(1) { inset: 19px 29px 19px 11px; border: 3px solid #395966; border-radius: 53%; background: #c3d6da; }
.rekey-symbol i:nth-child(2) { left: 21px; top: 31px; width: 11px; height: 13px; background: #40525d; clip-path: polygon(50% 0,83% 11%,100% 35%,77% 56%,73% 70%,91% 100%,9% 100%,27% 70%,25% 53%,0 35%,17% 11%); }
.garage-symbol::before { inset: 11px 8px 12px; border: 3px solid #4f5f4c; border-radius: 6px 6px 0 0; background: linear-gradient(#9baa8d,#ced8bf); box-shadow: inset 0 0 0 3px #e6e6d8; }
.garage-symbol i:nth-child(1) { inset: 23px 14px 16px; border: 2px solid #4f5f4c; background: repeating-linear-gradient(#889c85 0 7px,#596c59 7px 9px); }
.garage-symbol i:nth-child(2) { left: 31px; bottom: 23px; width: 10px; height: 3px; background: #394c3a; }

.area-bands { display: grid; grid-template-columns: 1.25fr .92fr; gap: clamp(24px, 5vw, 67px); }
.area-bands h3 { margin: 0 0 9px; }
.area-link-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px; }
.area-link-list a { display: flex; gap: 11px; align-items: flex-start; padding: 14px 13px; background: #e9ece7; text-decoration: none; min-height: 79px; }
.area-link-list a:hover { background: #dbe6e5; }
.area-link-list .location-pin { margin-top: 4px; }
.area-link-list strong, .area-link-list small { display: block; }
.area-link-list strong { font: 780 .98rem/1.15 var(--type-display); }
.area-link-list small { margin-top: 5px; font-size: .92rem; line-height: 1.21; color: var(--muted); }

.planning-band { background: #e6dbca; }
.guide-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(12px, 2.2vw, 30px); }
.guide-cards a { display: flex; flex-direction: column; text-decoration: none; background: #faf7ef; padding: 0 0 16px; }
.guide-cards img { width: 100%; height: auto; aspect-ratio: 1.87; object-fit: cover; }
.guide-cards strong, .guide-cards span { margin-inline: clamp(12px, 1.5vw, 22px); }
.guide-cards strong { font: 800 clamp(1.05rem, 1.55vw, 1.38rem)/1.15 var(--type-display); margin-top: 15px; }
.guide-cards span { color: var(--muted); font-size: 1rem; margin-top: 6px; line-height: 1.28; }
.guide-cards a:hover strong { text-decoration: underline; text-underline-offset: 4px; }

.inner-hero { background: var(--midnight); color: var(--white); border-bottom: 4px solid #93c0cb; }
.inner-hero.areas-hero { background: #193342; }
.inner-hero.garage-hero { background: #243831; border-color: #b3c39c; }
.inner-top { padding-block: 22px clamp(36px, 5vw, 74px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; color: #e1ebeb; font-size: .99rem; margin-bottom: 22px; }
.crumbs a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.inner-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(23px, 4vw, 64px); align-items: center; }
.has-media .inner-grid { grid-template-columns: 1.05fr 1fr; }
.inner-copy h1 { font-size: clamp(2.5rem, 5.3vw, 5.6rem); line-height: .98; letter-spacing: -.05em; font-weight: 850; max-width: 16ch; overflow-wrap: anywhere; }
.inner-copy p { margin: 16px 0 21px; color: #e7eeee; font-size: clamp(1.04rem, 1.34vw, 1.24rem); line-height: 1.44; max-width: 66ch; }
.inner-copy p a { text-underline-offset: 4px; }
.inner-photo img { width: 100%; height: auto; aspect-ratio: 1.67; object-fit: cover; object-position: 53% 53%; }
.car-hero .inner-photo img, .key-hero .inner-photo img { object-position: 50% 73%; }
.inner-photo { border-bottom: 3px solid var(--copper); }

.index-stack > h2 { margin-bottom: 25px; }
.article-shell { padding-block: clamp(34px, 5vw, 76px); }
.reading-column { max-width: 74ch; }
.reading-column h2 { font-size: clamp(1.65rem, 3vw, 2.68rem); letter-spacing: -.035em; line-height: 1.05; }
.reading-column h3 { margin-top: 20px; }
.reading-column h2:not(:first-child), .reading-column section + section { margin-top: clamp(29px, 4.1vw, 65px); }
.reading-column p { margin-top: 12px; line-height: 1.52; color: #273946; }
.reading-column a { color: #244e61; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.local-source { font-size: .96rem; }
.arrival-shell { padding-top: 33px; }
.arrival-card { display: flex; align-items: flex-start; gap: 14px; padding: 20px 24px; max-width: 74ch; background: #e3e8e1; }
.arrival-card .location-pin { margin-top: 5px; }
.arrival-card h2 { font-size: 1.31rem; letter-spacing: -.025em; }
.arrival-card ul { padding-left: 22px; margin: 7px 0 0; }
.area-article { padding-top: 27px; }
.more-links { padding-bottom: 45px; }
.more-links h2 { font-size: clamp(1.65rem, 2.8vw, 2.65rem); margin-bottom: 15px; }
.more-links div { display: flex; flex-wrap: wrap; gap: 8px; }
.more-links div a { padding: 8px 11px; background: #e0e9e6; font-weight: 650; text-underline-offset: 3px; }
.directory-note { background: #e0e9e6; padding-block: 32px; }
.directory-note h2 { font-size: clamp(1.5rem, 2.8vw, 2.6rem); }
.directory-note p { max-width: 63ch; margin-top: 9px; }
.directory-note .button { margin-top: 15px; }

.footer-nav { display: grid; grid-template-columns: .95fr .95fr .92fr; gap: 22px; margin-top: 32px; }
.footer-nav > div { display: grid; align-content: start; gap: 5px; }
.footer-nav h2 { font-size: 1.04rem; letter-spacing: -.015em; color: var(--blue); margin-bottom: 3px; }
.footer-nav a { width: fit-content; text-decoration: none; font-size: .99rem; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid #68829055; padding-top: 15px; }
.footer-bottom > a { margin-left: 0; }
.footer-bottom > a:last-child { margin-left: auto; }

@media (max-width: 1100px) {
  .menu-area-links { grid-template-columns: 1fr; }
  .catalog-route small { font-size: .92rem; }
  .area-bands { gap: 23px; }
}
@media (max-width: 900px) {
  .service-catalog { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-group:nth-child(3) { grid-column: 1 / -1; }
  .area-bands { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .area-link-list { grid-template-columns: 1fr; }
  .area-link-list a { min-height: 61px; }
}
@media (max-width: 720px) {
  .hero-photo-plane { left: 84%; top: 63%; translate: -84% -63%; }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 4.3rem); }
  .hero-copy { max-width: min(100%, 36rem); }
  .mega-panel { grid-template-columns: 1fr; gap: 13px; max-height: calc(100dvh - var(--header) - 18px); }
  .mega-group > summary { min-height: 38px; border-bottom: 1px solid #76a0ad5e; }
  .mega-body { margin-top: 8px; }
  .menu-area-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .menu-set a { min-height: 36px; }
  .mega-visit { padding: 11px; }
  .mega-visit h2, .mega-visit p { margin-bottom: 5px; }
  .section-intro, .areas-hero .inner-grid, .has-media .inner-grid { grid-template-columns: 1fr; }
  .section-intro { margin-bottom: 19px; gap: 10px; }
  .inner-top { padding-block: 14px 26px; }
  .inner-copy h1 { max-width: 100%; }
  .crumbs { margin-bottom: 14px; }
  .inner-copy p { margin-block: 11px 14px; }
  .home-catalog, .home-areas, .planning-band, .index-stack { padding-block: 33px; }
  .service-catalog, .area-bands { grid-template-columns: 1fr; }
  .catalog-group { padding: 13px 14px 9px; }
  .catalog-group:nth-child(3) { grid-column: auto; }
  .catalog-group > h3 { margin-bottom: 4px; }
  .catalog-route { min-height: 67px; gap: 6px; }
  .catalog-route .service-symbol { scale: .64; margin-block: -7px; }
  .area-link-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .area-link-list a { padding: 9px; gap: 7px; }
  .area-link-list strong { line-height: 1.12; }
  .area-link-list small { font-size: .88rem; }
  .guide-cards { grid-template-columns: 1fr; }
  .guide-cards img { aspect-ratio: 2.4; }
  .footer-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-nav > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 355px) {
  .area-link-list { grid-template-columns: 1fr; }
  .area-link-list a { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-route .service-symbol::after { animation: none !important; }
}


.mega-group > summary { padding-inline: 9px; }
.inner-copy h1 { max-width: 100%; font-size: clamp(2.43rem, 4.55vw, 4.9rem); text-wrap: balance; }
.article-serviced { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, .67fr); gap: clamp(24px, 5.5vw, 84px); align-items: start; }
.reading-column [id] { scroll-margin-top: 8px; }
.article-jumps { position: sticky; top: calc(var(--header) + 28px); background: #e1e9e9; border-top: 3px solid #6c9aaa; padding: 15px 18px 19px; }
.article-jumps .article-jumps-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.article-jumps .service-symbol { --accent: #426f81; flex-basis: 52px; scale: .68; margin: -10px -5px -9px -8px; }
.article-jumps h2 { font-size: 1.3rem; letter-spacing: -.026em; }
.article-jumps nav { display: grid; gap: 8px; margin: 9px 0 13px; }
.article-jumps a { text-underline-offset: 4px; font-size: 1rem; line-height: 1.24; color: #294c61; align-self: start; }
.article-jumps > p { font-size: .99rem; color: var(--muted); }
.article-jumps > a { display: inline-block; font-weight: 750; margin-top: 7px; }
@media (min-width: 721px) and (max-width: 930px) {
  .hero-photo-plane { left: 83%; translate: -83% -57%; }
  .hero::after { background: linear-gradient(90deg,#081520f9 0%,#081520da 34%,#08152050 57%,#08152000 72%); }
}
@media (max-width: 870px) {
  .article-serviced { grid-template-columns: 1fr; }
  .article-jumps { position: static; max-width: 52ch; }
}

