/* Precision Demolition & Clean-Up — division layer
   Identity: warm off-white / charcoal / caution-yellow / safety-orange.
   Gallery, pricing-select, and guide-page hooks preserved. */

:root {
  --pd-yellow: #e8b02a;
  --pd-yellow-bright: #f3c44a;
  --pd-yellow-dim: rgba(232, 176, 42, 0.22);
  --pd-yellow-dark: #c99212;
  --pd-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.pd-page {
  --division-accent: var(--pd-caution);
  --division-glow: rgba(232, 176, 42, 0.22);
  --pd-caution: #f0c23a;
  --pd-caution-deep: #e0a820;
  --pd-safety: #e8783a;
  --pd-safety-soft: rgba(232, 120, 58, 0.18);
  --pd-ink: #2a2622;              /* dark text on light */
  --pd-muted: rgba(42, 38, 34, 0.72);
  --pd-faint: rgba(42, 38, 34, 0.55);
  --pd-charcoal: #2f3338;
  --pd-charcoal-muted: #5c564e;
  --pd-charcoal-faint: #8a8378;
  --pd-graphite: #3a3f45;
  --pd-page-bg: #f7f1e6;          /* warm off-white */
  --pd-page-bg-deep: #efe8da;
  --pd-surface: #fffaf2;
  --pd-surface-subtle: #f3eee4;
  --pd-surface-tray: #faf6ee;
  --pd-stage-bg: #ebe4d6;
  --pd-footer-bg: #2f3338;
  --pd-steel: #6b6560;
  --pd-steel-dark: #5c564e;
  --pd-steel-dim: rgba(47, 51, 56, 0.1);
  --pd-white: #fffaf2;
  --pd-outline: rgba(47, 51, 56, 0.14);
  --pd-outline-strong: rgba(47, 51, 56, 0.22);
  --pd-logo-gray: #444444;
  --pd-logo-gray-deep: #2f3338;
  --pd-logo-gray-tray: #f3eee4;
  --pd-logo-gray-card: #fffaf2;
  --pd-logo-gray-raised: #fffaf2;
  --pd-graphite-light: #ebe4d6;
  --pd-text: var(--pd-ink);
  --pd-hairline: var(--pd-outline);
  --pd-surface-raised: var(--pd-surface);
  --pd-gray-footer: var(--pd-footer-bg);
  --pd-on-light: #2a2622;         /* charcoal text on yellow/light */
  --pd-segment-scroll-margin: 5rem;
  --pd-yellow: var(--pd-caution);
  --pd-yellow-bright: #f6d15a;
  --pd-yellow-dim: rgba(240, 194, 58, 0.22);
  --pd-yellow-dark: var(--pd-caution-deep);
  color: var(--pd-ink);
  background-color: var(--pd-page-bg);
  background-image:
    radial-gradient(ellipse 70% 45% at 0% -8%, rgba(240, 194, 58, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(232, 120, 58, 0.1), transparent 50%),
    linear-gradient(180deg, #faf6ee 0%, #f7f1e6 45%, #efe8da 100%);
  scroll-padding-top: var(--pd-segment-scroll-margin);
}

.pd-page .wrap { background: transparent; }
.pd-page .main { padding-top: 20px; }
.pd-page .hr { display: none; }

.pd-page .footer {
  color: rgba(255, 250, 242, 0.72);
  border-top: 1px solid rgba(47, 51, 56, 0.2);
  background: var(--pd-footer-bg);
}

.pd-page .site-legal-links a { color: rgba(255, 250, 242, 0.82); opacity: 1; }
.pd-page .site-legal-links a:hover,
.pd-page .site-legal-links a:focus-visible { color: var(--pd-caution); opacity: 1; }

/* Hero logo — charcoal mat matches baked logo background; do not fake-upscale */
.pd-hero-logo {
  display: block;
  padding: 0;
  max-width: min(168px, 42vw);
  max-height: 168px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 18px;
  border: none;
  border-radius: 22px;
  background: #444444;
  box-shadow: 0 12px 28px rgba(47, 51, 56, 0.18);
}

/* Sticky subnav */
.pd-subnav {
  position: sticky;
  top: 0;
  z-index: 40;
  margin: 0 0 32px;
  padding: 0;
  background: linear-gradient(180deg, rgba(20, 23, 27, 0.96) 40%, rgba(20, 23, 27, 0.72) 100%);
}

.pd-subnav-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  max-width: var(--maxw);
  min-height: 64px;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid var(--pd-outline-strong);
  border-radius: 12px;
  background: rgba(31, 36, 43, 0.94);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.pd-subnav a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--pd-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pd-subnav a:hover { color: var(--pd-ink); background: rgba(228, 180, 90, 0.1); }
.pd-subnav a:focus-visible {
  color: var(--pd-ink);
  background: rgba(228, 180, 90, 0.14);
  outline: 2px solid var(--pd-yellow);
  outline-offset: 2px;
}

.pd-subnav a[aria-current="page"] {
  color: #14171b;
  background: var(--pd-yellow);
}

.pd-page > .pd-subnav {
  margin: 0 0 28px;
}

/* Hero */
.pd-hero {
  display: grid;
  gap: 28px;
  margin-bottom: 24px;
  position: relative;
}

@media (min-width: 900px) {
  .pd-hero {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr);
    align-items: end;
    gap: 36px;
  }
}

.pd-eyebrow {
  margin: 0 0 10px;
  font-family: var(--pd-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pd-yellow);
}

.pd-title {
  margin: 0;
  font-size: clamp(28px, 5vw, 46px);
  letter-spacing: 0.02em;
  line-height: 1.08;
  color: var(--pd-ink);
  font-weight: 750;
}

.pd-accent-bar {
  display: flex;
  gap: 6px;
  margin: 16px 0 0;
}

.pd-accent-bar span { display: block; height: 3px; border-radius: 1px; }
.pd-accent-bar span:nth-child(1) { width: 52px; background: var(--pd-yellow); }
.pd-accent-bar span:nth-child(2) { width: 24px; background: var(--pd-steel); }
.pd-accent-bar span:nth-child(3) { width: 12px; background: rgba(232, 234, 237, 0.28); }

.pd-lead {
  margin: 18px 0 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--pd-muted);
}

.pd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.pd-btn--primary {
  background: var(--pd-yellow);
  color: #1a1c1f;
  border: 1px solid transparent;
}
.pd-btn--primary:hover,
.pd-btn--primary:focus-visible {
  background: var(--pd-yellow-bright);
  color: #1a1c1f;
  outline: none;
}
.pd-btn--primary:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.pd-btn--secondary {
  background: transparent;
  color: var(--pd-ink);
  border: 1px solid var(--pd-outline-strong);
}
.pd-btn--secondary:hover,
.pd-btn--secondary:focus-visible {
  border-color: var(--pd-yellow);
  color: var(--pd-yellow-bright);
  outline: none;
}
.pd-btn--secondary:focus-visible { outline: 2px solid var(--pd-yellow); outline-offset: 2px; }

.pd-hero-license { margin-top: 18px; }

.pd-hero-aside {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--pd-outline-strong);
  border-left: 3px solid var(--pd-yellow);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(228, 180, 90, 0.08), rgba(31, 36, 43, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pd-aside-block + .pd-aside-block {
  padding-top: 14px;
  border-top: 1px solid var(--pd-outline);
}

.pd-aside-label {
  margin: 0 0 6px;
  font-family: var(--pd-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pd-yellow);
}

.pd-hero-aside p:not(.pd-aside-label) {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--pd-muted);
}

/* Sections */
.pd-section {
  margin: 0 0 48px;
  scroll-margin-top: var(--pd-segment-scroll-margin);
}

.pd-section-head {
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pd-outline-strong);
  border-image: linear-gradient(90deg, var(--pd-yellow), transparent 70%) 1;
}

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

