/* ============================================================
   Pyrex Heat — HVAC Contractor Directory Theme
   Fully isolated CSS. Prefix: ph-
   Design: "Climate Control Authority" — Deep Charcoal + Flame Orange
   Fonts: Barlow (headings) + Source Sans 3 (body)
   ============================================================ */

/* ===== VARIABLES ===== */
:root {
  --ph-charcoal:    #1C1C1E;
  --ph-charcoal-2:  #2C2C2E;
  --ph-charcoal-3:  #3A3A3C;
  --ph-flame:       #FF6B35;
  --ph-flame-dim:   rgba(255,107,53,.10);
  --ph-flame-hover: #E85A28;
  --ph-blue:        #4A90D9;
  --ph-blue-dim:    rgba(74,144,217,.10);
  --ph-green:       #22C55E;
  --ph-green-dim:   rgba(34,197,94,.10);
  --ph-white:       #FFFFFF;
  --ph-gray-50:     #FAFAFA;
  --ph-gray-100:    #F4F4F5;
  --ph-gray-200:    #E4E4E7;
  --ph-gray-300:    #D4D4D8;
  --ph-gray-400:    #A1A1AA;
  --ph-gray-500:    #71717A;
  --ph-gray-600:    #52525B;
  --ph-gray-700:    #3F3F46;
  --ph-gray-800:    #27272A;
  --ph-gray-900:    #18181B;
  --ph-radius-sm:   5px;
  --ph-radius-md:   8px;
  --ph-radius-lg:   14px;
  --ph-radius-xl:   20px;
  --ph-shadow-sm:   0 1px 2px rgba(0,0,0,.06);
  --ph-shadow-md:   0 4px 14px rgba(0,0,0,.10);
  --ph-shadow-lg:   0 10px 36px rgba(0,0,0,.16);
  --ph-shadow-card: 0 1px 4px rgba(0,0,0,.07), 0 4px 12px rgba(0,0,0,.05);
  --ph-font-head:   'Barlow', system-ui, -apple-system, sans-serif;
  --ph-font-body:   'Source Sans 3', system-ui, -apple-system, sans-serif;
  --ph-transition:  200ms ease;
}

/* ===== ANIMATIONS ===== */
@keyframes ph-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .55; transform: scale(.8); }
}
@keyframes ph-fadein {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== BASE RESET ===== */
body {
  font-family: var(--ph-font-body);
  color: var(--ph-gray-800);
  background: var(--ph-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ph-font-head);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ph-gray-900);
  margin: 0 0 16px;
}
p { margin: 0 0 16px; }
a { color: var(--ph-charcoal-2); text-decoration: none; transition: color var(--ph-transition); }
a:hover { color: var(--ph-flame); }
img { max-width: 100%; height: auto; display: block; }
*, *::before, *::after { box-sizing: border-box; }

/* ===== LAYOUT ===== */
.ph-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.ph-wrap--narrow { max-width: 840px; }
.ph-wrap--wide   { max-width: 1380px; }

@media (min-width: 768px) {
  .ph-wrap { padding: 0 32px; }
}

/* ============================================================
   TOPBAR — Climate Alert Banner
   ============================================================ */
.ph-topbar {
  background: var(--ph-charcoal);
  color: var(--ph-flame);
  text-align: center;
  padding: 8px 20px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--ph-font-body);
  letter-spacing: .03em;
  border-bottom: 2px solid var(--ph-flame);
}
.ph-topbar a { color: var(--ph-white); text-decoration: underline; }
.ph-topbar a:hover { color: var(--ph-flame); }

/* ============================================================
   NAV
   ============================================================ */
.ph-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ph-white);
  border-bottom: 1px solid var(--ph-gray-200);
}
.ph-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  height: 58px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .ph-nav__inner { padding: 0 32px; }
}
.ph-nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ph-nav__logo {
  height: 34px;
  width: auto;
}
.ph-nav__links {
  display: none;
  gap: 24px;
  align-items: center;
}
@media (min-width: 900px) {
  .ph-nav__links { display: flex; }
}
.ph-nav__links a {
  color: var(--ph-gray-600);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--ph-font-body);
  text-decoration: none;
  transition: color var(--ph-transition);
  white-space: nowrap;
  position: relative;
}
.ph-nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--ph-flame);
  transform: scaleX(0);
  transition: transform var(--ph-transition);
}
.ph-nav__links a:hover::after,
.ph-nav__links a.is-active::after {
  transform: scaleX(1);
}
.ph-nav__links a:hover,
.ph-nav__links a.is-active {
  color: var(--ph-charcoal);
}
.ph-nav__links a.is-active {
  font-weight: 600;
}
.ph-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.ph-nav__search {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--ph-gray-100);
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-sm);
  padding: 5px 12px;
  position: relative;
}
@media (min-width: 900px) {
  .ph-nav__search { display: flex; }
}
.ph-nav__search-icon {
  width: 14px;
  height: 14px;
  opacity: .4;
  flex-shrink: 0;
}
.ph-nav__search input {
  border: none;
  background: transparent;
  font-size: 13px;
  font-family: var(--ph-font-body);
  color: var(--ph-gray-800);
  outline: none;
  width: 150px;
}
.ph-nav__search input::placeholder { color: var(--ph-gray-400); }
.ph-nav__cta {
  display: none;
  background: var(--ph-flame);
  color: var(--ph-white) !important;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--ph-font-head);
  padding: 7px 16px;
  border-radius: var(--ph-radius-sm);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .03em;
  transition: background var(--ph-transition), transform var(--ph-transition);
  white-space: nowrap;
}
.ph-nav__cta:hover {
  background: var(--ph-flame-hover);
  color: var(--ph-white) !important;
  transform: translateY(-1px);
}
@media (min-width: 640px) {
  .ph-nav__cta { display: inline-flex; align-items: center; }
}
.ph-nav__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-sm);
  padding: 6px 10px;
  cursor: pointer;
  font-size: 13px;
  font-family: var(--ph-font-body);
  color: var(--ph-gray-600);
}
@media (min-width: 900px) {
  .ph-nav__toggle { display: none; }
}
.ph-nav__toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ph-nav__toggle-bars span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ph-gray-600);
  border-radius: 2px;
  transition: background var(--ph-transition);
}

/* ===== MOBILE NAV ===== */
.ph-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
}
.ph-mobile-nav[data-open] { display: block; }
.ph-mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28,28,30,.6);
  backdrop-filter: blur(4px);
}
.ph-mobile-nav__panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(300px, 88vw);
  background: var(--ph-white);
  box-shadow: var(--ph-shadow-lg);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  animation: ph-fadein .2s ease;
}
.ph-mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ph-gray-100);
}
.ph-mobile-nav__head p {
  font-family: var(--ph-font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--ph-charcoal);
  margin: 0;
}
.ph-mobile-nav__close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--ph-gray-400);
  line-height: 1;
  padding: 2px 6px;
}
.ph-mobile-nav__links {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}
.ph-mobile-nav__links a {
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ph-gray-700);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all var(--ph-transition);
}
.ph-mobile-nav__links a:hover,
.ph-mobile-nav__links a.is-active {
  color: var(--ph-charcoal);
  background: var(--ph-flame-dim);
  border-left-color: var(--ph-flame);
}
.ph-mobile-nav__search {
  margin: 10px 20px;
  position: relative;
}
.ph-mobile-nav__search input {
  width: 100%;
  padding: 9px 14px 9px 34px;
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-sm);
  font-size: 14px;
  font-family: var(--ph-font-body);
  outline: none;
  color: var(--ph-gray-800);
}
.ph-mobile-nav__search input:focus { border-color: var(--ph-flame); }

/* ============================================================
   BUTTONS
   ============================================================ */
.ph-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ph-font-head);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--ph-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--ph-transition);
  line-height: 1.3;
  white-space: nowrap;
}
.ph-btn--primary {
  background: var(--ph-flame);
  color: var(--ph-white);
  border-color: var(--ph-flame);
}
.ph-btn--primary:hover {
  background: var(--ph-flame-hover);
  border-color: var(--ph-flame-hover);
  color: var(--ph-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255,107,53,.35);
}
.ph-btn--emergency {
  background: var(--ph-green);
  color: var(--ph-white);
  border-color: var(--ph-green);
}
.ph-btn--emergency:hover {
  background: #1aab50;
  border-color: #1aab50;
  color: var(--ph-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(34,197,94,.3);
}
.ph-btn--flame {
  background: linear-gradient(135deg, var(--ph-flame), #FF8F5E);
  color: var(--ph-white);
  border-color: transparent;
  font-weight: 700;
}
.ph-btn--flame:hover {
  background: linear-gradient(135deg, var(--ph-flame-hover), var(--ph-flame));
  color: var(--ph-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,107,53,.4);
}
.ph-btn--outline {
  background: transparent;
  color: var(--ph-charcoal);
  border-color: var(--ph-gray-300);
}
.ph-btn--outline:hover {
  border-color: var(--ph-charcoal);
  color: var(--ph-charcoal);
  background: var(--ph-gray-50);
}
.ph-btn--outline-light {
  background: rgba(255,255,255,.08);
  color: var(--ph-white);
  border-color: rgba(255,255,255,.25);
}
.ph-btn--outline-light:hover {
  background: rgba(255,255,255,.15);
  color: var(--ph-white);
  border-color: rgba(255,255,255,.5);
}
.ph-btn--lg {
  font-size: 15px;
  padding: 12px 26px;
}
.ph-btn--sm {
  font-size: 13px;
  padding: 7px 14px;
}
.ph-btn--block {
  width: 100%;
  justify-content: center;
}

/* ===== TAGS ===== */
.ph-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--ph-font-head);
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.ph-tag--flame {
  background: var(--ph-flame-dim);
  color: #c04a1a;
  border: 1px solid rgba(255,107,53,.25);
}
.ph-tag--green {
  background: var(--ph-green-dim);
  color: #15803d;
  border: 1px solid rgba(34,197,94,.2);
}
.ph-tag--blue {
  background: var(--ph-blue-dim);
  color: #2563eb;
  border: 1px solid rgba(74,144,217,.2);
}
.ph-tag--pulse {
  background: var(--ph-green-dim);
  color: #15803d;
  border: 1px solid rgba(34,197,94,.2);
  gap: 6px;
}
.ph-tag--pulse::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--ph-green);
  border-radius: 50%;
  animation: ph-pulse 1.6s ease-in-out infinite;
}
.ph-tag--orange {
  background: rgba(234,88,12,.1);
  color: #c2410c;
  border: 1px solid rgba(234,88,12,.2);
}

/* ===== ARTICLE TAGS ===== */
.ph-article-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--ph-font-head);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 3px;
  background: var(--ph-flame-dim);
  color: var(--ph-flame);
}
.ph-article__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--ph-font-head);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--ph-gray-100);
  color: var(--ph-gray-600);
}

