/* Markets — one connected view of AHMC's six regions. */
.markets-refresh {
  --mk-header-height: 99px;
  --mk-bar-height: 70px;
  color: var(--navy);
  background: #fff;
}
.markets-refresh main { overflow: clip; }
.markets-refresh .mk-jump-shell { overflow: visible; }
.mk-wrap { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.mk-section { padding-block: var(--v2-space); }
.markets-refresh .display { font-weight: 800; letter-spacing: -.045em; line-height: 1.09; }
.markets-refresh p { font-size: 1rem; line-height: 1.8; }
.markets-refresh .eyebrow { font-size: .7rem; line-height: 1.55; margin: 0 0 1.2rem; }
.mk-hero { padding-top: clamp(3rem, 5vw, 5.5rem); }
.mk-hero-copy { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.mk-hero h1 { margin: 0; max-width: 17ch; font-size: clamp(2.8rem, 4.5vw, 4.65rem); }
.mk-hero-intro p { margin: 0 0 1rem; color: var(--slate); }
.mk-hero-intro p:first-child { color: var(--navy); font-weight: 600; }
.mk-hero .v2-actions { margin-block: 2rem 2.8rem; }
.mk-hero-photo { margin: 0; background: var(--mist); aspect-ratio: 2.9 / 1; overflow: hidden; }
.mk-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.mk-jump-shell {
  position: sticky;
  top: var(--mk-header-height);
  z-index: 35;
  border-block: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 5px 15px rgba(6,27,73,.04);
}
.mk-jump { display: flex; gap: 1.6rem; align-items: stretch; min-height: 68px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #bbc5d7 transparent; }
.mk-jump a { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 1.25rem .15rem 1.1rem; border-bottom: 3px solid transparent; color: #475874; white-space: nowrap; font-size: .73rem; font-weight: 800; letter-spacing: .01em; }
.mk-jump a small { font-size: .58rem; color: #8d9ab1; }
.mk-jump a:hover,.mk-jump a[aria-current="location"] { border-color: var(--red); color: var(--navy); }
.mk-jump a[aria-current="location"] small { color: var(--red); }
.mk-overview { background: #f4f6fa; }
.mk-section-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; margin-bottom: 2.7rem; }
.mk-section-heading h2 { font-size: clamp(2rem, 3.3vw, 3.25rem); margin: 0; max-width: 18ch; }
.mk-section-heading .mk-subhead { color: var(--navy); font-size: 1.2rem; line-height: 1.5; font-weight: 700; margin: 0 0 .9rem; }
.mk-section-heading p:last-child { color: var(--slate); margin: 0; }
.mk-hub-graphic { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); grid-template-rows: auto 175px auto; gap: 0 1.7rem; isolation: isolate; }
.mk-hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.mk-hub-lines path { fill: none; stroke: #b7c3d5; stroke-width: 1.7; stroke-dasharray: 3 6; }
.mk-hub-card { display: block; min-width: 0; border: 1px solid #d5ddea; border-left: 4px solid var(--navy); background: #fff; transition: border-color 180ms, box-shadow 180ms; }
.mk-hub-card:nth-of-type(-n+3) { grid-row: 1; }
.mk-hub-card:nth-of-type(n+4) { grid-row: 3; }
.mk-hub-card:nth-of-type(3n+1) { grid-column: 1; }
.mk-hub-card:nth-of-type(3n+2) { grid-column: 2; }
.mk-hub-card:nth-of-type(3n) { grid-column: 3; }
.mk-hub-card:hover,.mk-hub-card:focus-visible { border-left-color: var(--red); box-shadow: 0 8px 20px rgba(6,27,73,.07); }
.mk-card-photo { display: none; margin: 0; }
.mk-card-copy { display: block; padding: 1.5rem; }
.mk-card-number { display: block; color: var(--red); font-size: .65rem; font-weight: 800; margin-bottom: .6rem; }
.mk-card-name { display: flex; justify-content: space-between; align-items: center; gap: .6rem; color: var(--navy); font-size: clamp(1.05rem, 1.6vw, 1.4rem); font-weight: 800; letter-spacing: -.02em; }
.mk-card-name i { font-style: normal; color: var(--red); }
.mk-card-description { display: block; color: var(--slate); font-size: .8rem; line-height: 1.7; margin-top: .6rem; }
.mk-hub-center { grid-column: 2; grid-row: 2; align-self: center; justify-self: center; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 140px; height: 140px; border: 8px solid #fff; border-radius: 50%; outline: 1px solid #cbd4e4; background: var(--navy); color: #fff; }
.mk-hub-center strong { font-size: 1.7rem; font-weight: 800; letter-spacing: .02em; }
.mk-hub-center small { font-size: .5rem; letter-spacing: .1em; margin-top: .35rem; text-transform: uppercase; }
.mk-region { border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--mk-header-height) + var(--mk-bar-height) + 24px); }
.mk-region:focus { outline: none; }
.mk-region:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.mk-region-inner { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.mk-region:nth-child(even) { background: #f8f9fb; }
.mk-region:nth-child(even) .mk-region-photo { order: 2; }
.mk-region-photo { margin: 0; position: sticky; top: calc(var(--mk-header-height) + var(--mk-bar-height) + 35px); aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.mk-region-photo img { width: 100%; height: 100%; object-fit: cover; }
.mk-region-number { display: inline-block; margin-bottom: 1rem; color: var(--red); font-weight: 800; font-size: .75rem; letter-spacing: .07em; }
.mk-region h2 { margin: 0 0 1.2rem; font-size: clamp(2rem, 3.2vw, 3.15rem); }
.mk-chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0 0 1.3rem; padding: 0; }
.mk-chips li { display: inline-flex; align-items: center; border: 1px solid #d6ddeb; padding: .4rem .7rem; color: var(--navy); font-size: .7rem; font-weight: 600; line-height: 1.5; background: #fff; }
.mk-role { display: inline-block; padding: .45rem .7rem; color: #fff; background: var(--navy); font-size: .67rem; font-weight: 700; margin: 0 0 1.2rem; }
.mk-focus { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.3rem; }
.mk-focus span { color: #a4131b; font-size: .67rem; font-weight: 700; }
.mk-focus span + span::before { content: '/'; color: #9babc1; margin-right: .6rem; }
.mk-region-copy p { color: var(--slate); margin: 0 0 1rem; }
.mk-region-copy .v2-text-link { margin-top: 1rem; min-height: 48px; }
.mk-market-details { margin: 1.5rem 0 1.2rem; border-top: 1px solid var(--line); }
.mk-market-details details { border-bottom: 1px solid var(--line); }
.mk-market-details summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem .1rem; min-height: 52px; font-size: .9rem; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; }
.mk-market-details summary::-webkit-details-marker { display: none; }
.mk-market-details summary::after { content: '+'; color: var(--red); font-size: 1.3rem; font-weight: 400; }
.mk-market-details details[open] summary::after { content: '−'; }
.mk-market-details details p { font-size: .95rem; margin: .1rem 0 1.3rem; }
.mk-fluency { background: var(--navy); color: #fff; }
.mk-fluency .mk-region-inner { grid-template-columns: .9fr 1.1fr; }
.mk-fluency .eyebrow { color: #ffb4b7; }
.mk-fluency h2 { color: #fff; max-width: 16ch; margin: 0; font-size: clamp(2rem, 3.2vw, 3.2rem); }
.mk-fluency p { color: #dbe4f3; margin: 0 0 1rem; }
.mk-closing { background: #f4f6fa; }
.mk-closing-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.mk-closing h2 { margin: 0; max-width: 18ch; font-size: clamp(2rem, 3.3vw, 3.25rem); }
.mk-closing p:not(.eyebrow) { color: var(--slate); margin: 0 0 1rem; }
.mk-closing .v2-actions { align-items: center; gap: 1.3rem; }
.mk-back-top { display: inline-flex; min-height: 44px; align-items: center; color: var(--slate); font-size: .7rem; font-weight: 700; gap: .6rem; margin-top: 2rem; }
.markets-refresh #top { scroll-margin-top: var(--mk-header-height); }
@media(max-width:1100px) {
  .mk-jump { gap: 1.3rem; }
  .mk-hub-graphic { column-gap: 1rem; }
  .mk-card-copy { padding: 1.2rem; }
}
@media(max-width:900px) {
  .mk-hero-copy { grid-template-columns: 1fr; gap: 2rem; }
  .mk-hero h1 { max-width: 20ch; font-size: clamp(2.8rem,6vw,4.3rem); }
  .mk-hero-intro { max-width: 70ch; }
  .mk-region-inner { grid-template-columns: .85fr 1.15fr; gap: 2rem; }
  .mk-card-name { font-size: 1.05rem; }
  .mk-hub-center { width: 125px; height: 125px; }
}
@media(max-width:760px) {
  .markets-refresh { --mk-header-height: 89px; --mk-bar-height: 61px; }
  .mk-hero { padding-top: 2.6rem; }
  .mk-hero h1 { font-size: clamp(2.45rem,8.5vw,3.7rem); }
  .mk-hero-intro p { font-size: 1rem; }
  .mk-hero-photo { aspect-ratio: 1.6 / 1; }
  .mk-jump { min-height: 58px; gap: 1.1rem; width: 100%; padding-inline: var(--gutter); }
  .mk-jump a { padding-block: .95rem .8rem; font-size: .7rem; }
  .mk-jump a small { display: none; }
  .mk-section-heading,.mk-region-inner,.mk-closing-inner,.mk-fluency .mk-region-inner { grid-template-columns: minmax(0,1fr); gap: 1.8rem; }
  .mk-hub-graphic { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto; gap: 1.3rem; }
  .mk-hub-lines,.mk-hub-center { display: none; }
  .mk-hub-card:nth-of-type(n) { grid-row: auto; grid-column: auto; }
  .mk-card-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
  .mk-card-photo img { width: 100%; height: 100%; object-fit: cover; }
  .mk-card-copy { padding: 1.4rem; }
  .mk-card-name { font-size: 1.3rem; }
  .mk-card-description { font-size: .88rem; }
  .mk-region-photo { display: none; }
  .mk-region-inner { gap: 0; }
  .mk-region h2 { font-size: 2.3rem; }
  .mk-fluency h2,.mk-closing h2 { font-size: 2.3rem; }
  .mk-closing .v2-actions { align-items: start; }
}
@media(prefers-reduced-motion:reduce) {
  .markets-refresh { scroll-behavior: auto; }
  html:has(.markets-refresh) { scroll-behavior: auto; }
  .mk-hub-card { transition: none; }
}
