/* Precision Demolition & Clean-Up — division page styles */

:root {
  --pd-charcoal: #2e3238;
  --pd-charcoal-muted: #5c6370;
  --pd-charcoal-faint: #8a9199;
  --pd-graphite: #2e3238;
  --pd-page-bg: #f3f4f6;
  --pd-page-bg-deep: #eceef2;
  --pd-surface: #ffffff;
  --pd-surface-subtle: #f8f9fa;
  --pd-surface-tray: #fafafa;
  --pd-stage-bg: #e5e7eb;
  --pd-footer-bg: #eceef2;
  --pd-yellow: #e4b45a;
  --pd-yellow-bright: #f0ba5a;
  --pd-yellow-dim: rgba(228, 180, 90, 0.28);
  --pd-yellow-dark: #c9a045;
  --pd-steel: #8a9199;
  --pd-steel-dark: #707880;
  --pd-steel-dim: rgba(46, 50, 56, 0.1);
  --pd-white: #ffffff;
  --pd-outline: rgba(46, 50, 56, 0.12);
  --pd-outline-strong: rgba(46, 50, 56, 0.22);
  --pd-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  /* Legacy aliases — mapped to light palette for shared admin rules */
  --pd-graphite-light: var(--pd-surface-subtle);
  --pd-logo-gray: var(--pd-page-bg);
  --pd-logo-gray-deep: var(--pd-stage-bg);
  --pd-logo-gray-tray: var(--pd-surface-tray);
  --pd-logo-gray-card: var(--pd-surface);
  --pd-logo-gray-raised: var(--pd-surface-subtle);
}

.pd-page {
  --division-accent: var(--pd-yellow);
  --division-glow: rgba(228, 180, 90, 0.28);
  --pd-text: var(--pd-charcoal);
  --pd-muted: var(--pd-charcoal-muted);
  --pd-faint: var(--pd-charcoal-faint);
  --pd-hairline: var(--pd-outline);
  --pd-surface-raised: var(--pd-surface-subtle);
  --pd-gray-footer: var(--pd-footer-bg);
  --pd-segment-scroll-margin: 5.5rem;
  color: var(--pd-text);
  background-color: var(--pd-page-bg);
  background-image: linear-gradient(180deg, var(--pd-page-bg) 0%, var(--pd-page-bg-deep) 100%);
}

/* ── Hero logo badge ── */
.pd-hero-logo {
  display: block;
  padding: 14px 16px;
  max-width: min(168px, 44vw);
  max-height: 168px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  border: 1px solid var(--pd-outline-strong);
  border-left: 3px solid var(--pd-yellow);
  border-radius: 6px;
  background: var(--pd-white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 16px rgba(46, 50, 56, 0.08);
}

/* ── Division mark ── */
.pd-mark {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin-bottom: 16px;
}

.pd-mark-abbr {
  font-family: var(--pd-mono);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--pd-graphite);
  background: var(--pd-yellow);
  padding: 6px 12px;
}

.pd-mark-full {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pd-steel);
  font-weight: 600;
}

/* ── Project Proof strip ── */
.pd-asset-strip {
  margin-top: 32px;
  padding: 20px 20px 18px;
  border: 1px solid var(--pd-outline-strong);
  border-top: 3px solid var(--pd-yellow);
  background: var(--pd-white);
  position: relative;
  box-shadow: 0 2px 12px rgba(46, 50, 56, 0.06);
}

.pd-asset-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--pd-yellow);
}

.pd-asset-head {
  margin-bottom: 16px;
  padding-top: 4px;
}

.pd-asset-title {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 6px 0 0;
  color: var(--pd-charcoal);
  font-weight: 700;
}

.pd-asset-desc {
  margin: 8px 0 0;
  max-width: 52ch;
  font-size: 13px;
  line-height: 1.6;
  color: var(--pd-muted);
}

/* ── Project photo slideshow ── */
.pd-slideshow {
  margin-top: 4px;
}

.pd-slideshow--loading {
  min-height: 220px;
  display: grid;
  place-items: center;
}

.pd-slideshow--loading::after {
  content: "Loading project photos…";
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pd-muted);
}