/* ============================================================
   SECTIONS — Shared section patterns
   ============================================================ */
.ph-section {
  padding: 60px 0;
}
.ph-section--alt {
  background: var(--ph-gray-50);
}
.ph-section--dark {
  background: var(--ph-charcoal);
  color: var(--ph-white);
}
.ph-section--dark h2,
.ph-section--dark h3 {
  color: var(--ph-white);
}
.ph-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.ph-section__eyebrow {
  font-size: 11px;
  font-weight: 700;
  font-family: var(--ph-font-head);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ph-flame);
  margin: 0 0 6px;
}
.ph-section__eyebrow--light {
  color: var(--ph-flame);
}
.ph-section__desc {
  color: var(--ph-gray-500);
  font-size: 15px;
  margin: 4px 0 0;
  max-width: 520px;
}
.ph-section--dark .ph-section__desc { color: rgba(255,255,255,.6); }
.ph-section__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ph-flame);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 6px;
  transition: color var(--ph-transition);
}
.ph-section__link:hover { color: var(--ph-flame-hover); }
.ph-section h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
}

/* ============================================================
   DISPATCH / HOMEPAGE HERO
   ============================================================ */
.ph-dispatch {
  background: var(--ph-charcoal);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.ph-dispatch::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,107,53,.08) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(74,144,217,.06) 0%, transparent 50%);
  pointer-events: none;
}
.ph-dispatch::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ph-flame), var(--ph-blue), var(--ph-flame));
}
.ph-dispatch .ph-wrap {
  display: grid;
  gap: 40px;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .ph-dispatch .ph-wrap {
    grid-template-columns: 1fr 380px;
    align-items: start;
  }
}
.ph-dispatch__left { }
.ph-dispatch__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--ph-font-head);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ph-flame);
  margin-bottom: 18px;
}
.ph-dispatch__live-dot {
  width: 7px;
  height: 7px;
  background: var(--ph-green);
  border-radius: 50%;
  animation: ph-pulse 1.8s ease-in-out infinite;
}
.ph-dispatch__title {
  font-size: 46px;
  font-weight: 800;
  color: var(--ph-white);
  line-height: 1.1;
  margin: 0 0 14px;
  font-family: var(--ph-font-head);
  letter-spacing: -.01em;
}
.ph-dispatch__em {
  color: var(--ph-flame);
  font-style: normal;
}
.ph-dispatch__desc {
  font-size: 16px;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 480px;
}
.ph-dispatch__form {
  margin-bottom: 20px;
}
.ph-dispatch__inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ph-dispatch__input {
  flex: 1 1 200px;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--ph-radius-sm);
  background: rgba(255,255,255,.07);
  color: var(--ph-white);
  font-size: 14px;
  font-family: var(--ph-font-body);
  outline: none;
  transition: border-color var(--ph-transition);
}
.ph-dispatch__input:focus { border-color: var(--ph-flame); }
.ph-dispatch__input::placeholder { color: rgba(255,255,255,.4); }
.ph-dispatch__select {
  flex: 0 1 170px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--ph-radius-sm);
  background: rgba(255,255,255,.07);
  color: var(--ph-white);
  font-size: 14px;
  font-family: var(--ph-font-body);
  outline: none;
  appearance: none;
  cursor: pointer;
}
.ph-dispatch__select option { color: var(--ph-gray-900); background: var(--ph-white); }
.ph-dispatch__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}
.ph-dispatch__right {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--ph-radius-lg);
  overflow: hidden;
}
.ph-dispatch__feed-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: var(--ph-font-head);
}
.ph-dispatch__feed-dot {
  width: 6px;
  height: 6px;
  background: var(--ph-blue);
  border-radius: 50%;
  animation: ph-pulse 2s ease-in-out infinite;
}
.ph-dispatch__feed {
  display: flex;
  flex-direction: column;
}
.ph-feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background var(--ph-transition);
}
.ph-feed-item:hover {
  background: rgba(255,107,53,.06);
}
.ph-feed-item__img {
  width: 42px;
  height: 42px;
  border-radius: var(--ph-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.ph-feed-item__info {
  flex: 1;
  min-width: 0;
}
.ph-feed-item__loc {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
}
.ph-feed-item__name {
  display: block;
  font-size: 13.5px;
  color: var(--ph-white);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ph-feed-item__rating {
  font-size: 12px;
  color: var(--ph-flame);
  font-weight: 600;
}
.ph-feed-item__rating small {
  color: rgba(255,255,255,.35);
  font-weight: 400;
}
.ph-feed-item__phone {
  font-size: 11px;
  color: var(--ph-blue);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.ph-dispatch__feed-more {
  display: block;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ph-flame);
  text-decoration: none;
  text-align: center;
  transition: background var(--ph-transition);
}
.ph-dispatch__feed-more:hover {
  background: rgba(255,107,53,.08);
  color: var(--ph-flame);
}

/* ===== STATS BAR ===== */
.ph-stats-bar {
  background: var(--ph-white);
  border-bottom: 1px solid var(--ph-gray-200);
  padding: 0;
}
.ph-stats-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.ph-stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 32px;
  flex: 1;
  min-width: 130px;
}
.ph-stats-bar__item strong {
  font-family: var(--ph-font-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--ph-charcoal);
}
.ph-stats-bar__item span {
  font-size: 12px;
  color: var(--ph-gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 2px;
}
.ph-stats-bar__divider {
  width: 1px;
  height: 36px;
  background: var(--ph-gray-200);
}
@media (max-width: 767px) {
  .ph-stats-bar__inner { gap: 0; }
  .ph-stats-bar__item { padding: 14px 16px; min-width: 0; flex: 1 1 50%; }
  .ph-stats-bar__divider { display: none; }
}

/* ===== SERVICE GRID ===== */
.ph-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}
.ph-service-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 16px;
  background: var(--ph-white);
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-md);
  text-decoration: none;
  transition: all var(--ph-transition);
  text-align: center;
}
.ph-service-tile:hover {
  border-color: var(--ph-flame);
  box-shadow: 0 4px 16px rgba(255,107,53,.12);
  transform: translateY(-2px);
}
.ph-service-tile__icon {
  font-size: 28px;
  line-height: 1;
}
.ph-service-tile__label {
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--ph-font-head);
  color: var(--ph-gray-800);
}
.ph-service-tile--all {
  background: var(--ph-charcoal);
  border-color: var(--ph-charcoal);
}
.ph-service-tile--all .ph-service-tile__label {
  color: var(--ph-white);
}
.ph-service-tile--all:hover {
  background: var(--ph-charcoal-2);
  border-color: var(--ph-flame);
}

/* ===== STATE TILES ===== */
.ph-state-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 8px;
}
.ph-state-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--ph-radius-sm);
  text-decoration: none;
  transition: all var(--ph-transition);
}
.ph-state-tile:hover {
  background: rgba(255,107,53,.1);
  border-color: rgba(255,107,53,.3);
}
.ph-state-tile__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ph-white);
}
.ph-state-tile__count {
  font-size: 12px;
  font-weight: 700;
  color: var(--ph-flame);
  background: rgba(255,107,53,.12);
  padding: 2px 8px;
  border-radius: 3px;
  font-family: var(--ph-font-head);
}
.ph-coverage-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.ph-coverage-sub {
  color: rgba(255,255,255,.5);
  font-size: 15px;
  margin: 4px 0 0;
}

/* ===== RANKED LIST ===== */
.ph-ranked-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ph-ranked-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--ph-white);
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-md);
  text-decoration: none;
  transition: all var(--ph-transition);
  position: relative;
}
.ph-ranked-card:hover {
  border-color: var(--ph-flame);
  box-shadow: var(--ph-shadow-md);
}
.ph-ranked-card__rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ph-charcoal);
  color: var(--ph-flame);
  font-size: 12px;
  font-weight: 800;
  font-family: var(--ph-font-head);
  flex-shrink: 0;
}
.ph-ranked-card__img {
  width: 72px;
  height: 72px;
  border-radius: var(--ph-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.ph-ranked-card__body {
  flex: 1;
  min-width: 0;
}
.ph-ranked-card__loc {
  display: block;
  font-size: 11px;
  color: var(--ph-gray-500);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
  margin-bottom: 2px;
}
.ph-ranked-card__name {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--ph-font-head);
  color: var(--ph-gray-900);
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ph-ranked-card__summary {
  font-size: 13.5px;
  color: var(--ph-gray-500);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ph-ranked-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.ph-ranked-card__tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  background: var(--ph-gray-100);
  color: var(--ph-gray-600);
  border-radius: 3px;
}
.ph-ranked-card__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.ph-ranked-card__score-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.ph-ranked-card__score {
  font-size: 22px;
  font-weight: 800;
  font-family: var(--ph-font-head);
  color: var(--ph-charcoal);
}
.ph-ranked-card__stars {
  display: flex;
  gap: 1px;
  font-size: 12px;
}
.ph-star--on { color: var(--ph-flame); }
.ph-star--off { color: var(--ph-gray-300); }
.ph-ranked-card__reviews {
  font-size: 11px;
  color: var(--ph-gray-400);
}
.ph-ranked-card__call {
  font-size: 12px;
  font-weight: 600;
  color: var(--ph-blue);
}
.ph-ranked-card__call--view {
  color: var(--ph-flame);
}
@media (max-width: 767px) {
  .ph-ranked-card { flex-wrap: wrap; }
  .ph-ranked-card__img { width: 56px; height: 56px; }
  .ph-ranked-card__aside { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--ph-gray-100); margin-top: 4px; }
}

/* ===== ARTICLE LIST (homepage blog section) ===== */
.ph-article-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ph-article-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: var(--ph-white);
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-md);
  text-decoration: none;
  transition: all var(--ph-transition);
}
.ph-article-item:hover {
  border-color: var(--ph-flame);
  box-shadow: var(--ph-shadow-sm);
}
.ph-article-item__img {
  width: 80px;
  height: 60px;
  border-radius: var(--ph-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.ph-article-item__body { flex: 1; min-width: 0; }
.ph-article-item__cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ph-flame);
  margin-bottom: 2px;
}
.ph-article-item__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ph-gray-900);
  margin: 0 0 2px;
  font-family: var(--ph-font-head);
}
.ph-article-item__excerpt {
  font-size: 13px;
  color: var(--ph-gray-500);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ph-article-item__arrow {
  font-size: 18px;
  color: var(--ph-gray-400);
  flex-shrink: 0;
}

/* ============================================================
   LISTING PAGE
   ============================================================ */
.ph-listing-hero {
  background: var(--ph-charcoal);
  padding: 48px 0 40px;
  position: relative;
}
.ph-listing-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ph-flame), var(--ph-blue));
}
.ph-listing-hero .ph-section__eyebrow { margin-bottom: 8px; }
.ph-listing-hero h1 {
  color: var(--ph-white);
  font-size: 30px;
  margin: 0 0 8px;
}
.ph-listing-hero p {
  color: rgba(255,255,255,.6);
  font-size: 15px;
  margin: 0;
  max-width: 580px;
}
.ph-listing-hero__stats {
  display: flex;
  gap: 28px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.ph-listing-hero__stat {
  display: flex;
  flex-direction: column;
}
.ph-listing-hero__stat span {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}
.ph-listing-hero__stat strong {
  font-family: var(--ph-font-head);
  font-size: 20px;
  color: var(--ph-white);
  font-weight: 700;
}

/* ===== TOOLBAR ===== */
.ph-toolbar {
  background: var(--ph-gray-50);
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-md);
  padding: 20px;
  margin: 28px 0;
}
.ph-toolbar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  align-items: end;
}
.ph-toolbar__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ph-toolbar__field label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ph-gray-500);
  font-family: var(--ph-font-head);
}
.ph-toolbar__field input,
.ph-toolbar__field select {
  padding: 9px 12px;
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-sm);
  font-size: 14px;
  font-family: var(--ph-font-body);
  color: var(--ph-gray-800);
  background: var(--ph-white);
  outline: none;
  width: 100%;
}
.ph-toolbar__field input:focus,
.ph-toolbar__field select:focus {
  border-color: var(--ph-flame);
}
.ph-toolbar__actions {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

/* ===== RESULTS ===== */
.ph-results {
  margin-bottom: 60px;
}
.ph-results__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.ph-results__head h2 {
  font-size: 20px;
  margin: 0;
}
.ph-results__count {
  font-size: 13px;
  color: var(--ph-gray-500);
  font-weight: 500;
}

/* ===== CHIPS ===== */
.ph-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.ph-chip {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--ph-white);
  background: var(--ph-charcoal);
  transition: background var(--ph-transition);
}
.ph-chip:hover {
  background: var(--ph-charcoal-2);
  color: var(--ph-white);
}