.pd-section-title {
  margin: 0;
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pd-ink);
  line-height: 1.2;
}

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

.pd-license-line {
  margin: 0;
  font-family: var(--pd-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--pd-faint);
}

/* Asset strip */
.pd-asset-strip {
  padding: 22px 20px 18px;
  border: 1px solid var(--pd-outline-strong);
  border-top: 3px solid var(--pd-yellow);
  background: rgba(31, 36, 43, 0.88);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

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

/* Service panels */
.pd-service-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 760px) {
  .pd-service-panels { grid-template-columns: repeat(2, 1fr); }
}

.pd-panel {
  padding: 22px 20px 18px;
  border: 1px solid var(--pd-outline);
  border-left: 3px solid var(--pd-yellow);
  background: var(--pd-surface);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.pd-panel--b { border-left-color: var(--pd-steel); }
.pd-panel--c {
  background: linear-gradient(160deg, rgba(228, 180, 90, 0.07), var(--pd-surface));
}
.pd-panel--d {
  border-style: solid;
  background: linear-gradient(180deg, var(--pd-surface) 0%, #1a1e24 100%);
}

.pd-panel-num {
  margin: 0 0 10px;
  font-family: var(--pd-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--pd-yellow);
}

.pd-panel-title {
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pd-ink);
}

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

/* Statement */
.pd-statement {
  padding: 0;
}

.pd-statement-inner {
  padding: 28px 24px;
  border: 1px solid var(--pd-outline-strong);
  background:
    linear-gradient(135deg, rgba(228, 180, 90, 0.1) 0%, transparent 42%),
    linear-gradient(180deg, #222830 0%, #1a1e24 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.pd-statement-title {
  margin: 0;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--pd-ink);
  max-width: 18ch;
}

.pd-statement-lead {
  margin: 16px 0 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--pd-muted);
}

.pd-statement-points {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 58ch;
}

.pd-statement-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pd-muted);
}

.pd-statement-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 2px;
  background: var(--pd-yellow);
}

/* Audience */
.pd-audience {
  display: grid;
  gap: 12px;
}

@media (min-width: 860px) {
  .pd-audience { grid-template-columns: repeat(3, 1fr); }
}

.pd-audience-card {
  padding: 20px 18px;
  border: 1px solid var(--pd-outline);
  border-top: 2px solid var(--pd-yellow);
  background: var(--pd-surface);
}

.pd-audience-title {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pd-ink);
}

.pd-audience-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--pd-muted);
}

.pd-audience-card ul {
  margin: 10px 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 5px;
}

.pd-audience-card li {
  font-size: 13px;
  line-height: 1.55;
  color: var(--pd-muted);
}

.pd-prose {
  max-width: 68ch;
}

.pd-prose > p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--pd-muted);
}

.pd-prose > p:last-child { margin-bottom: 0; }

.pd-subsection-title {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pd-ink);
}

.pd-coord-block {
  margin: 0 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--pd-outline);
}

.pd-gallery-more-sep {
  margin: 0 8px;
  color: var(--pd-faint);
  font-size: 13px;
}

.pd-fit-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 8px;
  max-width: 68ch;
}

.pd-fit-list li {
  font-size: 14px;
  line-height: 1.65;
  color: var(--pd-muted);
}

.pd-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

@media (max-width: 640px) {
  .pd-cta-actions .pd-btn { width: 100%; }
}

/* Process */
.pd-process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--pd-outline-strong);
  overflow: hidden;
  background: var(--pd-surface);
}

.pd-process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid var(--pd-outline);
}

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

.pd-process-num {
  font-family: var(--pd-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--pd-yellow);
  padding-top: 2px;
}

.pd-process-name {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pd-ink);
}

.pd-process-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pd-muted);
  max-width: 48ch;
}

@media (min-width: 900px) {
  .pd-process {
    grid-template-columns: repeat(5, 1fr);
  }
  .pd-process-step {
    grid-template-columns: 1fr;
    border-bottom: none;
    border-right: 1px solid var(--pd-outline);
  }
  .pd-process-step:last-child { border-right: none; }
}

/* Scope band */
.pd-scope-band .pd-scope-inner {
  padding: 22px 20px;
  border: 1px dashed rgba(228, 180, 90, 0.35);
  background: rgba(31, 36, 43, 0.7);
}

.pd-scope-list {
  margin: 14px 0 16px;
  padding-left: 1.15rem;
  display: grid;
  gap: 8px;
  max-width: 72ch;
}

.pd-scope-list li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--pd-muted);
}

/* Estimate helpers */
.pd-estimate-guide {
  margin: 0 0 18px;
  padding: 18px 18px 16px;
  border: 1px solid var(--pd-outline);
  border-left: 3px solid var(--pd-steel);
  background: var(--pd-surface-subtle);
}

.pd-estimate-title {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pd-ink);
}

.pd-estimate-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 6px;
}

.pd-estimate-list li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--pd-muted);
}

.pd-legal-notice {
  margin: 0 0 20px;
  padding: 16px 16px 14px;
  border: 1px solid var(--pd-outline);
  background: rgba(0, 0, 0, 0.18);
}

.pd-pricing-notice {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--pd-muted);
}

.pd-cta {
  display: grid;
  gap: 20px;
  padding: 24px 20px;
  border: 1px solid var(--pd-outline-strong);
  border-top: 3px solid var(--pd-yellow);
  background: linear-gradient(160deg, #262c34 0%, #1a1e24 100%);
}

@media (min-width: 900px) {
  .pd-cta {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }
}

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

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

.pd-btn-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  background: var(--pd-yellow);
  color: #1a1c1f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.pd-btn-mail:hover,
.pd-btn-mail:focus-visible {
  background: var(--pd-yellow-bright);
  outline: none;
}
.pd-btn-mail:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.pd-page #contact-estimate .division-inquiry-panel {
  border: none;
  background: transparent;
  padding: 0;
}

.pd-page #contact-estimate .division-form__label,
.pd-page #contact-estimate .division-form__note {
  color: var(--pd-muted);
}

.pd-page #contact-estimate .division-form__input,
.pd-page #contact-estimate .division-form__textarea,
.pd-page #contact-estimate .division-form__select,
.pd-page #contact-estimate .division-form__file {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: var(--pd-ink);
}

.pd-page #contact-estimate .division-form__select option {
  color: #1a1c1f;
  background: #f3f4f6;
}

.pd-segment-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--pd-faint);
  max-width: 68ch;
}

.pd-divisions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 8px 0 12px;
}

.pd-divisions a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pd-steel);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.pd-divisions a:hover,
.pd-divisions a:focus-visible {
  color: var(--pd-yellow);
  border-bottom-color: var(--pd-yellow);
  outline: none;
}
.pd-divisions a.is-hub { color: var(--pd-muted); }