.pd-slideshow-empty {
  padding: 48px 20px;
  text-align: center;
  border: 1px solid var(--pd-outline);
  border-left: 3px solid var(--pd-yellow);
  background: var(--pd-surface-subtle);
}

.pd-slideshow-empty-text {
  margin: 0;
  max-width: 36ch;
  margin-inline: auto;
  font-size: 14px;
  line-height: 1.65;
  color: var(--pd-muted);
}

.pd-slideshow-live {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pd-slideshow-frame {
  position: relative;
  border: 1px solid var(--pd-outline-strong);
  border-top: 3px solid var(--pd-yellow);
  background: var(--pd-white);
  outline: none;
}

.pd-slideshow-frame:focus-visible {
  box-shadow: 0 0 0 2px var(--pd-yellow);
}

.pd-slideshow-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--pd-stage-bg);
}

.pd-slideshow-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-slideshow-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 28, 30, 0.35) 35%, rgba(26, 28, 30, 0.92) 100%);
}

.pd-slideshow-overlay-inner {
  padding: 28px 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pd-slideshow-job-title {
  margin: 0 0 6px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pd-white);
  font-weight: 700;
}

.pd-slideshow-meta {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(236, 238, 242, 0.82);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pd-slideshow-phase {
  color: var(--pd-yellow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

.pd-slideshow-sep {
  color: rgba(236, 238, 242, 0.55);
}

.pd-slideshow-date {
  font-variant-numeric: tabular-nums;
}

.pd-slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid var(--pd-outline-strong);
  background: rgba(255, 255, 255, 0.92);
  color: var(--pd-yellow-dark);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 120ms ease, border-color 120ms ease;
  box-shadow: 0 2px 8px rgba(46, 50, 56, 0.12);
}

.pd-slideshow-btn:hover,
.pd-slideshow-btn:focus-visible {
  background: var(--pd-white);
  border-color: var(--pd-yellow);
  color: var(--pd-yellow-dark);
  outline: none;
}

.pd-slideshow-prev {
  left: 10px;
}

.pd-slideshow-next {
  right: 10px;
}

.pd-slideshow-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pd-slideshow-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--pd-outline-strong);
  border-radius: 50%;
  background: var(--pd-white);
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.pd-slideshow-dot.is-active {
  background: var(--pd-yellow);
  border-color: var(--pd-yellow);
  transform: scale(1.1);
}

.pd-slideshow-dot:hover,
.pd-slideshow-dot:focus-visible {
  border-color: var(--pd-yellow);
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .pd-page {
    --pd-segment-scroll-margin: 7.5rem;
  }

  .pd-hero-logo {
    max-width: min(152px, 42vw);
    max-height: 152px;
    padding: 12px 14px;
    margin-bottom: 18px;
  }

  .pd-service-area {
    margin-top: 20px;
    padding: 14px 16px;
  }

  .pd-slideshow-stage {
    aspect-ratio: 4 / 3;
  }

  .pd-slideshow-overlay-inner {
    padding: 22px 14px 12px;
  }

  .pd-slideshow-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .pd-slideshow-prev {
    left: 6px;
  }

  .pd-slideshow-next {
    right: 6px;
  }

  .pd-estimate-guide {
    padding: 16px;
  }

  .pd-cta {
    padding: 20px 18px 18px;
  }

  .pd-mark-full {
    width: 100%;
  }
}


/* ── Hero ── */
.pd-hero {
  position: relative;
  padding: 8px 0 12px;
  border-left: 4px solid var(--pd-yellow);
  padding-left: 20px;
  margin-left: -4px;
}

.pd-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 4px;
  background: var(--pd-steel-dark);
}

.pd-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pd-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pd-graphite);
  background: var(--pd-yellow);
  padding: 5px 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.pd-badge-icon {
  font-size: 12px;
  line-height: 1;
}

