/* The garage and mobile mechanic share editable PEKM sections and keep independent layouts. */
:is(.pk-d-borough-motor,.pk-d-driveway-pit) {
  --road-gutter:clamp(20px,6.2cqi,110px);
  --road-copy:"DM Sans","Segoe UI",Arial,sans-serif;
}
:is(.pk-d-borough-motor,.pk-d-driveway-pit)>.pk-s-header {
  justify-content:space-between;padding:clamp(14px,1.52cqi,27px) var(--road-gutter);
  gap:clamp(9px,1.6cqi,30px);border:0;
}
:is(.pk-d-borough-motor,.pk-d-driveway-pit) .pk-page-nav {gap:4px clamp(13px,1.75cqi,31px)}
:is(.pk-d-borough-motor,.pk-d-driveway-pit) .pk-page-nav .pk-i-link {
  font:650 clamp(11px,1.02cqi,17px)/1.3 var(--road-copy);padding:.45em 0;
}
:is(.pk-d-borough-motor,.pk-d-driveway-pit) .pk-i-eyebrow {font:700 clamp(10px,.85cqi,15px)/1.3 var(--road-copy);letter-spacing:.1em;text-transform:uppercase}
:is(.pk-d-borough-motor,.pk-d-driveway-pit) .pk-i-text {font:400 clamp(15px,1.26cqi,21px)/1.48 var(--road-copy)}
:is(.pk-d-borough-motor,.pk-d-driveway-pit) .pk-i-button {min-height:40px;padding:.84em 1.18em;font-size:clamp(13px,1.08cqi,18px)}
:is(.pk-d-borough-motor,.pk-d-driveway-pit)>.pk-s-footer {justify-content:space-between;gap:12px 25px;padding:clamp(22px,2.8cqi,50px) var(--road-gutter)}
:is(.pk-d-borough-motor,.pk-d-driveway-pit)>.pk-s-footer .pk-i-link {font-size:clamp(12px,1.02cqi,17px)}