/* ===== CARD GRID ===== */
.ph-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.ph-card {
  display: flex;
  flex-direction: column;
  background: var(--ph-white);
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: all var(--ph-transition);
}
.ph-card:hover {
  border-color: var(--ph-flame);
  box-shadow: var(--ph-shadow-md);
  transform: translateY(-2px);
}
.ph-card__img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--ph-gray-100);
}
.ph-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph-card__tag {
  position: absolute;
  top: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  font-family: var(--ph-font-head);
}
.ph-card__tag--24h {
  left: 10px;
  background: var(--ph-green);
  color: var(--ph-white);
}
.ph-card__tag--rating {
  right: 10px;
  background: var(--ph-charcoal);
  color: var(--ph-flame);
}
.ph-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ph-card__location {
  font-size: 11px;
  color: var(--ph-gray-500);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
  margin: 0 0 4px;
}
.ph-card__name {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--ph-font-head);
  color: var(--ph-gray-900);
  margin: 0 0 8px;
  line-height: 1.25;
}
.ph-card__chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.ph-card__chips span {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 7px;
  background: var(--ph-gray-100);
  color: var(--ph-gray-600);
  border-radius: 3px;
}
.ph-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--ph-gray-100);
}
.ph-card__phone {
  font-size: 13px;
  font-weight: 600;
  color: var(--ph-blue);
}
.ph-card__reviews {
  font-size: 13px;
  color: var(--ph-gray-500);
}
.ph-card__arrow {
  font-size: 16px;
  color: var(--ph-flame);
  font-weight: 700;
}

/* ===== PAGINATION ===== */
.ph-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.ph-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--ph-gray-700);
  text-decoration: none;
  transition: all var(--ph-transition);
}
.ph-pagination a:hover {
  border-color: var(--ph-flame);
  color: var(--ph-flame);
}
.ph-pagination a.is-active {
  background: var(--ph-flame);
  border-color: var(--ph-flame);
  color: var(--ph-white);
}
.ph-pagination a.is-disabled {
  opacity: .35;
  pointer-events: none;
}

/* ============================================================
   DETAIL PAGE
   ============================================================ */
.ph-detail-hero {
  background: var(--ph-charcoal);
  padding: 40px 0 36px;
  position: relative;
}
.ph-detail-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ph-flame), var(--ph-blue));
}
.ph-detail-hero__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.ph-detail-hero__text { flex: 1; min-width: 280px; }
.ph-detail-hero__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.ph-detail-hero__title {
  font-size: 34px;
  font-weight: 800;
  color: var(--ph-white);
  margin: 0 0 8px;
  font-family: var(--ph-font-head);
}
.ph-detail-hero__location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255,255,255,.6);
  margin: 0 0 10px;
}
.ph-detail-hero__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ph-white);
}
.ph-detail-hero__rating strong {
  font-size: 18px;
  font-weight: 800;
  font-family: var(--ph-font-head);
  color: var(--ph-white);
}
.ph-detail-hero__rating span { color: rgba(255,255,255,.6); }
.ph-detail-hero__stars {
  display: flex;
  gap: 2px;
}
.ph-detail-hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-start;
  flex-shrink: 0;
}

/* Detail gallery reuses global detail-gallery CSS */
.ph-detail-gallery { margin: 24px 0 0; }

/* Detail layout */
.ph-detail__layout {
  display: grid;
  gap: 32px;
  margin-top: 32px;
  margin-bottom: 60px;
}
@media (min-width: 1024px) {
  .ph-detail__layout {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
}
.ph-detail__main { min-width: 0; }
.ph-detail__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 1024px) {
  .ph-detail__aside { position: sticky; top: 80px; }
}

/* Detail sections */
.ph-detail__section {
  padding: 28px 0;
  border-bottom: 1px solid var(--ph-gray-100);
}
.ph-detail__section--first { padding-top: 0; }
.ph-detail__section:last-child { border-bottom: none; }

.ph-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.ph-section-head__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--ph-radius-sm);
  background: var(--ph-flame-dim);
  flex-shrink: 0;
}
.ph-section-head h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  flex: 1;
}
.ph-section-head__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ph-flame);
  text-decoration: none;
  margin-left: auto;
}
.ph-section-head__link:hover { color: var(--ph-flame-hover); }

/* Quick facts */
.ph-quick-facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  padding: 16px;
  background: var(--ph-gray-50);
  border-radius: var(--ph-radius-md);
  border: 1px solid var(--ph-gray-100);
  margin-bottom: 24px;
}
.ph-quick-fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ph-quick-fact__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ph-gray-500);
  font-family: var(--ph-font-head);
}
.ph-quick-fact__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ph-gray-900);
}

/* Detail lead text */
.ph-detail__lead {
  font-size: 16px;
  color: var(--ph-gray-800);
  line-height: 1.7;
  margin: 0 0 12px;
}
.ph-detail__subtext {
  font-size: 14px;
  color: var(--ph-gray-500);
  line-height: 1.65;
  margin: 0 0 16px;
}

/* Amenity chips */
.ph-amenity-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.ph-amenity-chip {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  background: var(--ph-gray-100);
  color: var(--ph-gray-700);
  border-radius: var(--ph-radius-sm);
  border: 1px solid var(--ph-gray-200);
}

/* Testimonial / Description */
.ph-testimonial {
  background: var(--ph-gray-50);
  border-left: 3px solid var(--ph-flame);
  border-radius: 0 var(--ph-radius-md) var(--ph-radius-md) 0;
  padding: 20px 24px;
  margin: 0 0 4px;
}
.ph-testimonial__icon { display: block; margin-bottom: 10px; }
.ph-testimonial__text {
  font-size: 15px;
  font-style: italic;
  color: var(--ph-gray-700);
  line-height: 1.75;
  margin: 0;
  quotes: none;
}
.ph-testimonial__source {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--ph-gray-500);
}
.ph-testimonial__stars { display: flex; gap: 2px; }

/* Highlights */
.ph-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.ph-highlight {
  padding: 18px;
  background: var(--ph-white);
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-md);
  border-top: 3px solid var(--ph-flame);
}
.ph-highlight__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ph-flame);
  margin: 0 0 4px;
  font-family: var(--ph-font-head);
}
.ph-highlight__value {
  font-size: 15px;
  font-weight: 600;
  color: var(--ph-gray-900);
  margin: 0 0 4px;
}
.ph-highlight__meta {
  font-size: 12px;
  color: var(--ph-gray-500);
  margin: 0;
}

/* Amenity groups */
.ph-amenity-groups {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ph-amenity-group h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  font-family: var(--ph-font-head);
}
.ph-amenity-group p {
  font-size: 13px;
  color: var(--ph-gray-500);
  margin: 0 0 8px;
}

/* Map */
.ph-map {
  border-radius: var(--ph-radius-md);
  overflow: hidden;
  border: 1px solid var(--ph-gray-200);
}
.ph-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: none;
}

/* Snapshot */
.ph-snapshot {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-md);
  overflow: hidden;
}
.ph-snapshot__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ph-gray-100);
}
.ph-snapshot__row:last-child { border-bottom: none; }
.ph-snapshot__row:nth-child(even) { background: var(--ph-gray-50); }
.ph-snapshot__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ph-gray-600);
  flex-shrink: 0;
}
.ph-snapshot__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ph-gray-900);
  text-align: right;
}
.ph-snapshot__meta {
  font-size: 11px;
  color: var(--ph-gray-400);
}

/* Channels */
.ph-channels {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ph-channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: var(--ph-gray-50);
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-sm);
  text-decoration: none;
  transition: all var(--ph-transition);
}
.ph-channel:hover {
  border-color: var(--ph-flame);
  background: var(--ph-white);
}
.ph-channel__info strong {
  display: block;
  font-size: 14px;
  color: var(--ph-gray-900);
}
.ph-channel__info span {
  display: block;
  font-size: 12px;
  color: var(--ph-gray-500);
}
.ph-channel__cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--ph-flame);
  white-space: nowrap;
}

/* Linked blog post */
.ph-linked-post {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--ph-gray-50);
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-md);
  text-decoration: none;
  transition: all var(--ph-transition);
}
.ph-linked-post:hover {
  border-color: var(--ph-flame);
  box-shadow: var(--ph-shadow-sm);
}
.ph-linked-post__img {
  flex-shrink: 0;
  width: 120px;
}
.ph-linked-post__img img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: var(--ph-radius-sm);
}
.ph-linked-post__body { flex: 1; min-width: 0; }
.ph-linked-post__cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ph-flame);
  margin-bottom: 4px;
}
.ph-linked-post__body h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ph-gray-900);
}
.ph-linked-post__body p {
  font-size: 13px;
  color: var(--ph-gray-500);
  margin: 0 0 6px;
  line-height: 1.5;
}
.ph-linked-post__cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--ph-flame);
}
@media (max-width: 480px) {
  .ph-linked-post { flex-direction: column; }
  .ph-linked-post__img { width: 100%; }
  .ph-linked-post__img img { height: 120px; }
}