.pd-title {
  font-size: clamp(28px, 5.5vw, 46px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.08;
  color: var(--pd-charcoal);
  font-weight: 800;
}

.pd-title em {
  font-style: normal;
  display: block;
  font-size: 0.55em;
  letter-spacing: 0.2em;
  color: var(--pd-charcoal-muted);
  font-weight: 600;
  margin-top: 6px;
}

.pd-accent-bar {
  display: flex;
  gap: 4px;
  margin: 20px 0 0;
}

.pd-accent-bar span {
  display: block;
  height: 4px;
}

.pd-accent-bar span:nth-child(1) { width: 48px; background: var(--pd-yellow); }
.pd-accent-bar span:nth-child(2) { width: 24px; background: var(--pd-steel-dark); }
.pd-accent-bar span:nth-child(3) { width: 12px; background: var(--pd-charcoal-faint); opacity: 0.45; }

.pd-lead {
  margin: 22px 0 0;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--pd-charcoal-muted);
}

.pd-lead strong {
  color: var(--pd-charcoal);
  font-weight: 600;
}

.pd-principles {
  margin: 16px 0 0;
  font-family: var(--pd-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pd-steel);
}

.pd-principles span {
  color: var(--pd-yellow);
}

/* ── Service area ── */
.pd-service-area {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--pd-outline);
  border-left: 3px solid var(--pd-yellow);
  background: var(--pd-white);
}

.pd-service-area-title {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pd-yellow);
  font-weight: 700;
}

.pd-service-area-text {
  margin: 0;
  max-width: 58ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--pd-muted);
}

/* ── Section headers ── */
.pd-section {
  margin-top: 8px;
}

.pd-section-head {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pd-steel-dim);
}

.pd-section-label {
  font-family: var(--pd-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pd-yellow);
  margin-bottom: 8px;
}

.pd-section-title {
  font-size: clamp(18px, 3vw, 24px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  color: var(--pd-charcoal);
  font-weight: 700;
}

.pd-section-desc {
  margin: 10px 0 0;
  max-width: 56ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--pd-charcoal-muted);
}

/* ── Service map ── */
.pd-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.pd-service {
  position: relative;
  padding: 18px 18px 16px;
  border: 1px solid var(--pd-outline);
  border-top: 3px solid var(--pd-steel-dark);
  background: var(--pd-white);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.pd-service:hover {
  border-top-color: var(--pd-yellow);
  box-shadow: 0 4px 16px rgba(46, 50, 56, 0.08);
}

.pd-service-index {
  font-family: var(--pd-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--pd-yellow);
  font-weight: 700;
  margin-bottom: 8px;
}

.pd-service-title {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--pd-charcoal);
  font-weight: 700;
}

.pd-service-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--pd-charcoal-muted);
}

/* ── How it works ── */
.pd-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--pd-outline-strong);
  border-top: 3px solid var(--pd-yellow);
  background: var(--pd-white);
  box-shadow: 0 2px 12px rgba(46, 50, 56, 0.06);
}

.pd-step {
  position: relative;
  padding: 18px 12px;
  text-align: center;
  border-right: 1px solid var(--pd-outline);
  background: var(--pd-white);
}

.pd-step:last-child {
  border-right: none;
}

.pd-step::after {
  content: "→";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: var(--pd-yellow);
  z-index: 1;
}

.pd-step:last-child::after {
  display: none;
}

.pd-step-num {
  font-family: var(--pd-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--pd-yellow-dark);
  margin-bottom: 6px;
}

.pd-step-name {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pd-charcoal);
  font-weight: 700;
}

.pd-step-final .pd-step-name {
  color: var(--pd-yellow);
}

@media (max-width: 860px) {
  .pd-flow {
    grid-template-columns: 1fr;
  }

  .pd-step {
    border-right: none;
    border-bottom: 1px solid var(--pd-outline);
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 14px 18px;
  }

  .pd-step:last-child {
    border-bottom: none;
  }

  .pd-step::after {
    display: none;
  }

  .pd-step-num {
    margin-bottom: 0;
    min-width: 24px;
    color: var(--pd-yellow);
  }
}

/* ── Estimate guide ── */
.pd-estimate-guide {
  margin-bottom: 16px;
  padding: 18px 20px;
  border: 1px solid var(--pd-outline);
  border-left: 3px solid var(--pd-yellow);
  background: var(--pd-white);
}

.pd-estimate-title {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pd-yellow);
  font-weight: 700;
}