/* Borough Motor — garage-door blues, a diagonal masthead and three service bays. */
.pk-d-borough-motor {
  --bm-navy:#20274d;--bm-white:#fffdfa;--bm-violet:#33326c;
  --bm-title:"Bricolage Grotesque","Segoe UI",Arial,sans-serif;--auto-page-display:var(--bm-title);
}
.pk-d-borough-motor>.pk-s-header {
  color:var(--bm-white);background:linear-gradient(113deg,var(--pk-accent) 0% 27.9%,#aa3359 28% 31.4%,#5c3569 31.5% 34.9%,var(--bm-violet) 35%);
}
.pk-d-borough-motor .pk-i-brand {
  flex-shrink:0;gap:.38em;font:820 clamp(23px,2.35cqi,43px)/1 var(--bm-title);letter-spacing:-.062em;
}
.pk-d-borough-motor .pk-i-brand::before {
  width:1.03em;height:.9em;background:currentColor;border-radius:0;
  clip-path:polygon(0 28%,50% 0,100% 28%,100% 100%,81% 100%,81% 42%,50% 25%,19% 42%,19% 100%,0 100%);
}
.pk-d-borough-motor .pk-page-nav .pk-i-link:last-child {padding:.55em 1.05em;border:1px solid #ffffff99;border-radius:999px}
.pk-d-borough-motor .pk-i-button {border:0;border-radius:999px;background:var(--pk-accent);color:#fff}
.pk-d-borough-motor [data-template-section=borough-cover] {
  display:grid;grid-template:1fr/repeat(12,minmax(0,1fr));gap:0;align-items:stretch;isolation:isolate;
  min-height:clamp(455px,44cqi,780px);padding:0;color:var(--bm-white);background:#303e76;
}
.pk-d-borough-motor [data-template-section=borough-cover]>.pk-i-image {
  grid-area:1/1/2/13;align-self:stretch;width:100%;height:100%;min-height:0;contain:size;
  aspect-ratio:auto;object-fit:cover;object-position:58% 94%;
}
.pk-d-borough-motor [data-template-section=borough-cover]::after {
  content:"";grid-area:1/1/2/13;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,#152044ed 0%,#1b2854d6 25%,#2032696b 48%,#293d790d 77%),
    linear-gradient(0deg,#14265047,transparent 38%);
}
.pk-d-borough-motor [data-group=borough-intro] {
  z-index:2;grid-area:1/1/2/9;align-self:center;display:flex;flex-direction:column;align-items:flex-start;
  gap:clamp(13px,1.48cqi,26px);padding:clamp(36px,4.9cqi,90px) 0 clamp(44px,5.2cqi,96px) var(--road-gutter);pointer-events:none;
}
.pk-d-borough-motor [data-group=borough-intro]>.pk-item {pointer-events:auto}
.pk-d-borough-motor [data-group=borough-intro]>.pk-i-eyebrow {color:var(--bm-white)}
.pk-d-borough-motor [data-group=borough-intro]>.pk-i-heading {
  max-width:14ch;font:760 clamp(47px,6.4cqi,114px)/.97 var(--bm-title);letter-spacing:-.068em;color:var(--bm-white);text-wrap:wrap;
}
.pk-d-borough-motor [data-group=borough-intro]>.pk-i-text {max-width:35ch;color:var(--bm-white)}
.pk-d-borough-motor [data-template-section=borough-work] {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:clamp(15px,1.8cqi,32px);
  padding:clamp(40px,5.2cqi,94px) var(--road-gutter);background:var(--bm-white);color:var(--bm-navy);
}
.pk-d-borough-motor [data-template-section=borough-work]>.pk-i-heading {
  grid-column:1/-1;max-width:100%;margin-bottom:.28em;font:740 clamp(34px,4.2cqi,75px)/1.03 var(--bm-title);letter-spacing:-.06em;
}
.pk-d-borough-motor [data-template-section=borough-work]>.pk-item-group {
  display:flex;flex-direction:column;align-items:flex-start;gap:clamp(8px,.9cqi,16px);
  padding:clamp(13px,1.55cqi,28px);border-radius:clamp(10px,1.2cqi,22px);background:var(--bm-card,#d5eaf0);
}
.pk-d-borough-motor [data-group=borough-fault] {--bm-card:#e5dff4}
.pk-d-borough-motor [data-group=borough-wear] {--bm-card:#ffe5ad}
.pk-d-borough-motor [data-template-section=borough-work] .pk-i-image {aspect-ratio:2.12;object-fit:cover;border-radius:clamp(5px,.65cqi,12px);margin-bottom:.35em}
.pk-d-borough-motor [data-template-section=borough-work] .pk-i-subheading {font:735 clamp(22px,2.05cqi,37px)/1.1 var(--bm-title);letter-spacing:-.045em}
.pk-d-borough-motor [data-template-section=borough-work] .pk-i-text {font-size:clamp(14px,1.12cqi,19px)}
.pk-d-borough-motor [data-template-section=borough-work] .pk-i-link {margin-top:auto;padding-top:.35em;font:710 clamp(13px,1.04cqi,18px)/1.35 var(--road-copy)}
.pk-d-borough-motor [data-template-section=borough-questions],.pk-d-borough-motor [data-template-section=borough-arrival] {
  display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);align-items:start;gap:clamp(24px,5cqi,90px);
  padding:clamp(38px,5cqi,90px) var(--road-gutter);border:0;color:var(--bm-navy);background:#eeedf5;
}
.pk-d-borough-motor :is([data-group=borough-prompt],[data-group=borough-arrival-copy]) {display:flex;flex-direction:column;align-items:flex-start;gap:clamp(12px,1.35cqi,24px)}
.pk-d-borough-motor :is([data-group=borough-prompt],[data-group=borough-arrival-copy])>.pk-i-heading {font:735 clamp(34px,4.1cqi,73px)/1.01 var(--bm-title);letter-spacing:-.055em}
.pk-d-borough-motor [data-group=borough-answers] {display:grid;width:100%;min-width:0}
.pk-d-borough-motor [data-group=borough-answers] details {border:0;border-bottom:1px solid #b8b8cd}
.pk-d-borough-motor [data-group=borough-answers]>.pk-i-faq:first-child details {border-top:1px solid #b8b8cd}
.pk-d-borough-motor [data-group=borough-answers] summary {padding:.85em .3em;font-size:clamp(15px,1.33cqi,22px)}
.pk-d-borough-motor [data-group=borough-answers] p {font-size:clamp(14px,1.14cqi,19px)}
.pk-d-borough-motor [data-template-section=borough-arrival] {grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;background:var(--bm-white)}
.pk-d-borough-motor [data-template-section=borough-arrival]>.pk-i-image {aspect-ratio:1.72;border-radius:clamp(10px,1.2cqi,22px)}
.pk-d-borough-motor>.pk-s-footer {color:var(--bm-white);background:var(--bm-violet);border:0}

/* Driveway Pit — compact, high-contrast typography and a framed documentary portrait. */
.pk-d-driveway-pit {
  --dp-black:#171a19;--dp-floor:#212523;--dp-paper:#f8f6ec;--dp-line:#49504b;
  --dp-title:"Barlow Condensed","Bahnschrift Condensed",Bahnschrift,Impact,"Arial Narrow",sans-serif;--auto-page-display:var(--dp-title);
  background:var(--dp-black);
}
.pk-d-driveway-pit>.pk-s-header {color:var(--dp-paper);background:var(--dp-black);border-bottom:1px solid var(--dp-line)}
.pk-d-driveway-pit .pk-i-brand {gap:.28em;font:700 clamp(24px,2.35cqi,42px)/.95 var(--dp-title);text-transform:uppercase;letter-spacing:-.026em}
.pk-d-driveway-pit .pk-i-brand::before {
  width:1.04em;height:.76em;border-radius:0;transform:skew(-14deg);
  background:repeating-linear-gradient(90deg,var(--pk-accent) 0 20%,transparent 20% 32.5%);
}
.pk-d-driveway-pit .pk-page-nav .pk-i-link {font-weight:600}
.pk-d-driveway-pit .pk-page-nav .pk-i-link:last-child {border:1px solid #767d74;padding:.54em 1.05em;border-radius:2px}
.pk-d-driveway-pit .pk-i-button {background:var(--pk-accent);color:#101411;border:0;border-radius:2px;font-weight:780}
.pk-d-driveway-pit [data-template-section=driveway-cover] {
  display:grid;grid-template:1fr/minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(22px,4.2cqi,74px);align-items:center;isolation:isolate;
  padding:clamp(30px,3.6cqi,64px) var(--road-gutter) clamp(43px,4.8cqi,85px);background:var(--dp-black);color:var(--dp-paper);
}
.pk-d-driveway-pit [data-group=driveway-intro] {
  grid-area:1/1;display:flex;flex-direction:column;align-items:flex-start;gap:clamp(15px,1.6cqi,28px);justify-content:center;
}
.pk-d-driveway-pit [data-group=driveway-intro]>.pk-i-eyebrow {display:flex;align-items:center;gap:.7em;color:var(--dp-paper);font-family:var(--pk-mono)}
.pk-d-driveway-pit [data-group=driveway-intro]>.pk-i-eyebrow::before {content:"";width:2.1em;height:3px;background:var(--pk-accent);flex:none}
.pk-d-driveway-pit [data-group=driveway-intro]>.pk-i-heading {
  max-width:100%;font:750 clamp(48px,6.7cqi,120px)/.98 var(--dp-title);text-transform:uppercase;letter-spacing:-.033em;text-wrap:wrap;
}
.pk-d-driveway-pit [data-group=driveway-intro]>.pk-i-text {max-width:39ch;color:#d4d7cd}
.pk-d-driveway-pit [data-group=driveway-intro]>.pk-i-link {color:var(--dp-paper);font:580 clamp(12px,1.05cqi,17px)/1.3 var(--road-copy)}
.pk-d-driveway-pit [data-template-section=driveway-cover]>.pk-i-image {
  z-index:1;grid-area:1/2;align-self:stretch;width:100%;height:100%;min-height:0;aspect-ratio:.92;
  object-fit:cover;object-position:52% 46%;border:clamp(5px,.65cqi,12px) solid var(--dp-floor);
}
.pk-d-driveway-pit [data-template-section=driveway-cover]::after {
  content:"";grid-area:1/2;z-index:2;align-self:end;justify-self:end;pointer-events:none;
  width:18%;aspect-ratio:1;border-right:clamp(3px,.43cqi,7px) solid var(--pk-accent);border-bottom:clamp(3px,.43cqi,7px) solid var(--pk-accent);
}
.pk-d-driveway-pit [data-template-section=driveway-jobs] {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(13px,1.6cqi,29px);
  padding:clamp(35px,4.4cqi,80px) var(--road-gutter);color:var(--dp-paper);background:var(--dp-floor);border-top:1px solid var(--dp-line);
}
.pk-d-driveway-pit :is([data-template-section=driveway-jobs],[data-template-section=driveway-plan])>.pk-i-heading,
.pk-d-driveway-pit [data-group=driveway-inquiry-copy]>.pk-i-heading {
  grid-column:1/-1;max-width:100%;font:740 clamp(35px,4.4cqi,79px)/1 var(--dp-title);text-transform:uppercase;letter-spacing:-.026em;
}
.pk-d-driveway-pit [data-template-section=driveway-jobs]>.pk-item-group {
  display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1fr);grid-template-rows:auto auto 1fr;
  gap:clamp(7px,.65cqi,12px) clamp(10px,1.27cqi,22px);align-items:start;padding-top:clamp(13px,1.4cqi,25px);border-top:2px solid #737a6e;
}
.pk-d-driveway-pit [data-template-section=driveway-jobs] .pk-i-image {grid-area:1/1/4/2;height:100%;min-height:136px;aspect-ratio:.89;align-self:stretch}
.pk-d-driveway-pit [data-template-section=driveway-jobs] :is(.pk-i-subheading,.pk-i-text,.pk-i-link) {grid-column:2}
.pk-d-driveway-pit :is([data-template-section=driveway-jobs],[data-template-section=driveway-plan]) .pk-i-subheading {
  font:700 clamp(23px,2.27cqi,41px)/1.02 var(--dp-title);text-transform:uppercase;letter-spacing:-.014em;
}
.pk-d-driveway-pit [data-template-section=driveway-jobs] .pk-i-text {color:#cdd2c8;font-size:clamp(14px,1.1cqi,18px)}
.pk-d-driveway-pit [data-template-section=driveway-jobs] .pk-i-link {align-self:end;font-size:clamp(12px,1.04cqi,17px);color:var(--dp-paper)}
.pk-d-driveway-pit [data-template-section=driveway-plan] {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(17px,2cqi,36px);
  padding:clamp(38px,4.8cqi,85px) var(--road-gutter);color:var(--dp-black);background:#e5e5d9;border:0;
}
.pk-d-driveway-pit [data-template-section=driveway-plan]>.pk-item-group {display:grid;align-content:start;gap:.55em;padding-top:1em;border-top:2px solid #888e80}
.pk-d-driveway-pit [data-template-section=driveway-plan]>.pk-i-button {justify-self:start;grid-column:1/-1;background:var(--dp-black);color:var(--dp-paper)}
.pk-d-driveway-pit [data-template-section=driveway-request] {
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:clamp(16px,3.8cqi,67px);
  padding:clamp(33px,4.3cqi,76px) var(--road-gutter);background:var(--pk-accent);color:var(--dp-black);
}
.pk-d-driveway-pit [data-group=driveway-inquiry-copy] {display:grid;gap:.72em}
.pk-d-driveway-pit [data-template-section=driveway-request]>.pk-i-button {margin:0;background:var(--dp-black);color:var(--dp-paper)}
.pk-d-driveway-pit>.pk-s-footer {background:var(--dp-black);color:var(--dp-paper);border-color:var(--dp-line)}
.pk-d-driveway-pit :is(.pk-i-brand,.pk-i-heading,.pk-i-subheading) {font-stretch:condensed;font-variation-settings:"wdth" 75}

@container (max-width:820px) {
  :is(.pk-d-borough-motor,.pk-d-driveway-pit)>.pk-s-header {gap:10px 14px}
  :is(.pk-d-borough-motor,.pk-d-driveway-pit) .pk-page-nav {gap:4px 12px}
  .pk-d-driveway-pit [data-template-section=driveway-jobs]>.pk-item-group {grid-template-columns:minmax(85px,.66fr) minmax(0,1fr)}
}
@container (max-width:640px) {
  :is(.pk-d-borough-motor,.pk-d-driveway-pit)>.pk-s-header {align-items:flex-start;flex-direction:column}
  :is(.pk-d-borough-motor,.pk-d-driveway-pit) .pk-page-nav {gap:3px 11px}
  .pk-d-borough-motor>.pk-s-header {background:linear-gradient(113deg,#ac2540 0% 40%,#893255 40% 49%,#583568 49% 58%,var(--bm-violet) 58%)}
  .pk-d-borough-motor [data-template-section=borough-cover] {min-height:clamp(430px,89cqi,535px)}
  .pk-d-borough-motor [data-template-section=borough-cover]>.pk-i-image {
    align-self:end;height:auto;aspect-ratio:1.8;contain:none;object-position:50% 90%;
    mask-image:linear-gradient(to bottom,transparent,#000 25%);
  }
  .pk-d-borough-motor [data-template-section=borough-cover]::after {
    background:linear-gradient(180deg,#152044eb 0%,#1c2b57cd 30%,#23326982 52%,#293d7915 82%);
  }
  .pk-d-borough-motor [data-group=borough-intro] {grid-column:1/-1;align-self:start;gap:12px;padding:30px var(--road-gutter) 140px}
  .pk-d-borough-motor [data-group=borough-intro]>.pk-i-heading {font-size:clamp(42px,8.6cqi,55px)}
  .pk-d-borough-motor [data-group=borough-intro]>.pk-i-text {max-width:34ch}
  .pk-d-borough-motor :is([data-template-section=borough-work],[data-template-section=borough-questions],[data-template-section=borough-arrival]) {grid-template-columns:minmax(0,1fr)}
  .pk-d-borough-motor [data-template-section=borough-work] .pk-i-image {aspect-ratio:2.35}
  .pk-d-borough-motor [data-template-section=borough-arrival]>.pk-i-image {aspect-ratio:1.85}
  .pk-d-driveway-pit [data-template-section=driveway-cover] {grid-template: auto auto/minmax(0,1fr);gap:23px;padding-top:30px}
  .pk-d-driveway-pit [data-group=driveway-intro] {gap:13px}
  .pk-d-driveway-pit [data-group=driveway-intro]>.pk-i-heading {font-size:clamp(46px,9.6cqi,63px)}
  .pk-d-driveway-pit [data-template-section=driveway-cover]>.pk-i-image {
    grid-area:2/1;aspect-ratio:1.2;height:auto;object-position:50% 44%;
  }
  .pk-d-driveway-pit [data-template-section=driveway-cover]::after {grid-area:2/1;width:17%}
  .pk-d-driveway-pit :is([data-template-section=driveway-jobs],[data-template-section=driveway-plan],[data-template-section=driveway-request]) {grid-template-columns:minmax(0,1fr)}
  .pk-d-driveway-pit [data-template-section=driveway-jobs]>.pk-item-group {grid-template-columns:minmax(75px,.6fr) minmax(0,1.15fr)}
  .pk-d-driveway-pit [data-template-section=driveway-request]>.pk-i-button {justify-self:start}
}