.pd-footer { display: flex; flex-direction: column; gap: 6px; }
.pd-footer-brand {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pd-yellow);
  font-weight: 650;
}
.pd-footer-parent {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pd-faint);
}

@media (max-width: 720px) {
  .pd-hero-actions { flex-direction: column; }
  .pd-btn { width: 100%; }
  .pd-hero-logo {
    max-width: min(132px, 42vw);
    max-height: 132px;
  }
  .pd-statement-inner { padding: 22px 16px; }
  .pd-cta { padding: 18px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .pd-btn, .pd-subnav a, .pd-service-select, .pd-pricing-cta, .pd-btn-mail {
    transition: none !important;
  }
}


/* ── Preserved job gallery / modal ── */
.pd-job-gallery {
  margin-top: 4px;
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  min-width: 0;
}

.pd-job-gallery--loading {
  min-height: 140px;
  display: grid;
  place-items: center;
}

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

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

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

.pd-gallery-more {
  margin: 18px 0 0;
  text-align: center;
}

.pd-gallery-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border: 1px solid var(--pd-outline-strong);
  border-radius: 6px;
  background: var(--pd-white);
  color: var(--pd-charcoal);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pd-gallery-more-link:hover,
.pd-gallery-more-link:focus-visible {
  border-color: var(--pd-yellow);
  background: var(--pd-surface-subtle);
  outline: none;
}

.pd-gallery-back {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 28px 0 0;
}

.pd-gallery-page .pd-gallery-main {
  padding-bottom: 32px;
}

.pd-gallery-header {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.pd-gallery-title {
  margin: 8px 0 0;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
  color: var(--pd-charcoal);
}

.pd-gallery-lead {
  margin: 14px auto 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--pd-muted);
}

.pd-job-gallery--full {
  max-width: 900px;
}

.pd-job-gallery--featured {
  max-width: 720px;
}

.pd-featured-job {
  width: 100%;
  min-width: 0;
}

.pd-featured-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pd-charcoal);
}

.pd-job-card--featured {
  border-left: 3px solid var(--pd-yellow);
}

.pd-featured-carousel {
  width: 100%;
  min-width: 0;
  border-bottom: 1px solid var(--pd-outline);
}

.pd-featured-carousel:focus-visible {
  outline: 2px solid var(--pd-yellow);
  outline-offset: 2px;
}

.pd-featured-carousel__viewport {
  overflow: hidden;
  width: 100%;
  background: var(--pd-outline);
}

.pd-featured-carousel__track {
  display: flex;
  width: 100%;
  transition: transform 240ms ease;
  will-change: transform;
}

.pd-featured-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
}

.pd-featured-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: var(--pd-stage-bg);
  border-top: 1px solid var(--pd-outline);
}

.pd-featured-carousel__status {
  margin: 0;
  flex: 1;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pd-muted);
}

.pd-featured-carousel__prev,
.pd-featured-carousel__next {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--pd-outline-strong);
  border-radius: 2px;
  background: var(--pd-white);
  color: var(--pd-charcoal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.pd-featured-carousel__prev:hover,
.pd-featured-carousel__next:hover,
.pd-featured-carousel__prev:focus-visible,
.pd-featured-carousel__next:focus-visible {
  border-color: var(--pd-yellow);
  background: var(--pd-yellow-dim);
  outline: none;
}

.pd-featured-carousel__prev:disabled,
.pd-featured-carousel__next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pd-job-gallery[data-mode="featured"] .pd-job-card-photos {
  pointer-events: none;
}

.pd-job-gallery[data-mode="featured"] .pd-featured-carousel,
.pd-job-gallery[data-mode="featured"] .pd-featured-carousel button {
  pointer-events: auto;
}

.pd-job-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.pd-job-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--pd-outline-strong);
  border-top: 3px solid var(--pd-yellow);
  background: var(--pd-white);
  box-shadow: 0 1px 8px rgba(46, 50, 56, 0.05);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

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

.pd-job-card-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: var(--pd-outline);
  border-bottom: 1px solid var(--pd-outline);
}

.pd-job-card-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  background: var(--pd-stage-bg);
}

.pd-job-card-photo-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.pd-job-card-photo-trigger:hover .pd-job-card-photo-media img,
.pd-job-card-photo-trigger:focus-visible .pd-job-card-photo-media img {
  opacity: 0.9;
}

.pd-job-card-photo-trigger:focus-visible {
  outline: 2px solid var(--pd-yellow);
  outline-offset: -2px;
}

.pd-job-card-photo-media {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 64px;
  max-height: 64px;
  min-height: 64px;
  overflow: hidden;
  background: var(--pd-stage-bg);
  flex-shrink: 0;
}

.pd-job-card-photo-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.pd-job-card-photo-media--empty {
  height: 64px;
  max-height: 64px;
  min-height: 64px;
  background: linear-gradient(135deg, var(--pd-stage-bg) 0%, var(--pd-surface-subtle) 100%);
}

.pd-job-card-photo figcaption {
  padding: 4px 2px;
  font-family: var(--pd-mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--pd-charcoal-muted);
  background: var(--pd-surface-subtle);
  line-height: 1.2;
}

.pd-job-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px 12px;
}

.pd-job-card-title {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--pd-charcoal);
  line-height: 1.3;
}

.pd-job-card-meta {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--pd-charcoal-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.pd-job-card-sep {
  color: var(--pd-charcoal-faint);
}

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

.pd-job-card-notes {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--pd-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pd-job-card-view {
  margin-top: 2px;
  align-self: flex-start;
  padding: 8px 12px;
  border: 1px solid var(--pd-outline-strong);
  border-radius: 6px;
  background: var(--pd-surface-subtle);
  color: var(--pd-charcoal);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 140ms ease, border-color 140ms ease;
}

.pd-job-card-view:hover,
.pd-job-card-view:focus-visible {
  border-color: var(--pd-yellow);
  background: var(--pd-yellow-dim);
  outline: none;
}

@media (min-width: 721px) {
  .pd-job-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .pd-job-gallery .pd-job-card-photo-media,
  .pd-job-gallery .pd-job-card-photo-media--empty {
    height: 56px;
    max-height: 56px;
    min-height: 56px;
  }

  .pd-job-gallery .pd-job-card-photo-media img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 56px;
    object-fit: cover;
  }
}

body.pd-modal-open {
  overflow: hidden;
}

.pd-job-modal[hidden] {
  display: none !important;
}

.pd-job-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overscroll-behavior: contain;
}

.pd-job-modal.pd-job-modal--open {
  display: flex;
}

.pd-job-modal--mobile {
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 8px 24px;
}

.pd-job-modal.pd-job-modal--open.pd-job-modal--mobile {
  display: block;
}

.pd-job-modal--mobile .pd-job-modal__dialog {
  width: min(720px, 100%);
  max-height: none;
  margin: 12px auto 24px;
  overflow: visible;
}

.pd-job-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(26, 28, 30, 0.72);
  backdrop-filter: blur(4px);
}

.pd-job-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: 90vh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--pd-outline-strong);
  border-top: 3px solid var(--pd-yellow);
  background: var(--pd-white);
  box-shadow: 0 16px 48px rgba(46, 50, 56, 0.28);
}

.pd-job-modal__content {
  padding: 22px 20px 20px;
  min-width: 0;
}