.pd-estimate-list {
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--pd-muted);
}

.pd-estimate-list li {
  margin-bottom: 4px;
}

.pd-estimate-list li:last-child {
  margin-bottom: 0;
}

/* ── CTA ── */
.pd-cta {
  border: 2px solid var(--pd-yellow);
  background: var(--pd-white);
  padding: 26px 26px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(46, 50, 56, 0.06);
}

.pd-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--pd-yellow);
}

.pd-cta-copy {
  flex: 1;
  min-width: 240px;
  padding-top: 6px;
}

.pd-cta-title {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pd-yellow);
  margin: 0 0 8px;
  font-weight: 700;
}

.pd-cta-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--pd-charcoal-muted);
  max-width: 42ch;
}

.pd-cta-email {
  font-family: var(--pd-mono);
  font-size: 12px;
  color: var(--pd-charcoal);
  margin-top: 10px;
  letter-spacing: 0.04em;
}

.pd-btn-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--pd-yellow);
  color: var(--pd-graphite);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  border: none;
  transition: filter 120ms ease, box-shadow 120ms ease;
  white-space: nowrap;
}

.pd-btn-mail:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 24px var(--pd-yellow-dim);
  color: var(--pd-graphite);
}

.pd-btn-mail svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ── Division links ── */
.pd-divisions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 4px;
}

.pd-divisions a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pd-steel-dark);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
}

.pd-divisions a:hover {
  color: var(--pd-yellow);
  border-bottom-color: var(--pd-yellow);
}

.pd-divisions a.is-hub {
  color: var(--pd-steel);
  font-weight: 600;
}

.pd-divisions a.is-hub:hover {
  color: var(--pd-charcoal);
  border-bottom-color: var(--pd-steel-dark);
}

/* ── Footer ── */
.pd-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pd-footer-brand {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pd-yellow);
  font-weight: 700;
}

.pd-footer-parent {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pd-steel-dark);
}

/* ── Sticky segmented anchor navigation ── */
.pd-segments-nav {
  position: sticky;
  top: 0;
  z-index: 25;
  margin: 20px 0 8px;
  padding: 0;
}

.pd-segments-nav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--pd-outline-strong);
  border-top: 3px solid var(--pd-yellow);
  background: var(--pd-white);
  box-shadow: 0 2px 12px rgba(46, 50, 56, 0.08);
}

.pd-segment-nav-link {
  flex: 1 1 auto;
  min-width: min(100%, 140px);
  padding: 10px 12px;
  border: 1px solid var(--pd-outline);
  background: var(--pd-surface-subtle);
  color: var(--pd-charcoal-muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.pd-segment-nav-link:hover,
.pd-segment-nav-link:focus-visible {
  border-color: var(--pd-yellow);
  color: var(--pd-charcoal);
  background: var(--pd-white);
  outline: none;
}

.pd-segment {
  scroll-margin-top: var(--pd-segment-scroll-margin);
}

.pd-segment:target {
  outline: none;
}

.pd-segment:target .pd-section-head {
  border-left-color: var(--pd-yellow-bright);
}

.pd-segment:target {
  animation: pd-segment-focus 480ms ease;
}

@keyframes pd-segment-focus {
  from {
    box-shadow: inset 0 0 0 2px var(--pd-yellow-dim);
  }
  to {
    box-shadow: inset 0 0 0 0 transparent;
  }
}

body:has(#general-contractors:target) .pd-segment-nav-link[href="#general-contractors"],
body:has(#residential:target) .pd-segment-nav-link[href="#residential"],
body:has(#commercial:target) .pd-segment-nav-link[href="#commercial"],
body:has(#contact-estimate:target) .pd-segment-nav-link[href="#contact-estimate"] {
  border-color: var(--pd-yellow);
  background: var(--pd-yellow);
  color: var(--pd-charcoal);
}

.pd-service-list {
  margin: 0;
  padding: 18px 20px 18px 36px;
  border: 1px solid var(--pd-outline);
  border-left: 3px solid var(--pd-yellow);
  background: var(--pd-white);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 20px;
  list-style: disc;
  box-shadow: 0 2px 10px rgba(46, 50, 56, 0.05);
}

.pd-service-list li {
  font-size: 13px;
  line-height: 1.55;
  color: var(--pd-charcoal-muted);
  padding-left: 2px;
}

.pd-segment-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--pd-outline);
  border-left: 3px solid var(--pd-steel-dark);
  background: var(--pd-surface-subtle);
  font-size: 13px;
  line-height: 1.65;
  color: var(--pd-charcoal-muted);
}

.pd-legal-notice {
  margin: 16px 0;
  padding: 16px 18px;
  border: 1px solid var(--pd-outline);
  border-left: 3px solid var(--pd-yellow);
  background: var(--pd-surface-subtle);
}

.pd-license-line {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 600;
  color: var(--pd-charcoal);
}

.pd-pricing-notice {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--pd-charcoal-muted);
}

#contact-estimate .pd-flow {
  margin-bottom: 16px;
}

#contact-estimate .pd-estimate-guide {
  margin-bottom: 16px;
}

