/* SK Security Services: area, zone and areas-hub pages ("sector brief" grammar).
   Loaded after service.css, which supplies the shared tokens and components. */

.area-hero { background: var(--navy); color: #f6f2e8; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }
.area-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.area-hero .crumbs { color: #aab4c3; margin-bottom: 1.2rem; }
.area-hero .crumbs a { color: #dfe6f0; }
.area-hero h1 { color: #f6f2e8; font-size: clamp(2.2rem, 1.1rem + 2.6vw, 3.7rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; margin: 0 0 1.1rem; text-wrap: balance; }
.area-hero__lead { color: #d0d7e2; font-size: clamp(1.02rem, .96rem + .3vw, 1.15rem); line-height: 1.62; max-width: 38rem; margin: 0 0 1.2rem; }
.area-hero__dist { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.6rem; padding: .5rem .85rem; border: 1px solid rgba(246, 242, 232, .22);
  border-radius: 6px; color: #f6f2e8; font-weight: 600; font-size: .95rem; }
.area-hero__dist b { color: var(--amber); font-variant-numeric: tabular-nums; }

/* the schematic beat map */
.beat-map { margin: 0; }
.beat-map svg { display: block; width: 100%; height: auto; max-height: 80vh; border-radius: 8px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(246, 242, 232, .12); }
.beat-map figcaption { margin-top: .7rem; font-size: .82rem; color: #8f9aab; }
.bm-grid line { stroke: rgba(246, 242, 232, .05); }
.bm-ring { fill: none; stroke: rgba(245, 165, 36, .26); stroke-width: 1.2; }
.bm-ring-label { fill: rgba(245, 165, 36, .75); font: 700 12px/1 system-ui, sans-serif; letter-spacing: .06em; }
.bm-wrap { position: relative; }
.bm-pt { cursor: pointer; text-decoration: none; outline: none; }
.bm-pt .bm-core { filter: drop-shadow(0 0 3px rgba(246, 242, 232, .35)); fill: rgba(246, 242, 232, .6); transform-box: fill-box; transform-origin: center; transition: transform 160ms var(--sc-ease-out), fill 160ms var(--sc-ease-out); }
.bm-pt .bm-halo { fill: transparent; stroke: transparent; }
.bm-pt.in-zone .bm-core { fill: rgba(246, 242, 232, .9); }
.bm-pt text { fill: rgba(226, 232, 240, .9); font: 600 12px/1 system-ui, sans-serif; paint-order: stroke; stroke: #0e1b2e; stroke-width: 3px; stroke-linejoin: round;
  transition: fill 160ms var(--sc-ease-out); }
.bm-pt.lbl-hidden text { opacity: 0; }
.bm-lead { stroke: rgba(246, 242, 232, .28); stroke-width: .8; }
.bm-pt:hover .bm-lead, .bm-pt.is-open .bm-lead { stroke: #f5a524; }
.bm-pt:hover .bm-core, .bm-pt:focus-visible .bm-core, .bm-pt.is-open .bm-core { fill: #f5a524; transform: scale(1.9); }
.bm-pt:hover text, .bm-pt:focus-visible text, .bm-pt.is-open text { fill: #fff; opacity: 1; font-weight: 800; font-size: 14.5px; }
.bm-pt:focus-visible .bm-halo { stroke: #f5a524; stroke-width: 2; }
.bm-pt.is-here .bm-core { fill: #f5a524; }
.bm-pt.is-here .bm-halo { stroke: #f5a524; stroke-width: 1.5; opacity: .7; }
.bm-pt.is-here text { fill: #fff; font: 800 16px/1 system-ui, sans-serif; }
.bm-card { position: absolute; z-index: 5; width: 260px; padding: 1rem 1rem .9rem; border-radius: 10px; background: #f7f5f0; color: #0d1a2b;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6); transform: translate(-50%, calc(-100% - 14px)); }
.bm-card::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; background: #f7f5f0; transform: translateX(-50%) rotate(45deg); }
.bm-card.below { transform: translate(-50%, 14px); }
.bm-card.below::after { bottom: auto; top: -7px; }
.bm-card__name { margin: 0 1.4rem .2rem 0; font: 800 1.05rem/1.25 var(--sc-font-display); }
.bm-card__km { margin: 0 0 .8rem; font-size: .86rem; color: #4a5566; }
.bm-card__acts { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.bm-card__acts .btn { padding: .55em .9em; font-size: .88rem; }
.bm-card__view { color: #8a5200; font-weight: 700; font-size: .9rem; }
.bm-card__x { all: unset; position: absolute; top: .45rem; right: .6rem; cursor: pointer; font-size: 1.3rem; line-height: 1; color: #4a5566; padding: .2rem .3rem; border-radius: 4px; }
.bm-card__x:focus-visible { outline: 2px solid #8a5200; }
.beat-map figcaption b { color: #dfe6f0; font-weight: 600; }
.bm-zone-label { fill: rgba(246, 242, 232, .38); font: 800 13px/1 system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.bm-base rect { fill: #f6f2e8; }
.bm-base text, .bm-here text { fill: #fff; font: 800 15px/1 system-ui, sans-serif; paint-order: stroke; stroke: #0f1f35; stroke-width: 4px; }
.bm-base-glow { fill: rgba(245, 165, 36, .14); stroke: rgba(245, 165, 36, .45); }
.bm-here circle.core { fill: #f5a524; }
.bm-here circle.halo { fill: none; stroke: #f5a524; stroke-width: 1.5; opacity: .6; }
.bm-route { fill: none; stroke: #f5a524; stroke-width: 3.2; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(245, 165, 36, .55)); }
.bm-spoke { fill: none; stroke: rgba(245, 165, 36, .55); stroke-width: 1.6; }
@media (prefers-reduced-motion: no-preference) {
  .bm-route, .bm-spoke { stroke-dasharray: 1; stroke-dashoffset: 1; animation: bm-draw 1600ms 250ms var(--sc-ease-out) forwards; }
  .bm-spoke { animation-duration: 1200ms; }
  .bm-pt.is-here .bm-halo { transform-box: fill-box; transform-origin: center; animation: bm-ping 2400ms 1600ms ease-out infinite; }
}
@keyframes bm-draw { to { stroke-dashoffset: 0; } }
@keyframes bm-ping { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
@media (max-width: 900px) { .area-hero__grid { grid-template-columns: 1fr; } .beat-map { max-width: 460px; } }

/* sibling-area rail (navigation for this grammar) */
.beat-rail { position: sticky; top: 73px; z-index: 40; background: rgba(247, 245, 240, .96); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.beat-rail .sc-wrap { display: flex; align-items: center; gap: 1.4rem; overflow-x: auto; scrollbar-width: none; }
.beat-rail .sc-wrap::-webkit-scrollbar { display: none; }
.beat-rail b { flex: none; font: 800 .72rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--sc-ink-soft); padding: 1rem 0; }
.beat-rail a { flex: none; padding: .95rem 0 .85rem; border-bottom: 2px solid transparent; color: var(--sc-ink-soft); text-decoration: none; font: 700 .9rem/1 var(--font); }
.beat-rail a:hover { color: var(--sc-ink); }
.beat-rail a[aria-current] { color: var(--sc-ink); border-bottom-color: var(--amber); }
.beat-rail a.beat-rail__all { color: var(--sc-accent); }

/* services in this area: two ledgers side by side */
.area-ledgers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.area-ledgers .ledger__group { font: 700 .74rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--sc-ink-soft); margin: 0 0 .6rem; }
.area-ledgers .ledger { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--sc-ink); }
.area-ledgers .ledger a { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1.2rem; padding: .95rem .2rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--sc-ink); }
.area-ledgers .ledger a:hover { background: rgba(13, 26, 43, .045); }
.area-ledgers .ledger__name { font: 700 1.08rem/1.25 var(--sc-font-display); }
.area-ledgers .ledger__note { grid-column: 1; color: var(--sc-ink-soft); font-size: .93rem; line-height: 1.5; }
.area-ledgers .ledger__go { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--sc-accent); }
@media (max-width: 900px) { .area-ledgers { grid-template-columns: 1fr; } }

.area-photo { margin: 0 0 1.6rem; }
.area-photo img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 20px 44px -22px rgba(13, 26, 43, .5); }
.area-photo figcaption { margin-top: .6rem; font-size: .86rem; color: var(--sc-ink-soft); }

/* zone and hub lists */
.zone-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--sc-ink); display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.4rem; }
.zone-list a { display: block; padding: 1.1rem .1rem 1.2rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--sc-ink); }
.zone-list a:hover strong { color: var(--sc-accent); }
.zone-list strong { display: block; font: 700 1.12rem/1.3 var(--sc-font-display); margin-bottom: .3rem; }
.zone-list span { color: var(--sc-ink-soft); font-size: .94rem; line-height: 1.55; }
.zone-list small { display: block; margin-top: .35rem; color: var(--sc-accent); font-weight: 700; font-size: .82rem; }
@media (max-width: 760px) { .zone-list { grid-template-columns: 1fr; } }
.hub-zones { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--sc-ink); }
.hub-zones > div { padding: 1.2rem 1.1rem 1.4rem 0; border-right: 1px solid var(--line); }
.hub-zones > div + div { padding-left: 1.1rem; }
.hub-zones > div:last-child { border-right: 0; }
.hub-zones h2 { font-size: 1.15rem; margin: 0 0 .7rem; }
.hub-zones h2 a { color: var(--sc-ink); text-decoration: none; }
.hub-zones h2 a:hover { color: var(--sc-accent); }
.hub-zones ul { list-style: none; margin: 0; padding: 0; }
.hub-zones li { margin: .3rem 0; font-size: .93rem; }
.hub-zones li a { color: var(--sc-ink-soft); text-decoration: none; }
.hub-zones li a:hover { color: var(--sc-ink); text-decoration: underline; }
@media (max-width: 1000px) { .hub-zones { grid-template-columns: 1fr 1fr; } .hub-zones > div { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; } }
@media (max-width: 560px) { .hub-zones { grid-template-columns: 1fr; } }

/* ---------- hero photo (the map now has its own section) ---------- */
.area-hero__photo { margin: 0; }
.area-hero__photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(246, 242, 232, .14); }

/* ---------- the coverage map section ---------- */
.cov { background: radial-gradient(80% 60% at 30% 40%, #13253f 0%, #0b1626 70%); color: #f6f2e8; padding: clamp(3rem, 6vw, 5.5rem) 0; border-top: 1px solid rgba(246, 242, 232, .08); }
.cov__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: start; max-width: 92rem; }
.cov__map { min-width: 0; }
.cov__scroll { border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(245, 165, 36, .18); overflow: hidden; }
.cov .bm-wrap svg { display: block; width: 100%; height: auto; }
.cov__cap { margin: .8rem 0 0; font-size: .86rem; color: #8f9aab; }
.cov__side { position: sticky; top: 140px; }
.cov__eyebrow { margin: 0 0 .7rem; font: 800 .74rem/1 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--amber); }
.cov h2 { color: #f6f2e8; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); margin: 0 0 .8rem; }
.cov__text { color: #c5ccd8; line-height: 1.6; margin: 0 0 1.4rem; }
.cov h3 { color: #f6f2e8; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-family: var(--font); margin: 1.6rem 0 .6rem; }
.cov__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .92rem; color: #dfe6f0; }
.cov__legend li { display: flex; align-items: center; gap: .7rem; }
.lg { flex: none; display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.lg--base { width: 11px; height: 11px; border-radius: 1px; background: #f6f2e8; transform: rotate(45deg); }
.lg--here { background: #f5a524; box-shadow: 0 0 0 4px rgba(245, 165, 36, .25); }
.lg--zone { background: rgba(246, 242, 232, .9); }
.lg--other { background: rgba(246, 242, 232, .4); width: 8px; height: 8px; margin-inline: 2px; }
.lg--ring { width: 16px; height: 16px; border: 1.5px solid rgba(245, 165, 36, .6); background: transparent; }
.cov__list { list-style: none; margin: 0; padding: 0; max-height: 46vh; overflow: auto; border-top: 1px solid rgba(246, 242, 232, .14); scrollbar-width: thin; }
.cov__list a { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .2rem; border-bottom: 1px solid rgba(246, 242, 232, .08); color: #dfe6f0; text-decoration: none; font-size: .94rem; }
.cov__list a:hover, .cov__list a:focus-visible { color: #fff; background: rgba(246, 242, 232, .05); }
.cov__list b { color: var(--amber); font-variant-numeric: tabular-nums; font-weight: 700; }

/* radar sweep from the office */
.bm-sweep { position: absolute; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none; z-index: 1;
  background: conic-gradient(from 0deg, rgba(245, 165, 36, .16), rgba(245, 165, 36, 0) 22%, transparent 100%); mix-blend-mode: screen; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .bm-sweep { opacity: 1; animation: bm-sweep 9s linear infinite; }
}
@keyframes bm-sweep { to { rotate: 360deg; } }
.bm-wrap svg { position: relative; z-index: 0; }

@media (max-width: 1100px) {
  .cov__grid { grid-template-columns: 1fr; }
  .cov__side { position: static; }
  .cov__list { max-height: none; columns: 2; column-gap: 1.5rem; }
  .cov__list li { break-inside: avoid; }
}
/* phones: keep the map readable at full size and let it be dragged */
@media (max-width: 700px) {
  .cov__scroll { overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .cov .bm-wrap { width: 760px; }
  .cov__cap::before { content: "Drag the map to explore. "; color: #dfe6f0; font-weight: 600; }
  .cov__list { columns: 1; }
}

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .area-hero { padding: 1.6rem 0 2.2rem; }
  .area-hero h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 2.4rem); }
  .area-hero__lead { font-size: 1rem; }
  .beat-rail { position: static; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .beat-rail b { display: none; }
  .area-ledgers .ledger__note { display: none; }
  .area-ledgers .ledger a { padding: .85rem .15rem; }
  .qa--areas .qa__more { display: none; }
  .cov { padding: 2.4rem 0; }
  .cov__side { order: -1; }
  .cov__list { max-height: 14rem; overflow: auto; border-bottom: 1px solid rgba(246, 242, 232, .14); }
  .cov__legend { grid-template-columns: 1fr 1fr; gap: .5rem .8rem; font-size: .84rem; }
  .cov h3 { margin-top: 1.2rem; }
  .zone-list a { padding: .95rem .1rem 1rem; }
  .zone-list span { display: none; }
}
.area-hero__photo figcaption { margin-top: .6rem; font-size: .8rem; color: #aab4c3; }

/* Long-form guidance on sector service pages */
.sector-guide .m-more__body { max-width: 52rem; }
.sector-guide h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); margin: 2.4rem 0 .9rem; }
.sector-guide h2:first-child { margin-top: 0; }
.sector-guide p, .sector-guide li { line-height: 1.7; }
.sector-guide li { margin-bottom: .4rem; }
.sector-guide .table-wrap { overflow-x: auto; }
.sector-guide table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--sc-ink); }
.sector-guide th, .sector-guide td { text-align: left; vertical-align: top; padding: .8rem .75rem .8rem 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.sector-guide td:first-child { font-weight: 700; width: 34%; }
.sector-guide a { text-decoration: underline; }