.pd-job-modal__photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.pd-job-modal-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--pd-outline);
  background: var(--pd-stage-bg);
  overflow: hidden;
}

.pd-job-modal-photo-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 8px;
  background: var(--pd-stage-bg);
}

.pd-job-modal-photo-media img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 70vh;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.pd-job-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--pd-outline-strong);
  border-radius: 6px;
  background: var(--pd-white);
  color: var(--pd-charcoal);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}

.pd-job-modal__close:hover,
.pd-job-modal__close:focus-visible {
  border-color: var(--pd-yellow);
  background: var(--pd-yellow-dim);
  outline: none;
}

.pd-job-modal__head {
  padding-right: 40px;
  margin-bottom: 14px;
}

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

.pd-job-modal__meta {
  margin: 0;
  font-size: 14px;
  color: var(--pd-charcoal-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pd-job-modal__notes {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--pd-yellow);
  background: var(--pd-surface-subtle);
}

.pd-job-modal__notes p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--pd-muted);
}

.pd-job-modal-photo figcaption {
  padding: 8px 10px;
  font-family: var(--pd-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--pd-charcoal-muted);
  background: var(--pd-surface-subtle);
}

.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;
}

/* ── Preserved pricing + guide ── */
.pd-pricing-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin: 0 0 14px;
}

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

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

.pd-pricing-service-head {
  margin-bottom: 8px;
}

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

.pd-pricing-service-price {
  margin: 0;
  font-size: 13px;
  color: var(--pd-charcoal-muted);
}

.pd-pricing-service-price strong {
  color: var(--pd-charcoal);
  font-weight: 700;
}

.pd-pricing-service-range {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--pd-charcoal-faint);
}

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

.pd-pricing-service--unavailable {
  opacity: 0.72;
  border-style: dashed;
  border-left-color: var(--pd-steel);
  pointer-events: none;
}

.pd-pricing-service--unavailable:hover {
  border-left-color: var(--pd-steel);
  box-shadow: none;
}

.pd-pricing-service__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--pd-yellow);
  color: var(--pd-charcoal);
  font-family: var(--pd-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pd-service-select {
  margin-top: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--pd-outline-strong);
  border-radius: 6px;
  background: var(--pd-surface-subtle);
  color: var(--pd-charcoal);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.pd-service-select:hover,
.pd-service-select:focus-visible {
  border-color: var(--pd-yellow);
  background: var(--pd-yellow-dim);
  box-shadow: 0 0 0 1px rgba(228, 180, 90, 0.35);
  outline: none;
}

.pd-pricing-service--selected {
  border-color: var(--pd-yellow) !important;
  border-left-color: var(--pd-yellow-bright) !important;
  box-shadow: 0 8px 28px rgba(228, 180, 90, 0.28) !important;
}

.pd-pricing-note {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--pd-charcoal-muted);
}

.pd-page .division-form__select--service {
  border-left: 3px solid var(--pd-steel-dark);
}

.pd-page .division-form__select--service:focus {
  border-left-color: var(--pd-yellow);
}

.pd-page #pricing-guide .pd-pricing-service--selected {
  border-color: var(--pd-yellow-bright) !important;
  border-left-color: var(--pd-yellow) !important;
  box-shadow: 0 10px 32px rgba(228, 180, 90, 0.32) !important;
}

.pd-page #pricing-guide .pd-pricing-service__badge {
  background: var(--pd-yellow-bright);
  color: var(--pd-charcoal);
}

.pd-page #pricing-guide .pd-service-select:hover,
.pd-page #pricing-guide .pd-service-select:focus-visible {
  border-color: var(--pd-yellow-bright);
  background: rgba(228, 180, 90, 0.22);
}

.pd-pricing-actions,
.pd-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
}

.pd-pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--pd-outline-strong);
  background: var(--pd-white);
  color: var(--pd-charcoal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease;
}

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

.pd-pricing-cta-primary {
  border-color: var(--pd-yellow);
  background: var(--pd-yellow);
  color: var(--pd-charcoal);
}

.pd-pricing-cta-print {
  font-family: inherit;
}

/* ── Standalone pricing guide page ── */
.pd-guide-page .main {
  max-width: 820px;
}

.pd-guide-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--pd-outline);
}

.pd-guide-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pd-steel-dark);
}

.pd-guide-title {
  margin: 0 0 12px;
  font-size: clamp(23px, 4vw, 33px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pd-charcoal);
}

.pd-guide-lead {
  margin: 0 0 14px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--pd-charcoal-muted);
}

.pd-guide-section {
  margin-bottom: 28px;
}

.pd-guide-section-title {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pd-yellow);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pd-charcoal);
}

.pd-guide-list {
  margin: 0;
  padding: 16px 18px 16px 34px;
  border: 1px solid var(--pd-outline);
  background: var(--pd-white);
  display: grid;
  gap: 8px;
}

.pd-guide-list li {
  font-size: 14px;
  line-height: 1.65;
  color: var(--pd-charcoal-muted);
}

.pd-guide-text {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--pd-outline);
  border-left: 3px solid var(--pd-steel-dark);
  background: var(--pd-surface-subtle);
  font-size: 14px;
  line-height: 1.7;
  color: var(--pd-charcoal-muted);
}

.pd-guide-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--pd-outline);
  background: var(--pd-white);
}

.pd-guide-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}

.pd-guide-table--rates th:not(:first-child),
.pd-guide-table--rates td:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}

.pd-guide-table--rates th:first-child,
.pd-guide-table--rates td:first-child {
  min-width: 11rem;
}

.pd-guide-table__unavailable td:not(:first-child) {
  color: var(--pd-steel-dark);
}

.pd-guide-table th,
.pd-guide-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--pd-outline);
  text-align: left;
  vertical-align: top;
}

.pd-guide-table th {
  background: var(--pd-surface-subtle);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pd-charcoal);
}

.pd-guide-table tbody tr:last-child td {
  border-bottom: none;
}

.pd-guide-disclaimer .pd-guide-text {
  border-left-color: var(--pd-yellow-dark);
}

@media print {
  .eco-nav,
  .pd-subnav,
  .pd-footer,
  .pd-guide-actions,
  .pd-pricing-cta-print {
    display: none !important;
  }

  .pd-guide-page {
    background: #fff;
  }

  .pd-guide-page .main {
    max-width: none;
  }

  .pd-guide-table-wrap {
    overflow: visible;
    border-color: #ccc;
  }

  .pd-guide-table {
    min-width: 0;
    font-size: 12px;
  }

  .pd-guide-table th,
  .pd-guide-table td {
    padding: 8px 10px;
  }

  .pd-guide-section {
    break-inside: avoid;
  }

  .pd-guide-section:has(.pd-guide-table-wrap) {
    break-inside: auto;
  }
}

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

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

/* ── Job gallery thumbnail hard fix (20260616-gallery-size) ── */
body.pd-page #pd-job-gallery.pd-job-gallery {
  max-width: 800px !important;
  margin-inline: auto !important;
  width: 100% !important;
}

body.pd-page #pd-job-gallery .pd-job-gallery-grid {
  width: 100% !important;
  min-width: 0 !important;
}

body.pd-page #pd-job-gallery .pd-job-card-photos {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  overflow: hidden !important;
}