#contact-estimate .pd-cta {
  margin-top: 16px;
}

@media (max-width: 720px) {
  .pd-segments-nav-inner {
    gap: 4px;
    padding: 6px;
  }

  .pd-segment-nav-link {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    padding: 9px 8px;
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .pd-service-list {
    grid-template-columns: 1fr;
    padding: 14px 16px 14px 28px;
  }
}

/* ── Light canvas overrides (.pd-page only) ── */
.pd-page .pd-hero {
  border-left: 3px solid var(--pd-yellow);
  padding-left: 18px;
}

.pd-page .pd-hero::after {
  background: var(--pd-yellow);
  height: 3px;
}

.pd-page .pd-hero-logo {
  background: var(--pd-white);
  border: 1px solid var(--pd-outline-strong);
  border-left: 3px solid var(--pd-yellow);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 16px rgba(46, 50, 56, 0.08);
}

.pd-page .pd-mark-abbr {
  background: var(--pd-yellow);
  color: var(--pd-graphite);
}

.pd-page .pd-badge {
  background: var(--pd-yellow);
  color: var(--pd-graphite);
}

.pd-page .pd-mark-full {
  color: var(--pd-muted);
}

.pd-page .pd-title {
  color: var(--pd-charcoal);
}

.pd-page .pd-title em {
  color: var(--pd-muted);
}

.pd-page .pd-lead {
  color: var(--pd-muted);
}

.pd-page .pd-lead strong {
  color: var(--pd-text);
}

.pd-page .pd-principles {
  color: var(--pd-muted);
}

.pd-page .pd-accent-bar span:nth-child(1) {
  background: var(--pd-yellow);
}

.pd-page .pd-accent-bar span:nth-child(2) {
  background: var(--pd-logo-gray-raised);
}

.pd-page .pd-accent-bar span:nth-child(3) {
  background: var(--pd-white);
  opacity: 1;
}

.pd-page .pd-principles span {
  color: var(--pd-yellow);
}

.pd-page .pd-section-head {
  margin-bottom: 24px;
  padding: 0 0 12px 14px;
  border-bottom: 2px solid var(--pd-hairline);
  border-left: 3px solid var(--pd-yellow);
  border-image: none;
}

.pd-page .pd-section-label {
  color: var(--pd-yellow);
}

.pd-page .hr {
  background: linear-gradient(90deg, var(--pd-yellow) 0, var(--pd-yellow) 32px, var(--pd-hairline) 32px, var(--pd-hairline) 100%);
}

.pd-page .footer {
  color: var(--pd-faint);
  border-top: 2px solid var(--pd-hairline);
  background: var(--pd-gray-footer);
}

.pd-page .pd-asset-strip {
  background: var(--pd-white);
  border: 1px solid var(--pd-outline-strong);
  border-top: 3px solid var(--pd-yellow);
  box-shadow: 0 2px 12px rgba(46, 50, 56, 0.06);
}

.pd-page .pd-section-title {
  color: var(--pd-text);
}

.pd-page .pd-section-desc {
  color: var(--pd-muted);
}

.pd-page .pd-asset-strip::before {
  display: none;
}

.pd-page .pd-asset-title {
  color: var(--pd-charcoal);
}

.pd-page .pd-service-area {
  background: var(--pd-surface);
  border: 1px solid var(--pd-outline);
  border-left: 3px solid var(--pd-yellow);
}

.pd-page .pd-service-area-title {
  color: var(--pd-yellow-bright);
}

.pd-page .pd-service-area-text {
  color: var(--pd-muted);
}

.pd-page .pd-asset-desc {
  color: var(--pd-muted);
}

.pd-page .pd-slideshow-empty {
  background: var(--pd-surface-subtle);
  border-color: var(--pd-outline);
}

.pd-page .pd-slideshow-frame {
  background: var(--pd-white);
  border-color: var(--pd-outline-strong);
}

.pd-page .pd-slideshow-stage {
  background: var(--pd-stage-bg);
}

.pd-page .pd-slideshow-btn {
  background: rgba(255, 255, 255, 0.92);
}

.pd-page .pd-slideshow-dot {
  background: var(--pd-white);
}

.pd-page .pd-slideshow-dot.is-active {
  background: var(--pd-yellow);
}

.pd-page .pd-estimate-guide {
  background: var(--pd-white);
  border: 1px solid var(--pd-outline);
  border-left: 3px solid var(--pd-yellow);
}

.pd-page .pd-estimate-title {
  color: var(--pd-yellow-bright);
}

.pd-page .pd-estimate-list {
  color: var(--pd-muted);
}

.pd-page .pd-service {
  background: var(--pd-white);
  border: 1px solid var(--pd-outline);
  border-left: 3px solid var(--pd-yellow);
  box-shadow: 0 2px 10px rgba(46, 50, 56, 0.05);
}

.pd-page .pd-service:hover {
  border-color: var(--pd-outline-strong);
  border-left-color: var(--pd-yellow-bright);
  box-shadow: 0 4px 16px rgba(46, 50, 56, 0.08);
}

.pd-page .pd-service-index {
  color: var(--pd-yellow);
}

.pd-page .pd-service-title {
  color: var(--pd-text);
}

.pd-page .pd-service-desc {
  color: var(--pd-muted);
}

.pd-page .pd-flow {
  background: var(--pd-white);
  border: 1px solid var(--pd-outline-strong);
  border-top: 3px solid var(--pd-yellow);
  box-shadow: 0 2px 12px rgba(46, 50, 56, 0.06);
}

.pd-page .pd-step {
  border-right-color: var(--pd-outline);
  background: var(--pd-white);
}

.pd-page .pd-step-name {
  color: var(--pd-text);
}

.pd-page .pd-step-num {
  color: var(--pd-yellow-dark);
}

@media (max-width: 860px) {
  .pd-page .pd-step {
    border-bottom-color: var(--pd-hairline);
  }
}

.pd-page .pd-step::after {
  color: var(--pd-yellow);
}

.pd-page .pd-step-final .pd-step-name {
  color: var(--pd-yellow-bright);
}

.pd-page .pd-cta {
  background: var(--pd-white);
  border: 2px solid var(--pd-yellow);
  box-shadow: 0 2px 12px rgba(46, 50, 56, 0.06);
}

.pd-page .pd-cta::before {
  background: var(--pd-yellow);
  height: 3px;
}

.pd-page .pd-cta-title {
  color: var(--pd-yellow-bright);
}

.pd-page .pd-cta-text {
  color: var(--pd-muted);
}

.pd-page .pd-cta-email {
  color: var(--pd-charcoal);
}

.pd-page .pd-btn-mail {
  background: var(--pd-yellow);
  color: var(--pd-graphite);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.pd-page .pd-btn-mail:hover {
  background: var(--pd-yellow-bright);
  color: var(--pd-graphite);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 0 24px var(--pd-yellow-dim);
}

.pd-page .pd-divisions a {
  color: var(--pd-muted);
}

.pd-page .pd-divisions a:hover {
  color: var(--pd-yellow-bright);
  border-bottom-color: var(--pd-yellow);
}

.pd-page .pd-divisions a.is-hub {
  color: var(--pd-faint);
}

.pd-page .pd-divisions a.is-hub:hover {
  color: var(--pd-text);
  border-bottom-color: var(--pd-hairline);
}

.pd-page .pd-footer-brand {
  color: var(--pd-yellow);
}

.pd-page .pd-footer-parent {
  color: var(--pd-muted);
}

/* ── Admin upload surface ── */
.pd-admin-page .pd-admin-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--pd-hairline);
}