/* ===== SIDEBAR CTA ===== */
.ph-sidebar-cta {
  background: var(--ph-charcoal);
  border-radius: var(--ph-radius-lg);
  overflow: hidden;
  color: var(--ph-white);
}
.ph-sidebar-cta__head {
  padding: 20px 20px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ph-sidebar-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ph-green);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}
.ph-sidebar-cta__dot {
  width: 6px;
  height: 6px;
  background: var(--ph-green);
  border-radius: 50%;
  animation: ph-pulse 1.6s ease-in-out infinite;
}
.ph-sidebar-cta__head h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ph-white);
  margin: 0 0 8px;
}
.ph-sidebar-cta__stars {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ph-sidebar-cta__stars span {
  font-size: 12px;
  color: rgba(255,255,255,.5);
}
.ph-sidebar-cta__body {
  padding: 18px 20px 20px;
}
.ph-sidebar-cta__rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.ph-sidebar-cta__row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
}

/* ===== SIDEBAR TIP ===== */
.ph-sidebar-tip {
  padding: 18px;
  background: var(--ph-flame-dim);
  border: 1px solid rgba(255,107,53,.15);
  border-radius: var(--ph-radius-md);
}
.ph-sidebar-tip__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--ph-font-head);
  color: var(--ph-flame);
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ph-sidebar-tip p:last-child {
  font-size: 13px;
  color: var(--ph-gray-700);
  margin: 0;
  line-height: 1.6;
}

/* ===== SIDEBAR CARD (promo) ===== */
.ph-sidebar-card {
  padding: 20px;
  background: var(--ph-charcoal);
  border-radius: var(--ph-radius-md);
  color: var(--ph-white);
}
.ph-sidebar-card h2 {
  color: var(--ph-white);
}
.ph-sidebar-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ============================================================
   BLOG / JOURNAL
   ============================================================ */
.ph-blog-hero {
  background: var(--ph-charcoal);
  padding: 48px 0 40px;
  position: relative;
}
.ph-blog-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ph-flame), var(--ph-blue));
}
.ph-blog-hero h1 {
  color: var(--ph-white);
  font-size: 30px;
  margin: 0 0 8px;
}
.ph-blog-hero p {
  color: rgba(255,255,255,.6);
  font-size: 15px;
  margin: 0;
}

/* Featured first post */
.ph-featured-first {
  margin-bottom: 36px;
}
.ph-featured-first__link {
  display: grid;
  gap: 0;
  background: var(--ph-white);
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: all var(--ph-transition);
}
@media (min-width: 768px) {
  .ph-featured-first__link {
    grid-template-columns: 1fr 1fr;
  }
}
.ph-featured-first__link:hover {
  border-color: var(--ph-flame);
  box-shadow: var(--ph-shadow-md);
}
.ph-featured-first__link img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}
.ph-featured-first__body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Journal grid */
.ph-journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.ph-journal-card {
  background: var(--ph-white);
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: all var(--ph-transition);
}
.ph-journal-card:hover {
  border-color: var(--ph-flame);
  box-shadow: var(--ph-shadow-md);
  transform: translateY(-2px);
}
.ph-journal-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.ph-journal-card__body {
  padding: 16px 18px 18px;
}
.ph-journal-card__cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ph-flame);
  margin: 0 0 4px;
}
.ph-journal-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ph-gray-900);
  margin: 0 0 6px;
  font-family: var(--ph-font-head);
  line-height: 1.3;
}
.ph-journal-card__excerpt {
  font-size: 13px;
  color: var(--ph-gray-500);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.ph-article {
  padding: 32px 0 60px;
}
.ph-article__breadcrumb {
  font-size: 13px;
  color: var(--ph-gray-500);
  margin-bottom: 20px;
}
.ph-article__breadcrumb a {
  color: var(--ph-flame);
  text-decoration: none;
}
.ph-article__breadcrumb a:hover { text-decoration: underline; }
.ph-article__hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--ph-radius-md);
  margin-bottom: 28px;
}
.ph-article__layout {
  display: grid;
  gap: 36px;
}
@media (min-width: 1024px) {
  .ph-article__layout {
    grid-template-columns: 1fr 260px;
    align-items: start;
  }
}
.ph-article__main { min-width: 0; }
.ph-article__sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (min-width: 1024px) {
  .ph-article__sidebar { position: sticky; top: 80px; }
}
.ph-article__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.ph-article__title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--ph-gray-900);
  margin: 0 0 14px;
  font-family: var(--ph-font-head);
}
.ph-article__excerpt {
  font-size: 17px;
  color: var(--ph-gray-600);
  line-height: 1.65;
  margin: 0 0 20px;
}
.ph-article__author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.ph-article__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ph-charcoal);
  color: var(--ph-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--ph-font-head);
  flex-shrink: 0;
  overflow: hidden;
}
.ph-article__author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ph-gray-900);
}
.ph-article__author-role {
  font-size: 12px;
  color: var(--ph-gray-500);
}
.ph-article__body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ph-gray-800);
}
.ph-article__body h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--ph-gray-100);
}
.ph-article__body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 10px;
}
.ph-article__body p {
  margin: 0 0 18px;
}
.ph-article__body ul,
.ph-article__body ol {
  padding-left: 24px;
  margin: 0 0 18px;
}
.ph-article__body li {
  margin-bottom: 8px;
}
.ph-article__body a {
  color: var(--ph-flame);
  text-decoration: underline;
}
.ph-article__body blockquote {
  border-left: 3px solid var(--ph-flame);
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--ph-gray-50);
  border-radius: 0 var(--ph-radius-sm) var(--ph-radius-sm) 0;
  font-style: italic;
  color: var(--ph-gray-700);
}
.ph-article__body img {
  border-radius: var(--ph-radius-md);
  margin: 20px 0;
}
.ph-article__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--ph-gray-200);
}
.ph-article__nav a {
  padding: 16px;
  background: var(--ph-gray-50);
  border-radius: var(--ph-radius-md);
  text-decoration: none;
  transition: all var(--ph-transition);
}
.ph-article__nav a:hover {
  background: var(--ph-gray-100);
}
.ph-article__nav-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ph-flame);
  margin: 0 0 4px;
  font-family: var(--ph-font-head);
}
.ph-article__nav-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ph-gray-900);
  margin: 0;
  line-height: 1.4;
}

/* TOC */
.ph-toc {
  padding: 18px;
  background: var(--ph-gray-50);
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-md);
}
.ph-toc__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ph-gray-500);
  margin: 0 0 10px;
  font-family: var(--ph-font-head);
}
.ph-toc__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ph-toc__nav a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ph-gray-600);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 10px;
  transition: all var(--ph-transition);
}
.ph-toc__nav a:hover {
  color: var(--ph-flame);
  border-left-color: var(--ph-flame);
}
.ph-toc__nav a.level-3 { padding-left: 22px; font-size: 12px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.ph-about {
  padding: 48px 0 64px;
}
.ph-about__layout {
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .ph-about__layout {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }
}
.ph-about__main { min-width: 0; }
.ph-about__lead {
  font-size: 17px;
  color: var(--ph-gray-600);
  line-height: 1.7;
  margin: 0 0 28px;
}
.ph-about__body h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
  font-family: var(--ph-font-head);
}
.ph-about__body p {
  font-size: 15px;
  color: var(--ph-gray-700);
  line-height: 1.75;
}
.ph-about__body ul {
  padding-left: 20px;
  margin: 0 0 16px;
}
.ph-about__body li {
  font-size: 15px;
  color: var(--ph-gray-700);
  line-height: 1.7;
  margin-bottom: 6px;
}
.ph-about__body a {
  color: var(--ph-flame);
  text-decoration: underline;
}
.ph-about__sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 1024px) {
  .ph-about__sidebar { position: sticky; top: 80px; }
}
.ph-about__info-card {
  background: var(--ph-gray-50);
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-md);
  overflow: hidden;
}
.ph-about__info-row {
  padding: 14px 18px;
  border-bottom: 1px solid var(--ph-gray-100);
}
.ph-about__info-row:last-child { border-bottom: none; }
.ph-about__info-row span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ph-gray-500);
  margin-bottom: 2px;
  font-family: var(--ph-font-head);
}
.ph-about__info-row p {
  font-size: 15px;
  font-weight: 600;
  color: var(--ph-gray-900);
  margin: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.ph-contact {
  padding: 48px 0 64px;
}
.ph-contact__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}
.ph-contact__header h1 {
  font-size: 30px;
  margin: 0 0 10px;
}
.ph-contact__header p {
  font-size: 15px;
  color: var(--ph-gray-500);
}
.ph-contact__layout {
  display: grid;
  gap: 32px;
}
@media (min-width: 768px) {
  .ph-contact__layout {
    grid-template-columns: 1fr 1fr;
  }
}
.ph-contact__info h2 {
  font-size: 18px;
  margin: 0 0 16px;
}
.ph-contact__info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.ph-contact__info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ph-contact__info-item span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ph-gray-500);
  font-family: var(--ph-font-head);
}
.ph-contact__info-item a,
.ph-contact__info-item strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ph-gray-900);
}
.ph-contact__info-item a { color: var(--ph-flame); }
.ph-contact__help-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ph-contact__help-card {
  padding: 16px;
  background: var(--ph-gray-50);
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-sm);
}
.ph-contact__help-card strong {
  display: block;
  font-size: 14px;
  color: var(--ph-gray-900);
  margin-bottom: 2px;
}
.ph-contact__help-card span {
  font-size: 13px;
  color: var(--ph-gray-500);
  line-height: 1.5;
}
.ph-contact__form-card {
  padding: 28px;
  background: var(--ph-gray-50);
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-md);
}
.ph-contact__form-card h2 {
  font-size: 20px;
  margin: 0 0 4px;
}
.ph-contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ph-contact__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ph-contact__field--full {
  grid-column: 1 / -1;
}
.ph-contact__field span {
  font-size: 12px;
  font-weight: 700;
  color: var(--ph-gray-600);
  font-family: var(--ph-font-head);
}
.ph-contact__field input,
.ph-contact__field textarea {
  padding: 10px 14px;
  border: 1px solid var(--ph-gray-200);
  border-radius: var(--ph-radius-sm);
  font-size: 14px;
  font-family: var(--ph-font-body);
  color: var(--ph-gray-800);
  outline: none;
  background: var(--ph-white);
}
.ph-contact__field input:focus,
.ph-contact__field textarea:focus {
  border-color: var(--ph-flame);
}
.ph-contact__field textarea {
  min-height: 120px;
  resize: vertical;
}
.ph-contact__field small {
  font-size: 12px;
  color: #dc2626;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.ph-404 {
  padding: 100px 0;
  text-align: center;
}
.ph-404__code {
  font-size: 72px;
  font-weight: 800;
  font-family: var(--ph-font-head);
  color: var(--ph-flame);
  margin: 0 0 8px;
  line-height: 1;
}
.ph-404 h1 {
  font-size: 28px;
  margin: 0 0 12px;
}
.ph-404 p {
  font-size: 15px;
  color: var(--ph-gray-500);
  margin: 0 0 28px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   POLICY PAGE
   ============================================================ */
.ph-policy {
  padding: 48px 0 64px;
}
.ph-policy__layout {
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .ph-policy__layout {
    grid-template-columns: 1fr 260px;
    align-items: start;
  }
}
.ph-policy__main { min-width: 0; }
.ph-policy__lead {
  font-size: 16px;
  color: var(--ph-gray-600);
  line-height: 1.7;
  margin: 0 0 28px;
}
.ph-policy__body h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 10px;
}
.ph-policy__body p {
  font-size: 15px;
  color: var(--ph-gray-700);
  line-height: 1.75;
}
.ph-policy__body ul {
  padding-left: 20px;
  margin: 0 0 16px;
}
.ph-policy__body li {
  font-size: 15px;
  color: var(--ph-gray-700);
  margin-bottom: 6px;
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.ph-footer {
  background: var(--ph-charcoal);
  color: rgba(255,255,255,.6);
  padding: 48px 0 0;
}
.ph-footer__inner {
  display: grid;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 768px) {
  .ph-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}
.ph-footer__brand h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ph-white);
  margin: 0 0 6px;
  font-family: var(--ph-font-head);
}
.ph-footer__brand p {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  margin: 0;
  max-width: 340px;
  line-height: 1.6;
}
.ph-footer__brand a {
  color: var(--ph-flame);
  text-decoration: none;
}
.ph-footer__brand a:hover { text-decoration: underline; }
.ph-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.ph-footer__links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color var(--ph-transition);
}
.ph-footer__links a:hover { color: var(--ph-flame); }
.ph-footer__bottom {
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.3);
}