body.pd-page #pd-job-gallery .pd-job-card-photo {
  min-width: 0 !important;
  overflow: hidden !important;
}

body.pd-page #pd-job-gallery .pd-job-card-photo-trigger {
  display: block !important;
  width: 100% !important;
  height: 64px !important;
  max-height: 64px !important;
  min-height: 64px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
}

body.pd-page #pd-job-gallery .pd-job-card-photo-media,
body.pd-page #pd-job-gallery .pd-job-card-photo-media--empty {
  display: block !important;
  width: 100% !important;
  height: 64px !important;
  max-height: 64px !important;
  min-height: 64px !important;
  overflow: hidden !important;
}

body.pd-page #pd-job-gallery img.pd-job-card-thumb {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 64px !important;
  object-fit: cover !important;
  display: block !important;
}

@media (min-width: 721px) {
  body.pd-page #pd-job-gallery .pd-job-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.pd-page #pd-job-gallery .pd-job-card-photo-trigger,
  body.pd-page #pd-job-gallery .pd-job-card-photo-media,
  body.pd-page #pd-job-gallery .pd-job-card-photo-media--empty {
    height: 52px !important;
    max-height: 52px !important;
    min-height: 52px !important;
  }

  body.pd-page #pd-job-gallery img.pd-job-card-thumb {
    max-height: 52px !important;
  }
}

body.pd-page #pd-job-gallery.pd-job-gallery--featured .pd-job-card-photo-media,
body.pd-page #pd-job-gallery.pd-job-gallery--featured .pd-job-card-photo-media--empty {
  height: 120px !important;
  max-height: 120px !important;
  min-height: 120px !important;
}

body.pd-page #pd-job-gallery.pd-job-gallery--featured img.pd-job-card-thumb {
  max-height: 120px !important;
}

@media (min-width: 721px) {
  body.pd-page #pd-job-gallery.pd-job-gallery--featured .pd-featured-carousel__viewport {
    overflow: visible;
  }

  body.pd-page #pd-job-gallery.pd-job-gallery--featured .pd-featured-carousel__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    transform: none !important;
  }

  body.pd-page #pd-job-gallery.pd-job-gallery--featured .pd-featured-carousel__slide {
    flex: none;
  }

  body.pd-page #pd-job-gallery.pd-job-gallery--featured .pd-featured-carousel__controls {
    display: none;
  }

  body.pd-page #pd-job-gallery.pd-job-gallery--featured .pd-job-card-photo-media,
  body.pd-page #pd-job-gallery.pd-job-gallery--featured .pd-job-card-photo-media--empty {
    height: 160px !important;
    max-height: 160px !important;
    min-height: 160px !important;
  }

  body.pd-page #pd-job-gallery.pd-job-gallery--featured img.pd-job-card-thumb {
    max-height: 160px !important;
  }
}

body.pd-page #pd-job-modal .pd-job-modal-photo-media {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

body.pd-page #pd-job-modal img.pd-job-modal-detail-img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 70vh !important;
  object-fit: contain !important;
  display: block !important;
  margin-inline: auto !important;
}

/* ── Always-visible top-bar Livingston quote ── */
.eco-nav-inner:has(> .eco-nav-quote--precision) {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr) auto;
  grid-template-areas: "brand quote menu";
  align-items: center;
  column-gap: 16px;
  row-gap: 8px;
}
.eco-nav-inner:has(> .eco-nav-quote--precision) .eco-nav-brand-block {
  grid-area: brand;
  max-width: none;
  flex: none;
  padding-right: 0;
}
.eco-nav-inner:has(> .eco-nav-quote--precision) .eco-nav-menu {
  grid-area: menu;
}
.pd-page .eco-nav-quote.eco-nav-quote--precision {
  grid-area: quote;
  display: block !important;
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 0 6px;
  border: none;
  border-bottom: 1px solid #e6c220;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  color: #f4f2ec;
}
.pd-page .eco-nav-quote--precision .eco-nav-quote-text {
  display: block;
  margin: 0;
  font-style: italic;
  color: inherit;
}
.pd-page .eco-nav-quote--precision .eco-nav-quote-attr {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(244,242,236,0.62);
}
@media (max-width: 900px) {
  .eco-nav-inner:has(> .eco-nav-quote--precision) {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand menu"
      "quote quote";
  }
  .pd-page .eco-nav-quote.eco-nav-quote--precision {
    max-width: none;
    margin: 0;
    text-align: left;
  }
  .pd-page {
    --eco-nav-height: 7.75rem;
  }
}
@media (max-width: 640px) {
  .pd-page .eco-nav-quote.eco-nav-quote--precision {
    font-size: 11px;
  }
  .pd-page .eco-nav-quote--precision .eco-nav-quote-attr {
    font-size: 9px;
  }
  .pd-page {
    --eco-nav-height: 8.5rem;
  }
}

/* =========================================================
   Precision warm construction shell (2026-09-07 revise)
   Scoped to .pd-page only — does not restyle other divisions.
   ========================================================= */

.pd-page {
  --pd-font-display: "Bricolage Grotesque", "Avenir Next Condensed", sans-serif;
  --pd-font-body: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
  --pd-header-h: 4.5rem;
  font-family: var(--pd-font-body);
  scroll-padding-top: calc(var(--pd-header-h) + 1rem);
}

.pd-page .wrap {
  background: transparent;
}

.pd-page .main {
  padding-top: 12px;
  max-width: var(--maxw, 1080px);
  margin: 0 auto;
  padding-left: var(--padx, 28px);
  padding-right: var(--padx, 28px);
}

.pd-page h1,
.pd-page h2,
.pd-page h3,
.pd-page .pd-title,
.pd-page .pd-section-title,
.pd-page .pd-guide-title,
.pd-page .pd-eyebrow,
.pd-page .pd-section-label,
.pd-page .pd-day-rate__name,
.pd-page .pd-site-brand__name,
.pd-page .pd-wordmark,
.pd-page .pd-pun {
  font-family: var(--pd-font-display);
}

.pd-page .skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--pd-caution);
  color: #2a2622;
  font-weight: 700;
}
.pd-page .skip-link:focus {
  left: 12px;
  top: 12px;
  outline: 3px solid var(--pd-safety);
  outline-offset: 2px;
}

.pd-page > .eco-nav { display: none !important; }

/* Subtle concrete grain */
.pd-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.pd-page > .wrap {
  position: relative;
  z-index: 1;
}

/* Header */
.pd-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 241, 230, 0.92);
  border-bottom: 1px solid var(--pd-outline);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pd-site-header__inner {
  max-width: var(--maxw, 1080px);
  margin: 0 auto;
  padding: 10px var(--padx, 28px);
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--pd-header-h);
}

.pd-site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  flex: 1 1 auto;
}

.pd-site-brand__logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 14px;
  border: none;
  background: #444444;
  flex: 0 0 auto;
  box-shadow: 0 4px 12px rgba(47, 51, 56, 0.16);
}

.pd-site-brand__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pd-site-brand__name,
.pd-wordmark {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 750;
  line-height: 1.1;
  color: var(--pd-charcoal);
  letter-spacing: -0.02em;
  text-transform: none;
}

.pd-site-brand__tag {
  font-size: 0.82rem;
  color: var(--pd-muted);
  line-height: 1.3;
}