.pd-admin-back {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pd-muted);
}

.pd-admin-back:hover {
  color: var(--pd-yellow);
}

.pd-admin-title {
  margin: 0;
  font-size: clamp(22px, 4vw, 32px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pd-yellow-bright);
}

.pd-admin-subtitle {
  margin: 10px 0 0;
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.65;
  color: var(--pd-muted);
}

.pd-admin-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pd-admin-status {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--pd-outline);
  border-left: 3px solid var(--pd-yellow);
  background: var(--pd-surface);
  font-size: 13px;
  color: var(--pd-text);
}

.pd-admin-status.is-error {
  border-left-color: #c96a6a;
  color: #f0d0d0;
}

.pd-admin-panel {
  padding: 20px;
  border: 1px solid var(--pd-outline);
  border-left: 3px solid var(--pd-yellow);
  background: var(--pd-surface);
}

.pd-admin-panel-title {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pd-yellow);
  font-weight: 700;
}

.pd-admin-panel-desc {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--pd-muted);
}

.pd-admin-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pd-admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pd-admin-field-full {
  grid-column: 1 / -1;
}

.pd-admin-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pd-yellow);
  font-weight: 700;
}

.pd-admin-optional {
  color: var(--pd-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.pd-admin-input,
.pd-admin-textarea,
.pd-admin-file {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--pd-outline-strong);
  background: var(--pd-white);
  color: var(--pd-text);
  font: inherit;
  font-size: 14px;
}

.pd-admin-input:focus,
.pd-admin-textarea:focus,
.pd-admin-file:focus {
  outline: 2px solid var(--pd-yellow);
  outline-offset: 1px;
}

.pd-admin-textarea {
  resize: vertical;
  min-height: 72px;
}

.pd-admin-file {
  padding: 8px;
  font-size: 13px;
}

.pd-admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--pd-yellow);
  color: var(--pd-graphite);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  cursor: pointer;
}