/* ============================================================
   RELATED SECTION
   ============================================================ */
.ph-related {
  padding: 48px 0 56px;
  background: var(--ph-gray-50);
}
.ph-related__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ph-flame);
  margin: 0 0 6px;
  font-family: var(--ph-font-head);
}
.ph-related__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.ph-related__head h2 {
  font-size: 22px;
  margin: 0;
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 767px) {
  .ph-dispatch .ph-wrap {
    grid-template-columns: 1fr;
  }
  .ph-detail-hero__inner {
    flex-direction: column;
  }
  .ph-detail-hero__actions {
    width: 100%;
  }
  .ph-detail__layout {
    grid-template-columns: 1fr;
  }
  .ph-article__layout {
    grid-template-columns: 1fr;
  }
  .ph-about__layout {
    grid-template-columns: 1fr;
  }
  .ph-policy__layout {
    grid-template-columns: 1fr;
  }
  .ph-contact__layout {
    grid-template-columns: 1fr;
  }
  .ph-contact__form {
    grid-template-columns: 1fr;
  }
  .ph-contact__field--full {
    grid-column: 1;
  }
  .ph-featured-first__link {
    grid-template-columns: 1fr;
  }
  .ph-article__nav {
    grid-template-columns: 1fr;
  }
  .ph-footer__inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1023px) {
  .ph-dispatch .ph-wrap {
    grid-template-columns: 1fr;
  }
  .ph-detail__layout {
    grid-template-columns: 1fr;
  }
  .ph-detail__aside {
    position: static;
  }
  .ph-article__layout {
    grid-template-columns: 1fr;
  }
  .ph-article__sidebar {
    position: static;
  }
  .ph-about__layout {
    grid-template-columns: 1fr;
  }
  .ph-about__sidebar {
    position: static;
  }
  .ph-policy__layout {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   2026 REDESIGN: FIELD DESK / BLUEPRINT SYSTEM
   ============================================================ */
:root {
  --ph-black: #111516;
  --ph-ink: #1c2423;
  --ph-line: #c9d5d1;
  --ph-paper: #f4f8f3;
  --ph-panel: #ffffff;
  --ph-cyan: #00a8c6;
  --ph-cyan-dark: #007e98;
  --ph-signal: #e7ff3b;
  --ph-rust: #b9472e;
  --ph-muted: #60706d;
  --ph-font-heading: 'Archivo Black', 'IBM Plex Sans', sans-serif;
  --ph-font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --ph-font-mono: 'IBM Plex Mono', monospace;
  --ph-radius: 4px;
  --ph-radius-lg: 6px;
  --ph-shadow-sm: 6px 6px 0 rgba(17, 21, 22, .14);
  --ph-shadow-md: 10px 10px 0 rgba(17, 21, 22, .16);
}

body {
  color: var(--ph-ink);
  background:
    linear-gradient(90deg, rgba(0, 168, 198, .08) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(rgba(0, 168, 198, .06) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--ph-paper);
  letter-spacing: 0;
}

.ph-wrap {
  max-width: 1240px;
}

.ph-topbar {
  background: var(--ph-black);
  color: var(--ph-signal);
  border-bottom: 3px solid var(--ph-signal);
  font-family: var(--ph-font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ph-nav {
  background: rgba(244, 248, 243, .94);
  border-bottom: 2px solid var(--ph-black);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.ph-nav__inner {
  min-height: 78px;
}

.ph-nav__logo {
  width: 220px;
  height: auto;
}

.ph-nav__links {
  background: var(--ph-panel);
  border: 2px solid var(--ph-black);
  padding: 6px;
  gap: 0;
}

.ph-nav__links a {
  color: var(--ph-ink);
  font-family: var(--ph-font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  padding: 9px 13px;
  text-transform: uppercase;
}

.ph-nav__links a::after {
  display: none;
}

.ph-nav__links a:hover,
.ph-nav__links a.is-active {
  background: var(--ph-signal);
  color: var(--ph-black);
}

.ph-nav__cta,
.ph-btn {
  border-radius: 0;
  border: 2px solid var(--ph-black);
  box-shadow: 4px 4px 0 var(--ph-black);
  font-family: var(--ph-font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ph-nav__cta,
.ph-btn--flame,
.ph-btn--primary,
.ph-btn--emergency {
  background: var(--ph-signal);
  color: var(--ph-black) !important;
}

.ph-nav__cta:hover,
.ph-btn--flame:hover,
.ph-btn--primary:hover,
.ph-btn--emergency:hover {
  background: var(--ph-cyan);
  color: var(--ph-black);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ph-black);
}

.ph-btn--outline,
.ph-btn--outline-light {
  background: var(--ph-panel);
  color: var(--ph-black);
  border-color: var(--ph-black);
}

.ph-btn--outline:hover,
.ph-btn--outline-light:hover {
  background: var(--ph-signal);
  color: var(--ph-black);
}

.ph-dispatch {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(231, 255, 59, .88) 0 27%, transparent 27% 100%),
    radial-gradient(circle at 82% 18%, rgba(0, 168, 198, .2), transparent 30%),
    var(--ph-paper);
  border-bottom: 2px solid var(--ph-black);
  padding: 46px 0 34px;
}

.ph-dispatch::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17,21,22,.12) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(rgba(17,21,22,.1) 1px, transparent 1px) 0 0 / 72px 72px;
  opacity: .45;
  pointer-events: none;
}

.ph-dispatch::after {
  content: 'FIELD ROUTING';
  position: absolute;
  right: -44px;
  bottom: 18px;
  color: rgba(17,21,22,.08);
  font-family: var(--ph-font-heading);
  font-size: 86px;
  letter-spacing: .03em;
  pointer-events: none;
}

.ph-dispatch .ph-wrap {
  position: relative;
  z-index: 1;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, .78fr);
  gap: 32px;
}

.ph-dispatch__left {
  display: grid;
  align-content: center;
  background: rgba(255,255,255,.78);
  border: 2px solid var(--ph-black);
  box-shadow: var(--ph-shadow-md);
  padding: 30px;
}

.ph-dispatch__live,
.ph-section__eyebrow,
.ph-feed-item__loc,
.ph-ranked-card__loc,
.ph-article-item__cat,
.ph-card__location {
  color: var(--ph-cyan-dark);
  font-family: var(--ph-font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ph-dispatch__live-dot,
.ph-dispatch__feed-dot {
  background: var(--ph-signal);
  border: 2px solid var(--ph-black);
  box-shadow: none;
}

.ph-dispatch__title {
  color: var(--ph-black);
  font-family: var(--ph-font-heading);
  font-size: 64px;
  line-height: .96;
  letter-spacing: 0;
  max-width: 720px;
  text-transform: uppercase;
}

.ph-dispatch__em {
  color: var(--ph-cyan-dark);
  display: block;
  font-style: normal;
  text-shadow: 3px 3px 0 rgba(231,255,59,.8);
}

.ph-dispatch__desc {
  color: var(--ph-muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 620px;
}

.ph-dispatch__form {
  margin-top: 22px;
}

.ph-dispatch__inputs {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(140px, .52fr) auto;
  gap: 10px;
}

.ph-dispatch__input,
.ph-dispatch__select,
.ph-nav__search,
.ph-mobile-nav__search input,
.ph-toolbar__field input,
.ph-toolbar__field select,
.ph-contact__field input,
.ph-contact__field textarea {
  background: var(--ph-panel);
  border: 2px solid var(--ph-black);
  border-radius: 0;
  color: var(--ph-black);
  box-shadow: inset 0 -3px 0 rgba(0,168,198,.14);
}

.ph-nav__search input {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--ph-black);
  outline: 0;
}

.ph-dispatch__input::placeholder {
  color: #66736f;
}

.ph-dispatch__input:focus,
.ph-dispatch__select:focus,
.ph-toolbar__field input:focus,
.ph-toolbar__field select:focus,
.ph-contact__field input:focus,
.ph-contact__field textarea:focus {
  outline: 3px solid rgba(231,255,59,.82);
  border-color: var(--ph-black);
}

.ph-dispatch__trust {
  color: var(--ph-ink);
  font-family: var(--ph-font-mono);
  font-size: 12px;
  gap: 9px 18px;
  letter-spacing: .02em;
}

.ph-dispatch__right {
  background: var(--ph-black);
  border: 2px solid var(--ph-black);
  box-shadow: var(--ph-shadow-md);
  color: var(--ph-panel);
  padding: 16px;
}

.ph-dispatch__feed-header {
  border: 1px solid rgba(231,255,59,.65);
  color: var(--ph-signal);
  font-family: var(--ph-font-mono);
  padding: 12px;
}

.ph-dispatch__feed {
  gap: 10px;
  margin-top: 10px;
}

.ph-feed-item {
  background: #f7faf5;
  border: 2px solid transparent;
  border-left: 8px solid var(--ph-cyan);
  color: var(--ph-black);
  grid-template-columns: 58px minmax(0, 1fr) auto;
  min-height: 78px;
  padding: 9px;
}

.ph-feed-item:nth-child(even) {
  border-left-color: var(--ph-signal);
}

.ph-feed-item:hover {
  border-color: var(--ph-signal);
  transform: translateX(5px);
}

.ph-feed-item__img {
  border: 2px solid var(--ph-black);
  border-radius: 0;
  height: 58px;
  width: 58px;
}

.ph-feed-item__name,
.ph-feed-item__phone {
  color: var(--ph-black);
}

.ph-feed-item__rating,
.ph-dispatch__feed-more {
  color: var(--ph-cyan-dark);
}

.ph-stats-bar {
  background: var(--ph-black);
  border-bottom: 2px solid var(--ph-black);
}

.ph-stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  padding: 0;
}

.ph-stats-bar__item {
  align-items: start;
  border-right: 1px solid rgba(231,255,59,.28);
  padding: 18px 20px;
  text-align: left;
}

.ph-stats-bar__item strong {
  color: var(--ph-signal);
  font-family: var(--ph-font-heading);
  font-size: 31px;
}

.ph-stats-bar__item span {
  color: rgba(255,255,255,.68);
  font-family: var(--ph-font-mono);
}

.ph-stats-bar__divider {
  display: none;
}

.ph-section {
  background: rgba(244,248,243,.9);
  padding: 44px 0;
}

.ph-section--alt {
  background:
    linear-gradient(90deg, rgba(231,255,59,.2) 1px, transparent 1px) 0 0 / 24px 24px,
    #eef4ef;
}

.ph-section--dark,
.ph-footer,
.ph-detail-hero,
.ph-listing-hero,
.ph-sidebar-card {
  background: var(--ph-black);
  color: var(--ph-panel);
}

.ph-section h2,
.ph-results__head h2,
.ph-section-head h2,
.ph-contact__form-card h2 {
  color: var(--ph-black);
  font-family: var(--ph-font-heading);
  font-size: 38px;
  letter-spacing: 0;
  line-height: 1.02;
  text-transform: uppercase;
}

.ph-section--dark h2,
.ph-section--dark h3,
.ph-footer h3,
.ph-listing-hero h1,
.ph-detail-hero__title {
  color: var(--ph-panel);
}

.ph-section__desc,
.ph-coverage-sub {
  color: var(--ph-muted);
}

.ph-section--dark .ph-coverage-sub {
  color: rgba(255,255,255,.68);
}

.ph-service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.ph-service-tile,
.ph-state-tile,
.ph-ranked-card,
.ph-article-item,
.ph-card,
.ph-toolbar,
.ph-detail__section,
.ph-quick-fact,
.ph-highlight,
.ph-channel,
.ph-linked-post,
.ph-journal-card,
.ph-about__info-card,
.ph-contact__help-card,
.ph-contact__form-card,
.ph-policy__body {
  background: var(--ph-panel);
  border: 2px solid var(--ph-black);
  border-radius: 0;
  box-shadow: none;
}

.ph-policy__body {
  padding: 28px 30px;
}

.ph-policy__body h2:first-child {
  margin-top: 0;
}

.ph-service-tile {
  min-height: 118px;
  padding: 18px 12px;
}

.ph-service-tile:hover,
.ph-state-tile:hover,
.ph-ranked-card:hover,
.ph-article-item:hover,
.ph-card:hover,
.ph-channel:hover,
.ph-linked-post:hover,
.ph-journal-card:hover {
  border-color: var(--ph-black);
  box-shadow: var(--ph-shadow-sm);
  transform: translate(-3px, -3px);
}

.ph-service-tile__icon {
  align-items: center;
  background: var(--ph-signal);
  border: 2px solid var(--ph-black);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.ph-service-tile__label,
.ph-state-tile__name,
.ph-ranked-card__name,
.ph-card__name,
.ph-journal-card__title {
  color: var(--ph-black);
}

.ph-service-tile--all {
  background: var(--ph-black);
  color: var(--ph-signal);
}

.ph-service-tile--all .ph-service-tile__icon {
  background: var(--ph-cyan);
}

.ph-service-tile--all .ph-service-tile__label {
  color: var(--ph-signal);
}

.ph-state-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.ph-state-tile {
  background: transparent;
  border-color: rgba(255,255,255,.24);
  color: var(--ph-panel);
  padding: 13px 14px;
}

.ph-state-tile:hover {
  background: var(--ph-signal);
  color: var(--ph-black);
}

.ph-state-tile__name,
.ph-state-tile__count {
  color: inherit;
}

.ph-state-tile__count {
  background: rgba(0,168,198,.24);
  border: 1px solid currentColor;
}

.ph-ranked-list {
  gap: 12px;
}

.ph-ranked-card {
  display: grid;
  grid-template-columns: 56px 132px minmax(0, 1fr) minmax(180px, auto);
  gap: 16px;
  padding: 12px;
}

.ph-ranked-card__rank {
  background: var(--ph-signal);
  border: 2px solid var(--ph-black);
  border-radius: 0;
  color: var(--ph-black);
  font-family: var(--ph-font-heading);
}

.ph-ranked-card__img,
.ph-card__img,
.ph-article-item__img,
.ph-linked-post__img,
.ph-journal-card__img {
  border-radius: 0;
  filter: contrast(1.04) saturate(.92);
}

.ph-ranked-card__tag,
.ph-card__chips span,
.ph-amenity-chip,
.ph-chip,
.ph-tag {
  background: #eff7f2;
  border: 1px solid var(--ph-black);
  border-radius: 0;
  color: var(--ph-black);
  font-family: var(--ph-font-mono);
}

.ph-ranked-card__score,
.ph-star--on,
.ph-card__phone,
.ph-section-head__link,
.ph-article__breadcrumb a {
  color: var(--ph-cyan-dark);
}

.ph-ranked-card__call {
  background: var(--ph-black);
  border-radius: 0;
  color: var(--ph-signal);
  font-family: var(--ph-font-mono);
}

.ph-article-list {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ph-article-item {
  align-items: stretch;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.ph-article-item__img {
  height: 160px;
  width: 100%;
}

.ph-article-item__body {
  padding: 18px;
}

.ph-article-item__arrow {
  align-self: end;
  color: var(--ph-black);
  padding: 0 18px 18px;
}

.ph-listing-hero,
.ph-detail-hero {
  border-bottom: 2px solid var(--ph-black);
}

.ph-listing-hero::after,
.ph-detail-hero::after {
  background:
    linear-gradient(90deg, rgba(231,255,59,.08) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(rgba(231,255,59,.07) 1px, transparent 1px) 0 0 / 38px 38px;
}

.ph-listing-hero h1,
.ph-detail-hero__title,
.ph-article__title {
  font-family: var(--ph-font-heading);
  letter-spacing: 0;
  text-transform: uppercase;
}

.ph-toolbar {
  box-shadow: var(--ph-shadow-sm);
}

.ph-card-grid {
  gap: 18px;
}

.ph-card__tag {
  border-radius: 0;
}

.ph-footer {
  border-top: 2px solid var(--ph-signal);
}

.ph-footer__links a:hover,
.ph-footer__brand a {
  color: var(--ph-signal);
}

@media (max-width: 1023px) {
  .ph-dispatch .ph-wrap,
  .ph-dispatch__inputs,
  .ph-ranked-card {
    grid-template-columns: 1fr;
  }

  .ph-dispatch__left {
    padding: 24px;
  }

  .ph-dispatch::after {
    display: none;
  }

  .ph-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ph-nav__logo {
    width: 176px;
  }

  .ph-dispatch {
    padding: 28px 0;
  }

  .ph-dispatch__title {
    font-size: 34px;
  }

  .ph-dispatch__right {
    padding: 12px;
  }

  .ph-feed-item {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .ph-feed-item__phone {
    grid-column: 2;
  }

  .ph-service-grid,
  .ph-stats-bar__inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   DATA-DRIVEN HOMEPAGE STRUCTURE
   ============================================================ */
.ph-kicker {
  color: var(--ph-cyan-dark);
  font-family: var(--ph-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.ph-workbench {
  background:
    linear-gradient(120deg, rgba(231,255,59,.88) 0 18%, transparent 18%),
    linear-gradient(90deg, rgba(17,21,22,.1) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(rgba(17,21,22,.08) 1px, transparent 1px) 0 0 / 54px 54px,
    var(--ph-paper);
  border-bottom: 2px solid var(--ph-black);
  padding: 38px 22px;
}

.ph-workbench__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .78fr);
  gap: 26px;
  margin: 0 auto;
  max-width: 1260px;
}

.ph-workbench__copy,
.ph-workbench__panel {
  border: 2px solid var(--ph-black);
  box-shadow: var(--ph-shadow-md);
}

.ph-workbench__copy {
  background: rgba(255,255,255,.84);
  display: grid;
  padding: 30px;
}

.ph-workbench h1 {
  color: var(--ph-black);
  font-family: var(--ph-font-heading);
  font-size: 76px;
  letter-spacing: 0;
  line-height: .9;
  margin: 0;
  max-width: 820px;
  text-transform: uppercase;
}

.ph-workbench h1 span {
  color: var(--ph-cyan-dark);
  display: block;
  text-shadow: 4px 4px 0 rgba(231,255,59,.78);
}

.ph-workbench__desc {
  color: var(--ph-muted);
  font-size: 17px;
  line-height: 1.55;
  margin: 18px 0 0;
  max-width: 650px;
}

.ph-workbench__search {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(180px, 1fr) minmax(140px, .42fr) auto;
  margin-top: 24px;
}

.ph-workbench__search label {
  display: grid;
  gap: 6px;
}

.ph-workbench__search span {
  color: var(--ph-black);
  font-family: var(--ph-font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ph-workbench__search input,
.ph-workbench__search select {
  background: var(--ph-panel);
  border: 2px solid var(--ph-black);
  border-radius: 0;
  color: var(--ph-black);
  font: 600 14px var(--ph-font-body);
  min-height: 48px;
  padding: 0 13px;
}

.ph-workbench__search button {
  background: var(--ph-signal);
  border: 2px solid var(--ph-black);
  box-shadow: 4px 4px 0 var(--ph-black);
  color: var(--ph-black);
  cursor: pointer;
  font: 700 12px var(--ph-font-mono);
  letter-spacing: .08em;
  min-height: 48px;
  padding: 0 20px;
  text-transform: uppercase;
}

.ph-workbench__panel {
  background: var(--ph-black);
  color: var(--ph-panel);
  display: grid;
  gap: 12px;
  padding: 14px;
}

.ph-workbench__meter {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
}

.ph-workbench__meter div {
  border: 1px solid rgba(231,255,59,.35);
  padding: 11px;
}

.ph-workbench__meter strong {
  color: var(--ph-signal);
  display: block;
  font-family: var(--ph-font-heading);
  font-size: 25px;
  line-height: 1;
}

.ph-workbench__meter span,
.ph-workbench__primary span,
.ph-workbench__queue span {
  color: rgba(255,255,255,.62);
  font-family: var(--ph-font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ph-workbench__primary {
  background: var(--ph-panel);
  color: var(--ph-black);
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  min-height: 248px;
  overflow: hidden;
}

.ph-workbench__primary img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ph-workbench__primary div {
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
}

.ph-workbench__primary span {
  color: var(--ph-cyan-dark);
}

.ph-workbench__primary h2,
.ph-workbench__primary p {
  margin: 0;
}

.ph-workbench__primary h2 {
  color: var(--ph-black);
  font-family: var(--ph-font-heading);
  font-size: 25px;
  line-height: 1.05;
  text-transform: uppercase;
}

.ph-workbench__primary p {
  color: var(--ph-muted);
  line-height: 1.45;
}

.ph-workbench__queue {
  display: grid;
  gap: 8px;
}

.ph-workbench__queue a {
  background: #f7faf5;
  border-left: 8px solid var(--ph-cyan);
  color: var(--ph-black);
  display: grid;
  gap: 3px;
  padding: 11px 12px;
}

.ph-workbench__queue a:nth-child(even) {
  border-left-color: var(--ph-signal);
}

.ph-workbench__queue strong {
  color: var(--ph-black);
}

.ph-workbench__queue em {
  color: var(--ph-cyan-dark);
  font-style: normal;
  font-weight: 700;
}

.ph-fault-matrix,
.ph-contractor-bench {
  background: rgba(244,248,243,.94);
  padding: 42px 0;
}

.ph-matrix-head,
.ph-bench-head,
.ph-guide-rail__head {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.ph-matrix-head h2,
.ph-region-board h2,
.ph-bench-head h2,
.ph-guide-rail h2 {
  color: var(--ph-black);
  font-family: var(--ph-font-heading);
  font-size: 48px;
  line-height: .98;
  margin: 0;
  text-transform: uppercase;
}

.ph-matrix-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ph-matrix-card {
  background: var(--ph-panel);
  border: 2px solid var(--ph-black);
  color: var(--ph-black);
  display: grid;
  gap: 14px;
  min-height: 178px;
  padding: 16px;
}

.ph-matrix-card:hover,
.ph-bench-card:hover,
.ph-region-board__list a:hover,
.ph-guide-rail__list a:hover {
  box-shadow: var(--ph-shadow-sm);
  transform: translate(-3px, -3px);
}

.ph-matrix-card span {
  color: var(--ph-cyan-dark);
  font-family: var(--ph-font-mono);
  font-size: 12px;
  letter-spacing: .12em;
}

.ph-matrix-card strong {
  font-family: var(--ph-font-heading);
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.ph-matrix-card em {
  align-self: end;
  color: var(--ph-muted);
  font-style: normal;
  line-height: 1.45;
}

.ph-matrix-card--all {
  background: var(--ph-black);
  color: var(--ph-signal);
}

.ph-matrix-card--all em,
.ph-matrix-card--all span {
  color: rgba(255,255,255,.7);
}

.ph-region-board {
  background: var(--ph-black);
  color: var(--ph-panel);
  padding: 44px 0;
}

.ph-region-board__layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(260px, .38fr) minmax(0, 1fr);
}

.ph-region-board h2 {
  color: var(--ph-panel);
}

.ph-region-board__intro p:not(.ph-kicker),
.ph-bench-head p {
  color: rgba(255,255,255,.68);
  line-height: 1.6;
}

.ph-board-link {
  color: var(--ph-black);
  background: var(--ph-signal);
  border: 2px solid var(--ph-black);
  display: inline-flex;
  font: 700 12px var(--ph-font-mono);
  letter-spacing: .08em;
  margin-top: 16px;
  padding: 11px 14px;
  text-transform: uppercase;
}

.ph-region-board .ph-board-link {
  border-color: var(--ph-signal);
}

.ph-region-board__list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ph-region-board__list a {
  border: 1px solid rgba(255,255,255,.26);
  color: var(--ph-panel);
  display: grid;
  gap: 7px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  padding: 13px;
}

.ph-region-board__list span {
  color: var(--ph-signal);
  font-family: var(--ph-font-mono);
}

.ph-region-board__list em {
  color: rgba(255,255,255,.62);
  font-style: normal;
}

.ph-bench-head p {
  color: var(--ph-muted);
  margin: 8px 0 0;
}

.ph-bench-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ph-bench-card {
  background: var(--ph-panel);
  border: 2px solid var(--ph-black);
  color: var(--ph-black);
  display: grid;
  overflow: hidden;
}

.ph-bench-card--lead {
  grid-column: span 1;
  grid-row: span 1;
}

.ph-bench-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.ph-bench-card--lead img {
  aspect-ratio: 16 / 9;
}

.ph-bench-card div {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.ph-bench-card span {
  color: var(--ph-cyan-dark);
  font-family: var(--ph-font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ph-bench-card h3 {
  color: var(--ph-black);
  font-family: var(--ph-font-heading);
  font-size: 22px;
  line-height: 1.04;
  margin: 0;
  text-transform: uppercase;
}

.ph-bench-card--lead h3 {
  font-size: 22px;
}

.ph-bench-card p {
  color: var(--ph-muted);
  line-height: 1.5;
  margin: 0;
}

.ph-bench-card footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.ph-bench-card footer strong,
.ph-bench-card footer em {
  background: #eff7f2;
  border: 1px solid var(--ph-black);
  color: var(--ph-black);
  font: 700 12px var(--ph-font-mono);
  font-style: normal;
  padding: 6px 8px;
}

.ph-guide-rail {
  background:
    linear-gradient(90deg, rgba(231,255,59,.2) 1px, transparent 1px) 0 0 / 24px 24px,
    #eef4ef;
  padding: 42px 0;
}

.ph-guide-rail__list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ph-guide-rail__list a {
  background: var(--ph-panel);
  border: 2px solid var(--ph-black);
  color: var(--ph-black);
  display: grid;
  gap: 9px;
  min-height: 180px;
  padding: 16px;
}

.ph-guide-rail__list span {
  color: var(--ph-cyan-dark);
  font-family: var(--ph-font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ph-guide-rail__list strong {
  font-family: var(--ph-font-heading);
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
}

.ph-guide-rail__list em {
  color: var(--ph-muted);
  font-style: normal;
  line-height: 1.5;
}

@media (max-width: 1023px) {
  .ph-workbench__grid,
  .ph-region-board__layout,
  .ph-workbench__search {
    grid-template-columns: 1fr;
  }

  .ph-matrix-grid,
  .ph-bench-grid,
  .ph-guide-rail__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ph-bench-card--lead {
    grid-column: span 1;
  }
}

@media (max-width: 767px) {
  .ph-workbench {
    padding: 24px 14px;
  }

  .ph-workbench__copy,
  .ph-workbench__panel {
    padding: 16px;
  }

  .ph-workbench h1 {
    font-size: 38px;
  }

  .ph-workbench__primary,
  .ph-matrix-grid,
  .ph-region-board__list,
  .ph-bench-grid,
  .ph-guide-rail__list {
    grid-template-columns: 1fr;
  }

  .ph-bench-card--lead {
    grid-column: span 1;
  }

  .ph-matrix-head,
  .ph-bench-head,
  .ph-guide-rail__head {
    align-items: start;
    flex-direction: column;
  }
}

/* ============================================================
   2026 DETAIL REDESIGN — HVAC Field File
   ============================================================ */
.ph-field-detail {
  background:
    linear-gradient(90deg, rgba(0, 137, 171, .06) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, #f7fbf7 0%, #eef4f1 100%);
  color: var(--ph-black);
}

.ph-field-hero {
  padding: 34px 0 0;
}

.ph-field-hero__layout {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
}

.ph-field-hero__copy {
  background: var(--ph-white);
  border: 2px solid var(--ph-black);
  display: grid;
  gap: 16px;
  padding: 26px;
  position: relative;
}

.ph-field-hero__copy::before {
  background: var(--ph-signal);
  content: "";
  height: 8px;
  left: 26px;
  position: absolute;
  right: 26px;
  top: -2px;
}

.ph-field-hero__topline {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.ph-field-hero__topline span {
  background: var(--ph-black);
  color: #fff;
  font-family: var(--ph-font-mono);
  font-size: 11px;
  font-weight: 700;
  max-width: 260px;
  padding: 8px 10px;
  text-transform: uppercase;
}

.ph-field-kicker {
  color: var(--ph-cyan-dark);
  font-family: var(--ph-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  margin: 0;
  text-transform: uppercase;
}

.ph-service-tags span {
  background: #f2f6f3;
  border: 1px solid var(--ph-black);
  color: var(--ph-black);
  font-family: var(--ph-font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 9px;
}

.ph-field-hero__area {
  color: var(--ph-cyan-dark);
  font-family: var(--ph-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  margin: 0;
  text-transform: uppercase;
}

.ph-field-hero h1 {
  color: var(--ph-black);
  font-family: var(--ph-font-heading);
  font-size: 42px;
  line-height: .95;
  margin: 0;
  max-width: 1040px;
  text-transform: uppercase;
}

.ph-field-hero__address {
  border-top: 1px solid var(--ph-black);
  color: var(--ph-muted);
  font-family: var(--ph-font-mono);
  font-size: 12px;
  letter-spacing: .07em;
  margin: 4px 0 0;
  padding-top: 14px;
  text-transform: uppercase;
}

.ph-field-hero__summary {
  color: var(--ph-muted);
  font-size: 17px;
  line-height: 1.62;
  margin: 0;
}

.ph-field-hero__metrics {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ph-field-hero__metrics div {
  background: #f4f7f4;
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 12px;
}

.ph-field-hero__metrics span {
  color: var(--ph-cyan-dark);
  font-family: var(--ph-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ph-field-hero__metrics strong {
  align-self: end;
  color: var(--ph-black);
  font-size: 15px;
  line-height: 1.2;
}

.ph-field-gallery {
  background: var(--ph-black);
  border: 2px solid var(--ph-black);
  display: grid;
  gap: 2px;
  grid-template-columns: minmax(0, 1fr) 164px;
  grid-template-rows: minmax(0, 1fr);
  height: clamp(340px, 38vw, 520px);
  margin: 0;
  min-height: 0;
}

.ph-field-gallery.detail-gallery--single {
  grid-template-columns: minmax(0, 1fr);
}

.ph-field-gallery__main,
.ph-field-gallery__thumbs button {
  align-self: stretch;
  background: var(--ph-black);
  border: 0;
  cursor: pointer;
  display: block;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.ph-field-gallery__main img,
.ph-field-gallery__thumbs img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ph-field-gallery__thumbs {
  display: grid;
  gap: 2px;
  grid-template-rows: repeat(3, 1fr);
}

.ph-field-gallery__thumbs span {
  align-items: center;
  background: rgba(10, 18, 17, .72);
  color: #fff;
  display: flex;
  font-family: var(--ph-font-mono);
  font-size: 12px;
  font-weight: 700;
  inset: 0;
  justify-content: center;
  letter-spacing: .08em;
  position: absolute;
  text-transform: uppercase;
}

.ph-field-actions {
  align-items: stretch;
  background: var(--ph-white);
  border: 2px solid var(--ph-black);
  border-top: 0;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, auto);
  margin-bottom: 28px;
}

.ph-field-actions__status {
  display: grid;
  gap: 3px;
  padding: 14px 18px;
}

.ph-field-actions__status span {
  color: var(--ph-muted);
  font-family: var(--ph-font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ph-field-actions__status strong {
  color: var(--ph-black);
  font-size: 16px;
}

.ph-field-action {
  align-items: center;
  border-left: 2px solid var(--ph-black);
  color: var(--ph-black);
  display: inline-flex;
  font-family: var(--ph-font-mono);
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: .08em;
  min-width: 136px;
  padding: 0 18px;
  text-transform: uppercase;
}

.ph-field-action--call {
  background: var(--ph-signal);
}

.ph-field-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 330px;
  padding-bottom: 56px;
}

.ph-field-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.ph-field-card {
  background: rgba(255, 255, 255, .88);
  border: 2px solid var(--ph-black);
  padding: 24px;
}

.ph-field-card__label {
  color: var(--ph-cyan-dark);
  font-family: var(--ph-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.ph-field-card h2 {
  color: var(--ph-black);
  font-family: var(--ph-font-heading);
  font-size: 34px;
  line-height: 1;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.ph-field-card p {
  color: var(--ph-muted);
  font-size: 16px;
  line-height: 1.68;
  margin: 0 0 12px;
}

.ph-service-file blockquote {
  background: #f8faf8;
  border-left: 5px solid var(--ph-coral);
  color: #4f5b58;
  font-size: 16px;
  font-style: italic;
  line-height: 1.65;
  margin: 16px 0 0;
  padding: 16px 18px;
}

.ph-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.ph-hours-board {
  background:
    linear-gradient(135deg, rgba(226, 255, 31, .15), transparent 34%),
    #ffffff;
}

.ph-hours-board__head {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.ph-hours-board__head strong {
  background: var(--ph-black);
  color: #fff;
  font-family: var(--ph-font-mono);
  font-size: 13px;
  padding: 9px 11px;
  text-transform: uppercase;
}

.ph-hours-board__notice,
.ph-hours-board__fallback {
  background: #f4f7f4;
  color: var(--ph-muted);
  padding: 14px;
}

.ph-hours-list {
  display: grid;
  gap: 2px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.ph-hours-list li {
  align-items: center;
  background: #f4f7f4;
  display: grid;
  gap: 12px;
  grid-template-columns: 150px minmax(0, 1fr);
  padding: 12px 14px;
}

.ph-hours-list span {
  color: var(--ph-cyan-dark);
  font-family: var(--ph-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ph-hours-list strong {
  color: var(--ph-black);
  font-size: 15px;
}

.ph-capability-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.ph-capability-grid div {
  background: #f4f7f4;
  display: grid;
  gap: 6px;
  min-height: 130px;
  padding: 14px;
}

.ph-capability-grid span,
.ph-source-list span {
  color: var(--ph-cyan-dark);
  font-family: var(--ph-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ph-capability-grid strong,
.ph-source-list strong {
  color: var(--ph-black);
  font-size: 16px;
  line-height: 1.25;
}

.ph-capability-grid em,
.ph-source-list em {
  align-self: end;
  color: var(--ph-muted);
  font-style: normal;
  line-height: 1.4;
}

.ph-service-groups {
  display: grid;
  gap: 12px;
}

.ph-service-groups article {
  background: #f8faf8;
  padding: 16px;
}

.ph-service-groups h3 {
  color: var(--ph-black);
  font-family: var(--ph-font-heading);
  font-size: 22px;
  line-height: 1;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.ph-map-deck__head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.ph-map-deck__head a {
  background: var(--ph-signal);
  color: var(--ph-black);
  font-family: var(--ph-font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 12px;
  text-transform: uppercase;
}

.ph-map-deck iframe {
  border: 0;
  display: block;
  height: 360px;
  margin-top: 14px;
  width: 100%;
}

.ph-source-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ph-source-list div,
.ph-source-links a {
  background: #f4f7f4;
  color: var(--ph-black);
  display: grid;
  gap: 6px;
  padding: 14px;
}

.ph-source-links {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.ph-source-links a {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
}

.ph-source-links span {
  color: var(--ph-cyan-dark);
  font-family: var(--ph-font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ph-field-post a {
  color: var(--ph-black);
  display: grid;
  gap: 16px;
  grid-template-columns: 180px minmax(0, 1fr);
}

.ph-field-post img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.ph-field-post span {
  color: var(--ph-cyan-dark);
  font-family: var(--ph-font-mono);
  font-weight: 700;
  text-transform: uppercase;
}

.ph-call-rail {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 92px;
}

.ph-call-rail__panel {
  background: var(--ph-black);
  color: #fff;
  padding: 22px;
}

.ph-call-rail__panel .ph-field-kicker,
.ph-call-rail__rows span {
  color: var(--ph-signal);
}

.ph-call-rail__panel h2 {
  color: #fff;
  font-family: var(--ph-font-heading);
  font-size: 28px;
  line-height: 1;
  margin: 12px 0;
  text-transform: uppercase;
}

.ph-call-rail__rating {
  align-items: baseline;
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.ph-call-rail__rating strong {
  color: var(--ph-signal);
  font-family: var(--ph-font-heading);
  font-size: 42px;
  line-height: 1;
}

.ph-call-rail__rating span {
  color: rgba(255, 255, 255, .66);
}

.ph-call-rail__rows {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.ph-call-rail__rows div {
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: grid;
  gap: 3px;
  padding-top: 9px;
}

.ph-call-rail__rows span {
  font-family: var(--ph-font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ph-call-rail__rows strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.ph-call-rail__primary,
.ph-call-rail__secondary {
  align-items: center;
  display: flex;
  font-family: var(--ph-font-mono);
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: .08em;
  min-height: 46px;
  padding: 0 12px;
  text-transform: uppercase;
}

.ph-call-rail__primary {
  background: var(--ph-signal);
  color: var(--ph-black);
}

.ph-call-rail__secondary {
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  margin-top: 8px;
}

.ph-call-rail__tip {
  background: var(--ph-white);
  border: 2px solid var(--ph-black);
  padding: 18px;
}

.ph-call-rail__tip strong {
  color: var(--ph-black);
  font-family: var(--ph-font-heading);
  font-size: 20px;
  text-transform: uppercase;
}

.ph-call-rail__tip p {
  color: var(--ph-muted);
  line-height: 1.55;
  margin: 8px 0 0;
}

.ph-related--field {
  background: #f7fbf7;
  border-top: 2px solid var(--ph-black);
  padding-top: 36px;
}

.detail-gallery-modal--field {
  padding: 18px;
  z-index: 300;
}

.detail-gallery-modal--field .detail-gallery-modal__backdrop {
  background:
    linear-gradient(90deg, rgba(226, 255, 31, .08) 1px, transparent 1px) 0 0 / 42px 42px,
    rgba(9, 15, 15, .92);
  backdrop-filter: blur(6px);
}

.detail-gallery-modal--field .detail-gallery-modal__dialog {
  background: #0d1313;
  border: 2px solid var(--ph-signal);
  border-radius: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .42);
  gap: 12px;
  max-height: calc(100vh - 36px);
  padding: 14px;
  width: min(1120px, 100%);
}

.detail-gallery-modal--field .detail-gallery-modal__topbar {
  border-bottom: 1px solid rgba(226, 255, 31, .26);
  padding-bottom: 10px;
}

.detail-gallery-modal--field .detail-gallery-modal__eyebrow {
  color: var(--ph-signal);
  font-family: var(--ph-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.detail-gallery-modal--field .detail-gallery-modal__title {
  color: #fff;
  font-family: var(--ph-font-heading);
  font-size: 24px;
  line-height: 1;
  margin: 4px 0 0;
  text-transform: uppercase;
}

.detail-gallery-modal--field .detail-gallery-modal__counter {
  color: rgba(255, 255, 255, .62);
  font-family: var(--ph-font-mono);
  white-space: nowrap;
}

.detail-gallery-modal--field .detail-gallery-modal__close,
.detail-gallery-modal--field .detail-gallery-modal__nav {
  background: var(--ph-signal);
  border-radius: 0;
  color: var(--ph-black);
  font-family: var(--ph-font-mono);
  font-weight: 800;
}

.detail-gallery-modal--field .detail-gallery-modal__close {
  background: transparent;
  border: 1px solid rgba(226, 255, 31, .35);
  color: var(--ph-signal);
  font-size: 20px;
}

.detail-gallery-modal--field .detail-gallery-modal__close:hover {
  background: rgba(226, 255, 31, .12);
}

.detail-gallery-modal--field .detail-gallery-modal__frame {
  background: #070b0b;
  border-radius: 0;
  height: clamp(20rem, 66vh, 42rem);
}

.detail-gallery-modal--field .detail-gallery-modal__frame img {
  object-fit: contain;
}

.detail-gallery-modal--field .detail-gallery-modal__strip {
  gap: 8px;
  min-height: 86px;
  padding-bottom: 0;
}

.detail-gallery-modal--field .detail-gallery-modal__thumb {
  background: #111918;
  border: 1px solid rgba(226, 255, 31, .18);
  border-radius: 0;
  flex-basis: 112px;
  opacity: .7;
}

.detail-gallery-modal--field .detail-gallery-modal__thumb.is-active {
  background: #17201f;
  border-color: var(--ph-signal);
  box-shadow: none;
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .ph-field-layout {
    grid-template-columns: 1fr;
  }

  .ph-call-rail {
    position: static;
  }
}

@media (max-width: 760px) {
  .ph-field-hero {
    padding-top: 18px;
  }

  .ph-field-hero__copy,
  .ph-field-card,
  .ph-call-rail__panel,
  .ph-call-rail__tip {
    padding: 16px;
  }

  .ph-field-hero h1 {
    font-size: 36px;
  }

  .ph-field-hero__topline {
    align-items: start;
    flex-direction: column;
  }

  .ph-field-hero__topline span {
    max-width: 100%;
  }

  .ph-field-hero__metrics {
    grid-template-columns: 1fr;
  }

  .ph-field-gallery {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ph-field-gallery__main {
    aspect-ratio: 16 / 10;
  }

  .ph-field-gallery__thumbs {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 90px;
  }

  .ph-field-actions {
    grid-template-columns: 1fr;
  }

  .ph-field-action {
    border-left: 0;
    border-top: 2px solid var(--ph-black);
    min-height: 48px;
  }

  .ph-field-card h2 {
    font-size: 28px;
  }

  .ph-capability-grid,
  .ph-source-list,
  .ph-field-post a {
    grid-template-columns: 1fr;
  }

  .ph-hours-list li {
    grid-template-columns: 1fr;
  }
}
