/* Kestrand — contact page styles. */
.ks-contact-hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-7); align-items: start; }
.ks-map { margin: 0; background: var(--bg-2); border: var(--row-rule) solid var(--line); }
.ks-map__svg { display: block; width: 100%; height: auto; }
.ks-map__block { fill: var(--map-block); }
.ks-map__park { fill: var(--map-park); }
.ks-map__road { fill: none; stroke: var(--ink-3); stroke-width: 10; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ks-map__road--minor { stroke-width: 5; }
.ks-map__route { fill: none; stroke: var(--thread); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ks-map__pin { fill: var(--thread); stroke: var(--bg); stroke-width: 4; }
.ks-map__label { fill: var(--ink); font: var(--fw-semibold) 18px/1 var(--font-sans); }
.ks-map__label--muted { fill: var(--ink-2); font-weight: var(--fw-regular); }
.ks-js .ks-map__road { stroke-dashoffset: 1; animation: ks-map-draw 1.2s var(--ease-secondary) 0.3s forwards; }
.ks-js .ks-map__route { stroke-dashoffset: 1; animation: ks-map-draw 1.4s var(--ease-secondary) 1.2s forwards; }
.ks-js .ks-map__pin, .ks-js .ks-map__label { opacity: 0; animation: ks-show 0.4s linear 2.2s forwards; }
@keyframes ks-map-draw { to { stroke-dashoffset: 0; } }
.ks-crows { margin: 0; padding: 0; list-style: none; border-top: var(--row-rule) solid var(--line-2); }
.ks-crow { padding: var(--space-4) 0; border-bottom: var(--row-rule) solid var(--line); }
.ks-crow__head { margin: 0 0 var(--space-1); font-size: var(--fs-small); font-weight: var(--fw-semibold); }
.ks-crow__body { margin: 0; color: var(--ink-2); line-height: var(--lh-body); }
.ks-crow__body .ks-a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
.ks-crow__body .ks-cta__demo { display: block; }

.ks-roles .ks-lrow__end { font-size: var(--fs-small); }
.ks-role__cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 0.9fr); gap: var(--space-6); }
.ks-role__col { position: relative; padding-top: var(--space-5); }
.ks-role__rule { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line-2); }
.ks-role__col:nth-child(3) .ks-role__rule { background: var(--file-contracts); }
.ks-role__list { margin: var(--space-4) 0 0; padding-left: 1.1em; color: var(--ink-2); line-height: var(--lh-body); }
.ks-role__list li + li { margin-top: var(--space-2); }
.ks-role__col .ks-text { margin-top: var(--space-4); }
.ks-role__apply { margin: var(--space-5) 0 0; }
.ks-role-hero__practice { margin: 0 0 var(--space-4); }

.ks-refs { display: flex; flex-direction: column; gap: var(--space-7); }
.ks-ref { scroll-margin-top: var(--space-6); }
.ks-ref__name { display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-4); font-family: var(--font-display); font-weight: var(--fw-regular); font-size: var(--fs-h2); }
.ks-ref__rows { margin: 0; padding: 0; list-style: none; border-top: var(--row-rule) solid var(--line-2); }
.ks-ref__row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: var(--space-3) var(--space-7); padding: var(--space-4) 0; border-bottom: var(--row-rule) solid var(--line); }
.ks-ref__no { margin: 0; font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.25; }
.ks-ref__go { margin: 0; color: var(--ink-2); line-height: var(--lh-body); }
.ks-places__demo { margin-top: var(--space-4); }

@media (max-width: 899px) {
  .ks-contact-hero__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .ks-role__cols { grid-template-columns: 1fr; }
  .ks-ref__row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ks-js .ks-map__road, .ks-js .ks-map__route { stroke-dashoffset: 0; animation: none; }
  .ks-js .ks-map__pin, .ks-js .ks-map__label { opacity: 1; animation: none; }
}