.pd-admin-btn:hover,
.pd-admin-btn:focus-visible {
  background: var(--pd-yellow-bright);
  outline: none;
}

.pd-admin-btn-ghost {
  background: transparent;
  color: var(--pd-muted);
  border-color: var(--pd-outline);
}

.pd-admin-btn-ghost:hover,
.pd-admin-btn-ghost:focus-visible {
  color: var(--pd-yellow);
  border-color: var(--pd-yellow);
  background: transparent;
}

.pd-admin-toolbar {
  display: flex;
  justify-content: flex-end;
}

.pd-admin-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pd-admin-empty {
  margin: 0;
  font-size: 13px;
  color: var(--pd-muted);
}

.pd-admin-job {
  padding: 16px;
  border: 1px solid var(--pd-outline);
  background: var(--pd-white);
}

.pd-admin-job-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.pd-admin-job-title {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pd-text);
}

.pd-admin-delete {
  padding: 6px 10px;
  border: 1px solid var(--pd-outline);
  background: transparent;
  color: #e8b4b4;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.pd-admin-delete:hover,
.pd-admin-delete:focus-visible {
  border-color: #c96a6a;
  outline: none;
}

.pd-admin-job-meta {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--pd-muted);
}

.pd-admin-job-notes {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--pd-muted);
}

.pd-admin-job-phases {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.pd-admin-phase {
  padding: 3px 8px;
  border: 1px solid var(--pd-outline);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pd-yellow);
}

.pd-admin-job-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.pd-admin-thumb {
  margin: 0;
  border: 1px solid var(--pd-outline);
  background: var(--pd-surface);
}

.pd-admin-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pd-admin-thumb figcaption {
  padding: 6px 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pd-muted);
}

@media (max-width: 720px) {
  .pd-admin-form-grid {
    grid-template-columns: 1fr;
  }

  .pd-admin-panel {
    padding: 16px;
  }
}