.pd-site-nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid var(--pd-charcoal);
  border-radius: 999px;
  background: var(--pd-caution);
  color: var(--pd-charcoal);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.pd-site-nav-toggle:focus-visible {
  outline: 3px solid var(--pd-safety);
  outline-offset: 2px;
}

.pd-site-nav-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.pd-site-nav-toggle__icon span {
  display: block;
  height: 2px;
  background: var(--pd-charcoal);
  border-radius: 1px;
}

.pd-site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 2px;
  align-items: center;
  justify-content: flex-end;
}

.pd-site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--pd-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.pd-site-nav a:hover,
.pd-site-nav a:focus-visible {
  color: var(--pd-charcoal);
  background: rgba(232, 176, 42, 0.2);
  outline: none;
}

.pd-site-nav a:focus-visible {
  outline: 3px solid var(--pd-safety);
  outline-offset: 2px;
}

.pd-site-nav a[aria-current="page"] {
  color: #fffaf2;
  background: var(--pd-charcoal);
}

@media (min-width: 901px) {
  .pd-site-nav[hidden] { display: flex !important; }
}

@media (max-width: 900px) {
  .pd-site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 8px;
  }
  .pd-site-brand { grid-column: 1; grid-row: 1; min-width: 0; }
  .pd-site-brand__name {
    font-size: 0.95rem;
    max-width: min(52vw, 13rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pd-site-nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .pd-site-nav {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 4px;
    border-top: 1px dashed var(--pd-outline-strong);
  }
  .pd-site-nav[hidden] { display: none !important; }
  .pd-site-nav a {
    min-height: 44px;
    justify-content: flex-start;
  }
}

/* Caution-tape separator */
.pd-tape {
  display: block;
  width: min(220px, 55%);
  height: 12px;
  margin: 18px 0 22px;
  border-radius: 3px;
  transform: rotate(-2.5deg);
  background: repeating-linear-gradient(
    -45deg,
    #2f3338 0 10px,
    #e8b02a 10px 20px
  );
  box-shadow: 0 2px 0 rgba(47, 51, 56, 0.12);
}

.pd-tape--short {
  width: min(120px, 40%);
  height: 9px;
}

/* Hero */
.pd-page .pd-hero {
  display: grid;
  gap: 28px;
  margin: 18px 0 8px;
  align-items: start;
}

@media (min-width: 860px) {
  .pd-page .pd-hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
    gap: 40px;
    margin-top: 28px;
  }
}

.pd-page .pd-eyebrow {
  margin: 0 0 8px;
  color: var(--pd-safety);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pd-page .pd-title {
  margin: 0;
  color: var(--pd-charcoal);
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.pd-page .pd-accent-bar { display: none; }

.pd-page .pd-lead {
  margin: 14px 0 0;
  max-width: 38rem;
  color: var(--pd-muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.pd-pun--aside { margin: 0; }
.pd-pun {
  margin: 10px 0 0;
  color: var(--pd-safety);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
}

.pd-page .pd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.pd-page .pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  border: 2px solid transparent;
}

.pd-page .pd-btn--primary {
  background: var(--pd-caution);
  color: #2a2622;
  border-color: var(--pd-charcoal);
}
.pd-page .pd-btn--primary:hover,
.pd-page .pd-btn--primary:focus-visible {
  background: var(--pd-yellow-bright);
}

.pd-page .pd-btn--secondary {
  background: transparent;
  color: var(--pd-charcoal);
  border-color: var(--pd-charcoal);
}
.pd-page .pd-btn--secondary:hover,
.pd-page .pd-btn--secondary:focus-visible {
  background: rgba(47, 51, 56, 0.06);
}

.pd-page .pd-btn:focus-visible {
  outline: 3px solid var(--pd-safety);
  outline-offset: 3px;
}

.pd-page .pd-license-line {
  margin-top: 16px;
  color: var(--pd-faint);
  font-size: 0.86rem;
}

.pd-page .pd-hero-aside {
  display: grid;
  gap: 18px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.pd-page .pd-aside-block {
  padding: 0 0 0 14px;
  border: none;
  border-left: 4px solid var(--pd-caution);
  border-radius: 0;
  background: transparent;
}

.pd-page .pd-aside-label {
  margin: 0 0 6px;
  color: var(--pd-charcoal);
  font-family: var(--pd-font-display);
  font-weight: 750;
  font-size: 1rem;
}

.pd-page .pd-aside-block p:last-child {
  margin: 0;
  color: var(--pd-muted);
  line-height: 1.5;
}

/* Day rates — open, not executive card stack */
.pd-day-rates {
  margin: 28px 0 36px;
}

.pd-day-rates__inner {
  padding: 8px 0 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pd-day-rates__inner::before {
  content: "";
  display: block;
  width: min(180px, 50%);
  height: 10px;
  margin-bottom: 18px;
  border-radius: 2px;
  transform: rotate(-2deg);
  background: repeating-linear-gradient(-45deg, #2f3338 0 9px, #e8b02a 9px 18px);
}

.pd-page .pd-section-label {
  margin: 0 0 6px;
  color: var(--pd-safety);
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pd-page .pd-section-title {
  margin: 0;
  color: var(--pd-charcoal);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pd-day-rates__lead,
.pd-page .pd-section-desc {
  margin: 10px 0 0;
  color: var(--pd-muted);
  max-width: 40rem;
  line-height: 1.5;
}

.pd-day-rates__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 36px;
  margin: 22px 0 16px;
  padding: 0;
}

.pd-day-rate {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  position: relative;
}

.pd-day-rate::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 3px;
  background: var(--pd-caution);
  border-radius: 2px;
}

.pd-day-rate > * {
  padding-left: 16px;
}

.pd-day-rate__name {
  margin: 0 0 4px;
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: none;
  color: var(--pd-charcoal);
}

.pd-day-rate__time {
  margin: 0 0 8px;
  color: var(--pd-muted);
}

.pd-day-rate__price {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  font-weight: 800;
  color: var(--pd-safety);
  line-height: 1.15;
}

.pd-day-rate__price span {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pd-muted);
  vertical-align: middle;
}

.pd-day-rates__confirm {
  margin: 0 0 8px;
  color: var(--pd-ink);
  max-width: 44rem;
  line-height: 1.5;
}

.pd-tax-note {
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--pd-outline-strong);
  color: var(--pd-muted);
  font-size: 0.95rem;
  max-width: 44rem;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .pd-day-rates__grid { grid-template-columns: 1fr; }
}

/* Open service list instead of boxed panels */
.pd-page .pd-service-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 18px;
}

.pd-page .pd-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  padding: 18px 0;
  border: none;
  border-top: 1px solid var(--pd-outline);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pd-page .pd-panel:last-child {
  border-bottom: 1px solid var(--pd-outline);
}

.pd-page .pd-panel-num {
  margin: 0;
  color: var(--pd-caution-deep);
  font-family: var(--pd-font-display);
  font-weight: 800;
  font-size: 1.1rem;
}

.pd-page .pd-panel-title {
  margin: 0;
  grid-column: 2;
  color: var(--pd-charcoal);
  font-size: 1.25rem;
  font-weight: 800;
}

.pd-page .pd-panel-desc {
  margin: 0;
  grid-column: 2;
  color: var(--pd-muted);
  line-height: 1.5;
}

/* Service selection chips — light, not dashboard cards */
.pd-page .pd-pricing-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.pd-page .pd-pricing-service {
  padding: 16px 16px 14px;
  border: 1px solid var(--pd-outline);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.7);
  box-shadow: none;
}

.pd-page .pd-pricing-service:hover {
  border-color: var(--pd-caution);
  background: #fffaf2;
}

.pd-page .pd-pricing-service-name {
  margin: 0 0 12px;
  color: var(--pd-charcoal);
  font-family: var(--pd-font-display);
  font-size: 1.1rem;
  font-weight: 750;
}

.pd-page .pd-pricing-service-status {
  margin: 0 0 12px;
  color: var(--pd-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.pd-page .pd-service-select {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 2px solid var(--pd-charcoal);
  background: var(--pd-caution);
  color: var(--pd-charcoal);
  font-weight: 750;
  cursor: pointer;
}

.pd-page .pd-service-select:focus-visible {
  outline: 3px solid var(--pd-safety);
  outline-offset: 2px;
}

.pd-page .pd-pricing-note {
  margin-top: 14px;
  color: var(--pd-muted);
}

.pd-page .pd-pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pd-page .pd-pricing-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 2px solid var(--pd-charcoal);
  text-decoration: none;
  color: var(--pd-charcoal);
  background: transparent;
  font-weight: 700;
}

.pd-page .pd-pricing-cta-primary {
  background: var(--pd-charcoal);
  color: #fffaf2;
}

.pd-page .pd-pricing-cta:focus-visible {
  outline: 3px solid var(--pd-safety);
  outline-offset: 2px;
}

/* Sections / scope / process soften */
.pd-page .pd-section {
  margin: 36px 0;
}

.pd-page .pd-scope-band,
.pd-page .pd-scope-inner,
.pd-page .pd-statement-inner,
.pd-page .pd-cta,
.pd-page .pd-estimate-guide,
.pd-page .pd-legal-notice {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.pd-page .pd-scope-list,
.pd-page .pd-estimate-list,
.pd-page .pd-statement-points,
.pd-page .pd-guide-list {
  color: var(--pd-muted);
}

.pd-page .pd-process-step {
  border-color: var(--pd-outline) !important;
  background: transparent !important;
}

.pd-page .pd-process-num {
  color: var(--pd-caution-deep) !important;
}

/* Footer */
.pd-site-footer {
  margin-top: 48px;
  border-top: none;
  background: var(--pd-charcoal);
  color: rgba(255, 250, 242, 0.72);
}

.pd-site-footer__inner {
  max-width: var(--maxw, 1080px);
  margin: 0 auto;
  padding: 32px var(--padx, 28px) 40px;
  display: grid;
  gap: 16px;
}

.pd-site-footer__inner::before {
  content: "";
  display: block;
  width: min(160px, 45%);
  height: 9px;
  border-radius: 2px;
  transform: rotate(-2deg);
  background: repeating-linear-gradient(-45deg, #2f3338 0 8px, #e8b02a 8px 16px);
}

.pd-site-footer__name {
  margin: 0 0 6px;
  font-family: var(--pd-font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fffaf2;
  letter-spacing: -0.02em;
  text-transform: none;
}

.pd-site-footer__meta,
.pd-site-footer__copy {
  margin: 0;
  color: rgba(255, 250, 242, 0.62);
  font-size: 0.9rem;
}

.pd-site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.pd-site-footer__links a {
  color: rgba(255, 250, 242, 0.82);
  text-decoration: none;
  font-size: 0.92rem;
}

.pd-site-footer__links a:hover,
.pd-site-footer__links a:focus-visible {
  color: var(--pd-caution);
}

.pd-site-footer__links a:focus-visible {
  outline: 2px solid var(--pd-caution);
  outline-offset: 3px;
}

/* Guide / print — light ink */
.pd-page.pd-guide-page .pd-guide-header,
.pd-page .pd-guide-section {
  color: var(--pd-ink);
}

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

.pd-page .pd-guide-kicker {
  color: var(--pd-safety);
}

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

@media print {
  .pd-site-header,
  .pd-site-nav-toggle,
  .pd-guide-actions,
  .pd-page::before {
    display: none !important;
  }
  .pd-page {
    background: #fff !important;
    color: #111 !important;
  }
  .pd-page .pd-day-rate__price,
  .pd-page .pd-section-title,
  .pd-page .pd-guide-title {
    color: #111 !important;
  }
  .pd-tape,
  .pd-day-rates__inner::before,
  .pd-site-footer__inner::before {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .pd-site-footer {
    background: #fff !important;
    color: #333 !important;
    border-top: 1px solid #ccc;
  }
  .pd-site-footer__name,
  .pd-site-footer__links a {
    color: #111 !important;
  }
}

/* Forms on warm ground */
.pd-page .division-form__label,
.pd-page .division-form__input,
.pd-page .division-form__select,
.pd-page .division-form__textarea {
  color: var(--pd-ink);
}

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


/* ---------- Printable guide: white + dark text (economical ink) ---------- */
body.pd-page.pd-guide-page {
  background: #ffffff !important;
  background-image: none !important;
  color: #2a2622 !important;
}
.pd-guide-page .pd-site-header {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(42, 38, 34, 0.14) !important;
}
.pd-guide-page .pd-site-brand__name,
.pd-guide-page .pd-guide-title,
.pd-guide-page .pd-guide-section-title,
.pd-guide-page .pd-day-rate__name {
  color: #2a2622 !important;
}
.pd-guide-page .pd-site-brand__tag,
.pd-guide-page .pd-guide-lead,
.pd-guide-page .pd-guide-text,
.pd-guide-page .pd-guide-list,
.pd-guide-page .pd-day-rate__time,
.pd-guide-page .pd-tax-note,
.pd-guide-page .pd-license-line {
  color: #5c564e !important;
}
.pd-guide-page .pd-pun,
.pd-guide-page .pd-guide-kicker,
.pd-guide-page .pd-day-rate__price,
.pd-guide-page .pd-section-label {
  color: #c45a1a !important;
}
.pd-guide-page .pd-day-rate__price span {
  color: #5c564e !important;
}
.pd-guide-page .pd-site-nav a {
  color: #5c564e !important;
}
.pd-guide-page .pd-site-nav a[aria-current="page"],
.pd-guide-page .pd-site-nav a:hover,
.pd-guide-page .pd-site-nav a:focus-visible {
  color: #2a2622 !important;
  background: #f0c23a !important;
}
.pd-guide-page .pd-site-footer {
  background: #ffffff !important;
  color: #5c564e !important;
  border-top: 1px solid rgba(42, 38, 34, 0.14);
}
.pd-guide-page .pd-site-footer__name,
.pd-guide-page .pd-site-footer__links a {
  color: #2a2622 !important;
}
.pd-guide-page .pd-guide-list {
  padding: 0 0 0 1.15rem;
  border: none !important;
  background: transparent !important;
}
.pd-guide-page .pd-day-rates__grid--guide {
  background: none;
  padding-top: 0;
}

@media print {
  body.pd-page.pd-guide-page,
  body.pd-page.pd-guide-page .pd-site-footer {
    background: #fff !important;
    color: #111 !important;
  }
  .pd-guide-page .pd-site-header,
  .pd-guide-page .pd-guide-actions,
  .pd-guide-page .pd-site-nav-toggle {
    display: none !important;
  }
}

/* ---------- Precision legal pages (light palette) ---------- */
.pd-legal-main {
  max-width: var(--maxw, 1080px);
  margin: 0 auto;
  padding: 18px var(--padx, 28px) 40px;
}
.pd-legal-hero {
  margin: 12px 0 28px;
}
.pd-legal-kicker {
  margin: 0 0 8px;
  color: var(--pd-safety);
  font-family: var(--pd-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pd-legal-title {
  margin: 0;
  color: var(--pd-charcoal);
  font-family: var(--pd-font-display);
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.pd-legal-lead {
  margin: 12px 0 0;
  max-width: 42rem;
  color: var(--pd-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}
.pd-legal-updated {
  margin: 10px 0 0;
  color: var(--pd-faint);
  font-size: 0.9rem;
}
.pd-legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.pd-legal-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--pd-outline-strong);
  color: var(--pd-charcoal);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 650;
  background: var(--pd-surface);
}
.pd-legal-toc a:hover,
.pd-legal-toc a:focus-visible {
  border-color: var(--pd-caution);
  background: var(--pd-caution);
  color: var(--pd-on-light);
  outline: none;
}
.pd-legal-section {
  margin: 0 0 28px;
}
.pd-legal-section-title {
  margin: 0 0 10px;
  color: var(--pd-charcoal);
  font-family: var(--pd-font-display);
  font-size: 1.35rem;
  font-weight: 800;
}
.pd-legal-section-desc {
  margin: -4px 0 10px;
  color: var(--pd-faint);
  font-size: 0.92rem;
}
.pd-legal-panel {
  margin: 0 0 12px;
  padding: 16px 18px;
  border-left: 4px solid var(--pd-caution);
  background: rgba(255, 250, 242, 0.72);
  color: var(--pd-muted);
  line-height: 1.55;
}
.pd-legal-panel--warn {
  border-left-color: var(--pd-safety);
  background: rgba(232, 120, 58, 0.08);
}
.pd-legal-panel p { margin: 0 0 10px; }
.pd-legal-panel p:last-child { margin-bottom: 0; }
.pd-legal-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--pd-muted);
  line-height: 1.55;
}
.pd-legal-list li + li { margin-top: 6px; }
.pd-legal-subhead {
  margin: 0 0 8px;
  color: var(--pd-charcoal);
  font-size: 1.05rem;
  font-weight: 750;
}
.pd-legal-cards {
  display: grid;
  gap: 14px;
  margin: 8px 0 28px;
}
@media (min-width: 720px) {
  .pd-legal-cards { grid-template-columns: 1fr 1fr; }
}
.pd-legal-card {
  display: block;
  padding: 18px 18px 16px;
  border: 1px solid var(--pd-outline-strong);
  border-radius: 16px;
  background: var(--pd-surface);
  text-decoration: none;
  color: inherit;
}
.pd-legal-card:hover,
.pd-legal-card:focus-visible {
  border-color: var(--pd-caution);
  outline: 3px solid var(--pd-safety);
  outline-offset: 2px;
}
.pd-legal-card h2 {
  margin: 0 0 6px;
  color: var(--pd-charcoal);
  font-family: var(--pd-font-display);
  font-size: 1.2rem;
  font-weight: 800;
}
.pd-legal-card p {
  margin: 0;
  color: var(--pd-muted);
  line-height: 1.45;
  font-size: 0.95rem;
}
.pd-legal-contact {
  margin: 24px 0 0;
  color: var(--pd-muted);
  line-height: 1.5;
}
.pd-legal-contact a {
  color: var(--pd-charcoal);
  font-weight: 700;
}
.pd-legal-contact a:hover,
.pd-legal-contact a:focus-visible {
  color: var(--pd-safety);
}
.pd-legal-accordion {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
}
.pd-legal-accordion details {
  border: 1px solid var(--pd-outline-strong);
  border-radius: 14px;
  background: var(--pd-surface);
  padding: 4px 14px 10px;
}
.pd-legal-accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 0;
  color: var(--pd-charcoal);
  font-weight: 750;
  font-size: 1.02rem;
}
.pd-legal-accordion summary::-webkit-details-marker { display: none; }
.pd-legal-accordion details[open] summary {
  color: var(--pd-on-light);
}
.pd-legal-accordion details p {
  margin: 0 0 8px;
  color: var(--pd-muted);
  line-height: 1.55;
}
.pd-legal-back {
  margin: 0 0 18px;
}
.pd-legal-back a {
  color: var(--pd-charcoal);
  font-weight: 700;
  text-decoration: none;
}
.pd-legal-back a:hover,
.pd-legal-back a:focus-visible {
  color: var(--pd-safety);
}


/* ---------- Personality text accents (accessible construction palette) ---------- */
.pd-page {
  --pd-deep-orange: #c45a1a;
  --pd-dark-gold: #8a6a10;
}

.pd-mark {
  display: inline;
  padding: 0.05em 0.28em;
  border-radius: 0.25em;
  background: #f0c23a;
  color: #2a2622;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.pd-text-orange {
  color: var(--pd-deep-orange);
}

.pd-text-gold {
  color: var(--pd-dark-gold);
}

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

.pd-page .pd-section-title .pd-text-orange,
.pd-page .pd-section-title .pd-text-gold,
.pd-page .pd-panel-title .pd-text-orange {
  font-weight: inherit;
}

.pd-about-teaser {
  margin: 36px 0 8px;
  padding: 22px 0 8px;
  border-top: 1px dashed var(--pd-outline-strong);
}

.pd-about-teaser__title {
  margin: 0 0 8px;
  font-family: var(--pd-font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--pd-charcoal);
}

.pd-about-teaser__body {
  margin: 0 0 14px;
  max-width: 40rem;
  color: var(--pd-muted);
  line-height: 1.55;
}

.pd-about-teaser__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 750;
  color: var(--pd-charcoal);
  text-decoration: none;
  border-bottom: 3px solid #f0c23a;
}

.pd-about-teaser__link:hover,
.pd-about-teaser__link:focus-visible {
  color: var(--pd-deep-orange);
}

.pd-about-prose {
  max-width: 42rem;
  display: grid;
  gap: 14px;
}

.pd-about-prose p {
  margin: 0;
  color: var(--pd-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.pd-music-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 8px;
  padding: 0 14px;
  border-radius: 999px;
  border: 2px solid var(--pd-charcoal);
  color: var(--pd-charcoal);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  background: transparent;
}

.pd-music-chip:hover,
.pd-music-chip:focus-visible {
  background: #f0c23a;
  outline: 3px solid var(--pd-safety);
  outline-offset: 2px;
}

/* Music page: Precision chrome + archive catalog styles */
.pd-music-page .pd-site-header {
  background: rgba(247, 241, 230, 0.96);
}
.pd-music-shell {
  background: #06080c;
  color: #e8ecf4;
  margin: 0 calc(-1 * var(--padx, 28px));
  padding: 8px var(--padx, 28px) 40px;
  border-radius: 18px 18px 0 0;
}
.pd-music-back {
  margin: 12px 0 18px;
}
.pd-music-back a {
  color: #f0c23a;
  font-weight: 700;
  text-decoration: none;
}
.pd-music-back a:hover,
.pd-music-back a:focus-visible {
  color: #f6d15a;
}
