/*
Theme Name: Precursor Hospitality
Theme URI: https://precursorhospitality.com
Author: Precursor Hospitality
Description: Custom WordPress theme. Page-driven content architecture with Rust & Rye palette, accessibility color refinements, and editable Precursor shortcodes.
Version: 3.3.56
License: Private
Text Domain: precursor-hospitality
*/

/* ============================================================
   DESIGN TOKENS — RUST & RYE PALETTE
   ============================================================ */
:root {
  --cream:        #f7f3ee;
  --linen:        #ede6db;
  --rye:          #e8d5c4;
  --rye-deep:     #e0c9b4;
  --rye-border:   #d4c0ac;
  --sand:         #f0e0ce;
  --rust:         #96481e; /* accessibility update: darker rust text */
  --rust-dark:    #8a3f19; /* deeper rust option */
  --rust-light:   #f7ede4;
  --gold:         #6e561f; /* accessibility update: darker gold text */
  --gold-dark:    #6e561f;
  --border:       #d9cfc3;
  --border-mid:   #c8bdb0;
  --taupe:        #665847; /* accessibility update: darker taupe labels */
  --muted:        #5f5548; /* accessibility update: nav/small labels */
  --body:         #5d5143; /* accessibility update: body copy */
  --dark:         #2e2920;
  --dark-2:       #3a3530;
  --dark-3:       #4a4035;
  --off-white:    #f0e9de;
  --footer-support:#b9ab98;
  --footer-copy:  #a79683;
  --rust-on-dark: #d9956f;
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'Jost', system-ui, sans-serif;
  --ph-font-scale: 1.07;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: calc(16px * var(--ph-font-scale, 1)); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  background: var(--cream);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity 0.4s ease;
}
body.ph-loaded { opacity: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
body :where(p, li, td, th, figcaption, label, input, textarea, select, button) {
  font-size: 1rem;
}
body :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.2;
}
body :where(h1) { font-size: clamp(2.25rem, calc(5vw * var(--ph-font-scale, 1)), 3.375rem); }
body :where(h2) { font-size: clamp(1.75rem, calc(4vw * var(--ph-font-scale, 1)), 2.375rem); }
body :where(h3) { font-size: clamp(1.375rem, calc(3vw * var(--ph-font-scale, 1)), 1.875rem); }
body :where(h4) { font-size: 1.25rem; }
body :where(h5) { font-size: 1.125rem; }
body :where(h6) { font-size: 1rem; }
body .has-small-font-size { font-size: 0.8125rem; }
body .has-regular-font-size,
body .has-normal-font-size { font-size: 1rem; }
body .has-medium-font-size { font-size: 1.25rem; }
body .has-large-font-size { font-size: 1.75rem; }
body .has-x-large-font-size { font-size: 2.25rem; }
body .has-xx-large-font-size,
body .has-huge-font-size { font-size: 3rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.ph-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 2rem;
  background: var(--cream);
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.ph-nav__logo {
  font-family: var(--serif);
  font-size: calc(14px * var(--ph-font-scale, 1));
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dark);
  white-space: nowrap;
}
.ph-nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ph-nav__links li { line-height: 1; }
.ph-nav__links a {
  font-size: calc(10px * var(--ph-font-scale, 1));
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.ph-nav__links a:hover,
.ph-nav__links a.current,
.ph-nav__links .current-menu-item > a,
.ph-nav__links .current_page_item > a { color: var(--dark); }
.ph-nav__links a.fn,
.ph-nav__links .ph-menu-field-notes > a {
  color: var(--rust);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.ph-nav__links a.fn:hover,
.ph-nav__links .ph-menu-field-notes > a:hover { color: var(--rust-dark); }
.ph-nav__right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-left: auto;
}
.ph-social {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.ph-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.2s, background-color 0.2s;
}
.ph-social a:hover,
.ph-social a:focus-visible {
  color: var(--rust);
}
.ph-social a:focus-visible {
  outline: 1px solid var(--rust);
  outline-offset: 3px;
}
.ph-social i {
  font-size: calc(14px * var(--ph-font-scale, 1));
  line-height: 1;
}
.ph-social--header {
  padding-left: 0.15rem;
  border-left: 0.5px solid var(--border);
}
.ph-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.ph-nav__toggle span {
  display: block;
  width: 22px;
  height: 0.5px;
  background: var(--dark);
  transition: all 0.2s;
}
.ph-nav__drawer {
  display: none;
  flex-direction: column;
  background: var(--cream);
  border-bottom: 0.5px solid var(--border);
  padding: 1.25rem 2rem 1.5rem;
  gap: 1.25rem;
}
.ph-nav__drawer.open { display: flex; }
.ph-nav__drawer ul {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ph-nav__drawer a {
  font-size: calc(11px * var(--ph-font-scale, 1));
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.ph-nav__drawer a.fn,
.ph-nav__drawer .ph-menu-field-notes > a { color: var(--rust); }
.ph-nav__drawer .ph-social a {
  letter-spacing: 0;
  text-transform: none;
}
.ph-social--drawer {
  padding-top: 0.25rem;
}

/* ============================================================
   QUIET ARRIVAL ANIMATION
   ============================================================ */
.ph-arrive { opacity: 0; transform: translateY(10px); transition: opacity 0.7s ease, transform 0.7s ease; }
.ph-arrive.visible { opacity: 1; transform: translateY(0); }
.ph-arrive-fade { opacity: 0; transition: opacity 0.7s ease; }
.ph-arrive-fade.visible { opacity: 1; }

/* ============================================================
   SHARED ELEMENTS
   ============================================================ */
.ph-eyebrow { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.ph-eyebrow__line { width: 2.5rem; height: 0.5px; background: var(--gold); flex-shrink: 0; }
.ph-eyebrow__text { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.ph-label { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe); margin-bottom: 1.25rem; }
.ph-label--rye { color: #8a6a50; }
.ph-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: calc(10px * var(--ph-font-scale, 1));
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 0.5px solid var(--rust);
  padding-bottom: 3px;
  transition: color 0.2s;
}
.ph-text-link:hover { color: var(--rust); }
.ph-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  background: var(--dark);
  color: var(--off-white);
  font-family: var(--sans);
  font-weight: 300;
  font-size: calc(10px * var(--ph-font-scale, 1));
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.ph-btn:hover { background: #1a1710; }
.ph-btn--rust { background: var(--rust); color: var(--rust-light); }
.ph-btn--rust:hover { background: var(--rust-dark); }
.ph-btn--gold { background: var(--gold); color: var(--dark); }
.ph-btn--gold:hover { background: var(--gold-dark); }
.ph-btn--ghost { background: none; border: 0.5px solid var(--dark-3); color: var(--muted); }
.ph-btn--ghost:hover { border-color: var(--muted); }

/* ============================================================
   HERO
   ============================================================ */
.ph-hero {
  background: var(--linen);
  padding: 5rem 2rem 4rem;
  border-bottom: 0.5px solid var(--border);
  position: relative;
  overflow: hidden;
}
.ph-hero > :not(.ph-hero__bg):not(.ph-hero__overlay):not(.ph-hero__brand) {
  position: relative;
  z-index: 2;
}
.ph-hero__headline {
  font-family: var(--serif);
  font-size: clamp(calc(36px * var(--ph-font-scale, 1)), calc(5vw * var(--ph-font-scale, 1)), calc(54px * var(--ph-font-scale, 1)));
  font-weight: 300;
  line-height: 1.1;
  color: var(--dark);
  max-width: 560px;
  margin-bottom: 1.5rem;
}
.ph-hero__headline.ph-arrive {
  opacity: 1;
  transform: none;
  transition: none;
}
.ph-hero__headline > span {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.ph-hero__headline.visible > span {
  opacity: 1;
  transform: translateY(0);
}
.ph-hero__sub {
  font-size: calc(13px * var(--ph-font-scale, 1));
  line-height: 1.85;
  color: var(--body);
  max-width: 400px;
  margin-bottom: 2rem;
}
.ph-hero--image {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 2rem;
  overflow: hidden;
}
.ph-hero__bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; z-index: 0; }
.ph-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(46,41,32,0.78) 0%, rgba(46,41,32,0.08) 65%); z-index: 1; }
.ph-hero__content { position: relative; z-index: 2; }
.ph-hero--image .ph-hero__headline,
.ph-hero--image .ph-hero__sub { color: var(--off-white); }
.ph-hero__brand {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(2rem, 8vw, 8rem);
  width: clamp(208px, 20.8vw, 336px);
  max-width: 38%;
  height: auto;
  transform: translateY(-50%);
  opacity: 1;
  mix-blend-mode: normal;
  pointer-events: none;
  user-select: none;
}
.ph-hero__brand--main {
  width: clamp(300px, 28vw, 470px);
}
.ph-hero--image .ph-hero__brand {
  display: none;
}

/* ============================================================
   ABOUT MISSION
   ============================================================ */
.ph-about-mission {
  background: var(--cream);
  padding: 3.75rem 2rem;
  border-bottom: 0.5px solid var(--border);
}
.ph-about-mission__inner {
  max-width: 920px;
}
.ph-about-mission__label {
  font-family: var(--sans);
  font-weight: 300;
}
.ph-about-mission__statement {
  max-width: 880px;
  color: var(--dark);
  font-family: var(--serif);
  font-size: calc(30px * var(--ph-font-scale, 1));
  font-weight: 300;
  line-height: 1.4;
}

/* ============================================================
   PURPOSE BAND
   ============================================================ */
.ph-purpose {
  background: var(--cream);
  padding: 3rem 2rem;
  border-bottom: 0.5px solid var(--border);
}
.ph-purpose__text {
  font-family: var(--serif);
  font-size: clamp(calc(20px * var(--ph-font-scale, 1)), calc(3vw * var(--ph-font-scale, 1)), calc(27px * var(--ph-font-scale, 1)));
  font-weight: 300;
  line-height: 1.55;
  color: var(--dark);
  max-width: 600px;
}
.ph-purpose__text em { color: var(--rust); font-style: italic; }

/* ============================================================
   SERVICES — cream bg
   ============================================================ */
.ph-services { background: var(--cream); padding: 3rem 2rem; border-bottom: 0.5px solid var(--border); }
.ph-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row; gap: 1.75rem; margin-top: 1.5rem; align-items: stretch; }
.ph-services__grid > :not(.ph-service) { display: none; }
.ph-service { padding-top: 1.25rem; border-top: 0.5px solid var(--gold); }
.ph-service__num { font-family: var(--serif); font-size: calc(12px * var(--ph-font-scale, 1)); color: var(--gold); letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.ph-service__title { font-size: calc(13px * var(--ph-font-scale, 1)); font-weight: 400; color: var(--dark); margin-bottom: 0.5rem; letter-spacing: 0.04em; }
.ph-service__desc { font-size: calc(12px * var(--ph-font-scale, 1)); color: var(--body); line-height: 1.75; }

/* ============================================================
   WORK — rye bg, rust accents
   ============================================================ */
.ph-work { background: var(--rye); padding: 3rem 2rem; border-bottom: 0.5px solid var(--rye-border); }
.ph-work__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 1.5rem;
  background: var(--rye-border);
  border: 0.5px solid var(--rye-border);
  border-radius: 12px;
  overflow: hidden;
}
.ph-work__card {
  background: var(--sand);
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 150px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}
.ph-work__card:hover { background: var(--rye); }
.ph-work__card__bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; opacity: 0.3; transition: opacity 0.3s; }
.ph-work__card:hover .ph-work__card__bg { opacity: 0.45; }
.ph-work__card__content { position: relative; z-index: 1; }
.ph-work__card--wide { grid-column: 1/-1; min-height: 90px; flex-direction: row; align-items: flex-end; justify-content: space-between; background: var(--rye-deep); }
.ph-work__card--wide:hover { background: var(--rye-border); }
.ph-work__region { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); margin-bottom: 0.4rem; }
.ph-work__name { font-family: var(--serif); font-size: calc(19px * var(--ph-font-scale, 1)); font-weight: 300; color: var(--dark); margin-bottom: 0.3rem; }
.ph-work__type { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.13em; text-transform: uppercase; color: #7a5a45; }

/* ============================================================
   QUOTE BAND — espresso bg
   ============================================================ */
.ph-quote { background: var(--dark); padding: 4rem 2rem; text-align: center; border-bottom: 0.5px solid var(--dark-2); }
.ph-quote__mark { font-family: var(--serif); font-size: calc(64px * var(--ph-font-scale, 1)); line-height: 0.5; color: var(--rust); opacity: 0.55; margin-bottom: 1.75rem; }
.ph-quote__text { font-family: var(--serif); font-size: clamp(calc(18px * var(--ph-font-scale, 1)), calc(2.5vw * var(--ph-font-scale, 1)), calc(24px * var(--ph-font-scale, 1))); font-style: italic; font-weight: 300; line-height: 1.6; color: var(--off-white); max-width: 520px; margin: 0 auto 1rem; }
.ph-quote__attr { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.18em; text-transform: uppercase; }
.ph-quote__attr--justin { color: var(--gold); }
.ph-quote__attr--marc { color: var(--rust-on-dark); }

/* ============================================================
   PHILOSOPHY — linen bg
   ============================================================ */
.ph-philosophy {
  background: var(--linen);
  padding: 3rem 2rem;
  border-bottom: 0.5px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.ph-philosophy__title { font-family: var(--serif); font-size: clamp(calc(22px * var(--ph-font-scale, 1)), calc(3vw * var(--ph-font-scale, 1)), calc(30px * var(--ph-font-scale, 1))); font-weight: 300; line-height: 1.3; color: var(--dark); }
.ph-philosophy__body { font-size: calc(13px * var(--ph-font-scale, 1)); line-height: 1.9; color: var(--body); }

/* ============================================================
   MARKETS BAR
   ============================================================ */
.ph-markets { background: var(--cream); padding: 3rem 2rem; border-bottom: 0.5px solid var(--border); }
.ph-markets__row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  border: 0.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.ph-markets__item {
  flex: 1;
  min-width: 110px;
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border-right: 0.5px solid var(--border);
  border-top: 2px solid var(--rust);
}
.ph-markets__item:last-child { border-right: none; }
.ph-markets__city { font-family: var(--serif); font-size: calc(17px * var(--ph-font-scale, 1)); font-weight: 300; color: var(--dark); margin-bottom: 0.25rem; }
.ph-markets__state { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); }

/* ============================================================
   FIELD NOTES STRIP — rye bg, horizontal scroll
   ============================================================ */
.ph-fn-strip { background: var(--rye); padding: 3rem 0 2.5rem 2rem; border-bottom: 0.5px solid var(--rye-border); overflow: hidden; }
.ph-fn-strip__header { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; padding-right: 2rem; margin-bottom: 1.25rem; }
.ph-fn-strip__heading { display: grid; gap: 0.45rem; max-width: 46rem; }
.ph-fn-strip__heading .ph-label { margin: 0; }
.ph-fn-strip__subtitle { color: var(--body); font-size: calc(12px * var(--ph-font-scale, 1)); line-height: 1.65; }
.ph-fn-strip__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 1rem;
  padding-right: 2rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  cursor: default;
}
.ph-fn-strip--scrollable .ph-fn-strip__track { cursor: grab; }
.ph-fn-strip__track::-webkit-scrollbar { display: none; }
.ph-fn-strip__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.ph-fn-strip__track.is-dragging .ph-fn-card { pointer-events: none; }
.ph-fn-card {
  background: var(--sand);
  border: 0.5px solid var(--rye-border);
  border-radius: 10px;
  padding: 1.5rem;
  flex: 0 0 clamp(230px, 19vw, 330px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 185px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.ph-fn-card:hover {
  background: var(--rust);
  border-color: var(--rust);
}
.ph-fn-card--peek { flex-basis: clamp(230px, 19vw, 330px); opacity: 1; }
.ph-fn-strip--scrollable .ph-fn-card--peek { flex-basis: clamp(210px, 17vw, 280px); opacity: 0.65; }
.ph-fn-card__cat { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); margin-bottom: 0.5rem; }
.ph-fn-card__title { font-family: var(--serif); font-size: calc(17px * var(--ph-font-scale, 1)); font-weight: 300; line-height: 1.3; color: var(--dark); flex: 1; }
.ph-fn-card__meta { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.1em; color: #8a6a50; margin-top: 0.75rem; }
.ph-fn-card__read { display: inline-flex; align-items: center; gap: 0.3rem; font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust); margin-top: 0.5rem; }
.ph-fn-card:hover .ph-fn-card__cat,
.ph-fn-card:hover .ph-fn-card__title,
.ph-fn-card:hover .ph-fn-card__meta,
.ph-fn-card:hover .ph-fn-card__read {
  color: var(--rust-light);
}
.ph-fn-scroll-hint {
  display: none;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 2rem 0 0;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  text-align: inherit;
  cursor: pointer;
}
.ph-fn-strip--scrollable .ph-fn-scroll-hint { display: flex; }
.ph-fn-scroll-hint__line { flex: 1; height: 0.5px; background: var(--rye-border); }
.ph-fn-scroll-hint__text { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.12em; text-transform: uppercase; color: #b0947a; white-space: nowrap; transition: color 0.2s ease; }
.ph-fn-scroll-hint__arrow { color: var(--rust); font-size: calc(14px * var(--ph-font-scale, 1)); animation: nudge 1.8s ease-in-out infinite; }
.ph-fn-scroll-hint:hover .ph-fn-scroll-hint__text,
.ph-fn-scroll-hint:focus-visible .ph-fn-scroll-hint__text { color: var(--rust); }
.ph-fn-scroll-hint:focus-visible { outline: 1px solid var(--rust); outline-offset: 6px; }
@keyframes nudge { 0%,100%{transform:translateX(0)} 50%{transform:translateX(4px)} }

/* ============================================================
   CTA BAND — rust bg
   ============================================================ */
.ph-cta-band { background: var(--rust); padding: 3rem 2rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.ph-cta-band__heading { font-family: var(--serif); font-size: clamp(calc(22px * var(--ph-font-scale, 1)), calc(3vw * var(--ph-font-scale, 1)), calc(30px * var(--ph-font-scale, 1))); font-weight: 300; color: #f7ede4; }
.ph-cta-band__sub { font-size: calc(12px * var(--ph-font-scale, 1)); color: #ffffff; margin-top: 0.4rem; }

/* ============================================================
   HOSPITALITY PRINCIPLE BAND
   ============================================================ */
.ph-principle {
  background: var(--dark);
  padding: 3.5rem 2rem;
  text-align: center;
  border-top: 0.5px solid var(--dark-2);
  border-bottom: 0.5px solid var(--dark-2);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ph-principle__label { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.22em; text-transform: uppercase; color: var(--footer-copy); margin-bottom: 1.5rem; }
.ph-principle__text {
  font-family: var(--serif);
  font-size: clamp(calc(18px * var(--ph-font-scale, 1)), calc(2.2vw * var(--ph-font-scale, 1)), calc(23px * var(--ph-font-scale, 1)));
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--off-white);
  max-width: 500px;
  margin: 0 auto;
  transition: opacity 0.55s ease;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph-principle__attr { font-size: calc(11px * var(--ph-font-scale, 1)); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 1.25rem; }
.ph-principle__attr--justin { color: var(--gold); }
.ph-principle__attr--marc { color: var(--rust-on-dark); }
.ph-principle__source { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.1em; color: var(--footer-copy); margin-top: 0.35rem; }
.ph-principle__source a { color: var(--footer-copy); border-bottom: 0.5px solid var(--footer-copy); }
.ph-principle__source a:hover { color: var(--gold); border-color: var(--gold); }

/* ============================================================
   PROPERTY DIAGNOSTIC
   ============================================================ */
.ph-diag { background: var(--linen); padding: 3rem 2rem; border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }
.ph-diag__progress { display: flex; gap: 6px; margin-bottom: 2rem; }
.ph-diag__pip { height: 2px; flex: 1; background: var(--border); border-radius: 1px; transition: background 0.3s; }
.ph-diag__pip--done { background: var(--rust); }
.ph-diag__pip--active { background: var(--gold); }
.ph-diag__step { display: none; }
.ph-diag__step--active { display: block; }
.ph-diag__q { font-family: var(--serif); font-size: clamp(calc(22px * var(--ph-font-scale, 1)), calc(3vw * var(--ph-font-scale, 1)), calc(28px * var(--ph-font-scale, 1))); font-weight: 300; line-height: 1.25; color: var(--dark); margin-bottom: 1.75rem; max-width: 440px; }
.ph-diag__options { display: flex; flex-direction: column; gap: 8px; }
.ph-diag__opt {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border: 0.5px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.ph-diag__opt:hover { border-color: var(--rust); background: #fdf5ef; }
.ph-diag__opt--selected { border-color: var(--rust); background: #fdf5ef; }
.ph-diag__opt-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--linen); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ph-diag__opt-icon i { font-size: calc(15px * var(--ph-font-scale, 1)); color: var(--rust); }
.ph-diag__opt-text { font-size: calc(13px * var(--ph-font-scale, 1)); color: var(--dark); line-height: 1.5; }
.ph-diag__opt-sub { font-size: calc(11px * var(--ph-font-scale, 1)); color: var(--muted); margin-top: 2px; }
.ph-diag__next {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--dark);
  color: var(--off-white);
  font-size: calc(10px * var(--ph-font-scale, 1));
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  opacity: 0.3;
  pointer-events: none;
  transition: opacity 0.2s;
  border: none;
  font-family: var(--sans);
}
.ph-diag__next--ready { opacity: 1; pointer-events: auto; }
.ph-diag [hidden] { display: none !important; }
.ph-diag__result { display: none; }
.ph-diag__result--active { display: block; }
.ph-diag__result-eyebrow { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.ph-diag__result-line { width: 2rem; height: 0.5px; background: var(--rust); }
.ph-diag__result-etext { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.18em; text-transform: uppercase; color: var(--rust); }
.ph-diag__result-heading { font-family: var(--serif); font-size: clamp(calc(22px * var(--ph-font-scale, 1)), calc(3vw * var(--ph-font-scale, 1)), calc(30px * var(--ph-font-scale, 1))); font-weight: 300; line-height: 1.2; color: var(--dark); margin-bottom: 1rem; max-width: 500px; }
.ph-diag__result-body { font-size: calc(13px * var(--ph-font-scale, 1)); line-height: 1.85; color: var(--body); max-width: 520px; margin-bottom: 1.75rem; }
.ph-diag__result-focus { background: var(--rye); border-left: 2px solid var(--rust); padding: 1.1rem 1.25rem; border-radius: 0 4px 4px 0; margin-bottom: 1.75rem; }
.ph-diag__result-focus-label { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); margin-bottom: 0.4rem; }
.ph-diag__result-focus-text { font-family: var(--serif); font-size: calc(17px * var(--ph-font-scale, 1)); font-weight: 300; color: var(--dark); line-height: 1.45; }
.ph-diag__result-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.ph-intake-details {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 0.5px solid var(--border);
}
.ph-intake-details[hidden] { display: none; }
.ph-intake-details__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.ph-intake-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: calc(10px * var(--ph-font-scale, 1));
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
}
.ph-intake-field--full { grid-column: 1 / -1; }
.ph-intake-field input,
.ph-intake-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--linen);
  border: 0.5px solid var(--border);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: calc(13px * var(--ph-font-scale, 1));
  line-height: 1.5;
  color: var(--dark);
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
}
.ph-intake-field textarea {
  min-height: 130px;
  resize: vertical;
}
.ph-intake-submit { margin-top: 1.25rem; }
.ph-intake-submit:disabled { opacity: 0.55; cursor: wait; }
.ph-intake-msg {
  min-height: 1.4em;
  margin-top: 0.75rem;
  font-size: calc(12px * var(--ph-font-scale, 1));
  line-height: 1.6;
  color: var(--body);
}
.ph-intake-msg--success { color: #4a7a40; }
.ph-intake-msg--error { color: var(--rust); }
.ph-intake-complete {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--rye);
  border: 0.5px solid rgba(161, 78, 34, 0.28);
  border-left: 3px solid var(--rust);
  border-radius: 4px;
}
.ph-intake-complete[hidden] { display: none; }
.ph-intake-complete__eyebrow {
  font-size: calc(10px * var(--ph-font-scale, 1));
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.6rem;
}
.ph-intake-complete__heading {
  font-family: var(--serif);
  font-size: clamp(calc(24px * var(--ph-font-scale, 1)), calc(3.5vw * var(--ph-font-scale, 1)), calc(34px * var(--ph-font-scale, 1)));
  font-weight: 300;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.ph-intake-complete__body {
  color: var(--body);
  font-size: calc(13px * var(--ph-font-scale, 1));
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.ph-diag__restart { font-size: calc(11px * var(--ph-font-scale, 1)); color: var(--taupe); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 1.25rem; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; background: none; border: none; font-family: var(--sans); }

.ph-intake-open { overflow: hidden; }
.ph-intake-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.ph-intake-modal[hidden] { display: none; }
.ph-intake-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(46,41,32,0.46);
}
.ph-intake-modal__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - 3rem);
  overflow: auto;
  background: var(--cream);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(46,41,32,0.28);
  padding: 2rem;
  outline: none;
}
.ph-intake-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 34px;
  height: 34px;
  border: 0.5px solid var(--border);
  border-radius: 50%;
  background: var(--linen);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ph-intake-modal__close i { font-size: calc(18px * var(--ph-font-scale, 1)); }
.ph-intake-modal__title {
  font-family: var(--serif);
  font-size: clamp(calc(26px * var(--ph-font-scale, 1)), calc(3vw * var(--ph-font-scale, 1)), calc(36px * var(--ph-font-scale, 1)));
  font-weight: 300;
  color: var(--dark);
  margin: 0 3rem 1rem 0;
  line-height: 1.1;
}
.ph-intake-modal .ph-diag {
  background: transparent;
  border: 0;
  padding: 0;
}

@media (max-width: 640px) {
  .ph-intake-modal { padding: 0.75rem; align-items: flex-start; }
  .ph-intake-modal__panel { max-height: calc(100vh - 1.5rem); padding: 1.4rem; }
  .ph-intake-modal__title { margin-right: 2.75rem; }
  .ph-intake-details__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FIELD NOTES PAGE
   ============================================================ */
.ph-fn-hero { background: var(--linen); padding: 3.5rem 2rem 3rem; border-bottom: 0.5px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; }
.ph-fn-hero__sub { font-size: calc(13px * var(--ph-font-scale, 1)); line-height: 1.8; color: var(--body); margin-bottom: 1.25rem; }
.ph-rss-badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.12em; text-transform: uppercase; color: #4a7a40; background: #eaf3de; padding: 0.3rem 0.75rem; border-radius: 2px; margin-bottom: 1.25rem; }
.ph-rss-dot { width: 6px; height: 6px; border-radius: 50%; background: #4a7a40; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }
.ph-fn-featured { background: var(--rye); padding: 3rem 2rem; border-bottom: 0.5px solid var(--rye-border); }
.ph-fn-featured__card { background: var(--rust-light); border: 0.5px solid var(--rye-border); border-radius: 12px; overflow: hidden; margin-top: 0.25rem; transition: background 0.2s ease, border-color 0.2s ease; }
.ph-fn-featured__img { width: 100%; height: 240px; object-fit: cover; display: block; transition: opacity 0.2s ease; }
.ph-fn-featured__img-placeholder { width: 100%; height: 240px; background: var(--rye-deep); display: flex; align-items: center; justify-content: center; }
.ph-fn-featured__body { padding: 1.75rem 1.75rem 2rem; }
.ph-fn-featured__cat { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); margin-bottom: 0.5rem; }
.ph-fn-featured__title { font-family: var(--serif); font-size: clamp(calc(20px * var(--ph-font-scale, 1)), calc(3vw * var(--ph-font-scale, 1)), calc(26px * var(--ph-font-scale, 1))); font-weight: 300; line-height: 1.25; color: var(--dark); margin-bottom: 0.5rem; }
.ph-fn-featured__subtitle { font-family: var(--serif); font-size: calc(15px * var(--ph-font-scale, 1)); font-style: italic; font-weight: 300; color: #7a5a45; margin-bottom: 0.75rem; line-height: 1.45; }
.ph-fn-featured__excerpt { font-size: calc(13px * var(--ph-font-scale, 1)); line-height: 1.8; color: #5a4535; max-width: 540px; }
.ph-fn-featured__meta { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.1em; color: #8a6a50; margin-top: 1rem; }
.ph-fn-posts { background: var(--cream); padding: 3rem 2rem; border-bottom: 0.5px solid var(--border); }
.ph-fn-featured__card:hover {
  background: var(--rust);
  border-color: var(--rust);
}
.ph-fn-featured__card:hover .ph-fn-featured__img { opacity: 0; }
.ph-fn-featured__card:hover .ph-fn-featured__cat,
.ph-fn-featured__card:hover .ph-fn-featured__title,
.ph-fn-featured__card:hover .ph-fn-featured__subtitle,
.ph-fn-featured__card:hover .ph-fn-featured__excerpt,
.ph-fn-featured__card:hover .ph-fn-featured__meta {
  color: var(--rust-light);
}
.ph-fn-post { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; padding: 1.75rem 0; border-top: 0.5px solid var(--border); align-items: start; transition: background 0.2s ease, border-color 0.2s ease; }
.ph-fn-post:first-of-type { border-top: none; padding-top: 0; }
.ph-fn-post__cat { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); margin-bottom: 0.4rem; }
.ph-fn-post__title { font-family: var(--serif); font-size: calc(20px * var(--ph-font-scale, 1)); font-weight: 300; line-height: 1.3; color: var(--dark); margin-bottom: 0.5rem; }
.ph-fn-post__excerpt { font-size: calc(12px * var(--ph-font-scale, 1)); line-height: 1.72; color: var(--body); }
.ph-fn-post__meta { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.1em; color: var(--taupe); margin-top: 0.6rem; }
.ph-fn-post__arrow { width: 2rem; height: 2rem; border: 0.5px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--rust); flex-shrink: 0; margin-top: 0.2rem; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.ph-fn-post:hover {
  background: var(--rust);
  border-color: var(--rust);
}
.ph-fn-post:hover .ph-fn-post__cat,
.ph-fn-post:hover .ph-fn-post__title,
.ph-fn-post:hover .ph-fn-post__excerpt,
.ph-fn-post:hover .ph-fn-post__meta {
  color: var(--rust-light);
}
.ph-fn-post:hover .ph-fn-post__arrow {
  background: var(--rust-light);
  border-color: var(--rust-light);
  color: var(--rust);
}
.ph-fn-subscribe { background: var(--dark); padding: 3.5rem 2rem; text-align: center; }
.ph-fn-subscribe__heading { font-family: var(--serif); font-size: clamp(calc(22px * var(--ph-font-scale, 1)), calc(3vw * var(--ph-font-scale, 1)), calc(28px * var(--ph-font-scale, 1))); font-weight: 300; color: var(--off-white); margin-bottom: 0.5rem; }
.ph-fn-subscribe__sub { font-size: calc(12px * var(--ph-font-scale, 1)); color: var(--body); margin-bottom: 1.75rem; }
.ph-fn-subscribe__btns { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.ph-about-services { background: var(--rye); padding: 3rem 2rem; border-bottom: 0.5px solid var(--rye-border); }
.ph-about-services__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1px; margin-top: 1.5rem; background: var(--rye-border); border: 0.5px solid var(--rye-border); border-radius: 12px; overflow: hidden; }
.ph-about-services__grid > :not(.ph-about-service) { display: none; }
.ph-about-service { background: var(--cream); padding: 1.5rem 1.25rem 1.5rem 1.5rem; border-left: 2px solid var(--rust); }
.ph-about-service__title { font-size: calc(13px * var(--ph-font-scale, 1)); font-weight: 400; color: var(--dark); margin-bottom: 0.5rem; }
.ph-about-service__desc { font-size: calc(12px * var(--ph-font-scale, 1)); color: var(--body); line-height: 1.75; }
.ph-process { background: var(--cream); padding: 3rem 2rem; border-bottom: 0.5px solid var(--border); }
.ph-process__steps { margin-top: 1.5rem; border: 0.5px solid var(--border); border-radius: 12px; overflow: hidden; }
.ph-step { display: flex; align-items: flex-start; gap: 1.75rem; padding: 1.5rem 1.75rem; background: var(--cream); border-bottom: 0.5px solid var(--border); }
.ph-step:last-child { border-bottom: none; }
.ph-step__num { font-family: var(--serif); font-size: calc(26px * var(--ph-font-scale, 1)); font-weight: 300; color: var(--rust); min-width: 2rem; line-height: 1; padding-top: 0.1rem; }
.ph-step__title { font-size: calc(13px * var(--ph-font-scale, 1)); font-weight: 400; color: var(--dark); margin-bottom: 0.35rem; }
.ph-step__desc { font-size: calc(12px * var(--ph-font-scale, 1)); color: var(--body); line-height: 1.7; }

/* ============================================================
   TEAM PAGE
   ============================================================ */
.ph-team { background: var(--cream); padding: 3rem 2rem; border-bottom: 0.5px solid var(--border); }
.ph-member { display: grid; grid-template-columns: 180px 1fr; gap: 2.5rem; padding: 2.75rem 0; border-top: 0.5px solid var(--border); align-items: start; }
.ph-member:first-of-type { border-top: none; padding-top: 0; }
.ph-member__photo { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; border-radius: 8px; }
.ph-member__avatar { width: 100%; aspect-ratio: 1; background: var(--rye); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.ph-member__initials { font-family: var(--serif); font-size: calc(36px * var(--ph-font-scale, 1)); font-weight: 300; color: var(--taupe); letter-spacing: 0.08em; }
.ph-member__name { font-family: var(--serif); font-size: calc(28px * var(--ph-font-scale, 1)); font-weight: 300; color: var(--dark); margin-bottom: 0.25rem; }
.ph-member__title { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.18em; text-transform: uppercase; color: var(--rust); margin-bottom: 1.5rem; }
.ph-member__bio { font-size: calc(13px * var(--ph-font-scale, 1)); line-height: 1.85; color: var(--body); margin-bottom: 1rem; }
.ph-member__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.ph-member__tag { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 0.3rem 0.75rem; border: 0.5px solid var(--border); border-radius: 2px; }
.ph-member__link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust); border-bottom: 0.5px solid var(--rust); padding-bottom: 2px; margin-top: 1.25rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.ph-contact-details { background: var(--cream); padding: 3rem 2rem; border-bottom: 0.5px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.ph-contact-details--with-intake { grid-template-columns: minmax(320px, 0.88fr) minmax(420px, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.ph-contact-details__main > :empty { display: none; }
.ph-contact-details__main > :empty + * { margin-top: 0; }
.ph-contact-details__main > * + * { margin-top: 2rem; }
.ph-contact-intake { background: var(--linen); border: 0.5px solid var(--border); border-radius: 8px; padding: 1.5rem; max-width: 620px; }
.ph-contact-intake__intro { font-size: calc(12px * var(--ph-font-scale, 1)); line-height: 1.7; color: var(--body); margin: -0.5rem 0 1.5rem; max-width: 420px; }
.ph-contact-intake .ph-diag { background: transparent; border: 0; padding: 0; }
.ph-contact-intake .ph-diag__progress { margin-bottom: 1.5rem; }
.ph-contact-intake .ph-diag__q { font-size: clamp(calc(22px * var(--ph-font-scale, 1)), calc(2.6vw * var(--ph-font-scale, 1)), calc(28px * var(--ph-font-scale, 1))); max-width: none; }
.ph-contact-intake .ph-intake-details__grid { grid-template-columns: 1fr; }
.ph-contact-detail { padding-top: 1.25rem; border-top: 0.5px solid var(--rust); margin-bottom: 1.5rem; }
.ph-contact-detail__label { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe); margin-bottom: 0.4rem; }
.ph-contact-detail__value { font-family: var(--serif); font-size: calc(18px * var(--ph-font-scale, 1)); font-weight: 300; color: var(--dark); }
.ph-contact-direct {
  background: var(--linen);
  border: 0.5px solid var(--border);
  border-left: 2px solid var(--rust);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.ph-contact-direct__label {
  font-size: calc(10px * var(--ph-font-scale, 1));
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.35rem;
}
.ph-contact-direct__value {
  font-family: var(--serif);
  font-size: calc(20px * var(--ph-font-scale, 1));
  font-weight: 300;
  color: var(--dark);
  border-bottom: 0.5px solid var(--rust);
}

/* ============================================================
   SITEMAP + PRIVACY POLICY
   ============================================================ */
.ph-sitemap-page,
.ph-policy {
  background: var(--cream);
  padding: clamp(3rem, 6vw, 5.5rem) 2rem;
  border-bottom: 0.5px solid var(--border);
}
.ph-sitemap__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rye-border);
  border: 0.5px solid var(--rye-border);
  border-radius: 8px;
  overflow: hidden;
}
.ph-sitemap__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 130px;
  padding: 1.5rem;
  background: var(--linen);
}
.ph-sitemap__title {
  font-family: var(--serif);
  font-size: calc(26px * var(--ph-font-scale, 1));
  font-weight: 300;
  color: var(--dark);
}
.ph-sitemap__desc {
  font-size: calc(12px * var(--ph-font-scale, 1));
  line-height: 1.7;
  color: var(--body);
  max-width: 28rem;
}
.ph-sitemap__item:hover .ph-sitemap__title { color: var(--rust); }
.ph-sitemap__xml {
  margin-top: 1.5rem;
  font-size: calc(12px * var(--ph-font-scale, 1));
  line-height: 1.7;
  color: var(--body);
}
.ph-sitemap__xml a {
  color: var(--rust);
  border-bottom: 0.5px solid var(--rust);
}
.ph-policy__inner {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 0;
}
.ph-policy__inner > p:first-child {
  display: inline-block;
  background: var(--linen);
  border-left: 2px solid var(--rust);
  padding: 0.75rem 1rem;
  margin-bottom: 2.25rem;
}
.ph-policy__inner h2 {
  font-family: var(--serif);
  font-size: clamp(calc(24px * var(--ph-font-scale, 1)), calc(3vw * var(--ph-font-scale, 1)), calc(34px * var(--ph-font-scale, 1)));
  font-weight: 300;
  line-height: 1.2;
  color: var(--dark);
  margin: 2.75rem 0 1rem;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
}
.ph-policy__inner h2:first-of-type {
  margin-top: 0;
}
.ph-policy__inner h3 {
  font-size: calc(12px * var(--ph-font-scale, 1));
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust-dark);
  margin: 1.75rem 0 0.75rem;
}
.ph-policy__inner p {
  font-size: calc(14px * var(--ph-font-scale, 1));
  line-height: 1.85;
  color: var(--body);
  margin-bottom: 1rem;
}
.ph-policy__inner ul {
  list-style: disc;
  margin: 0 0 1.35rem 1.25rem;
  padding: 0;
}
.ph-policy__inner li {
  font-size: calc(14px * var(--ph-font-scale, 1));
  line-height: 1.75;
  color: var(--body);
  margin-bottom: 0.35rem;
}
.ph-policy__inner table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.25rem 0 1.75rem;
  font-size: calc(13px * var(--ph-font-scale, 1));
  line-height: 1.65;
  color: var(--body);
  background: var(--linen);
  border: 0.5px solid var(--rye-border);
}
.ph-policy__inner th,
.ph-policy__inner td {
  border-right: 0.5px solid var(--rye-border);
  border-bottom: 0.5px solid var(--rye-border);
  min-width: 220px;
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
}
.ph-policy__inner tr:last-child td { border-bottom: 0; }
.ph-policy__inner th:last-child,
.ph-policy__inner td:last-child { border-right: 0; }
.ph-policy__inner th {
  font-size: calc(10px * var(--ph-font-scale, 1));
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  background: var(--rye);
}
.ph-policy__inner a {
  color: var(--rust);
  border-bottom: 0.5px solid var(--rust);
}

.ph-legal-page {
  background: var(--cream);
  border-bottom: 0.5px solid var(--border);
}
.ph-legal-page > :not(.ph-hero):not(.ph-policy) {
  width: min(calc(100% - 4rem), 920px);
  margin-left: auto;
  margin-right: auto;
}
.ph-legal-page > :not(.ph-hero):not(.ph-policy):first-child {
  margin-top: clamp(3rem, 6vw, 5.5rem);
}
.ph-legal-page > .ph-hero + :not(.ph-policy) {
  margin-top: clamp(3rem, 6vw, 5.5rem);
}
.ph-legal-page > :not(.ph-hero):not(.ph-policy):last-child {
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}
.ph-legal-page > p,
.ph-legal-page > ul,
.ph-legal-page > ol,
.ph-legal-page > table,
.ph-legal-page > figure {
  margin-bottom: 1.2rem;
}
.ph-legal-page > p {
  font-size: calc(14px * var(--ph-font-scale, 1));
  line-height: 1.85;
  color: var(--body);
}
.ph-legal-page .wp-block-group p,
.ph-legal-page .wp-block-column p {
  font-size: calc(14px * var(--ph-font-scale, 1));
  line-height: 1.85;
  color: var(--body);
  margin-bottom: 1rem;
}
.ph-legal-page > h2 {
  font-family: var(--serif);
  font-size: clamp(calc(24px * var(--ph-font-scale, 1)), calc(3vw * var(--ph-font-scale, 1)), calc(34px * var(--ph-font-scale, 1)));
  font-weight: 300;
  line-height: 1.2;
  color: var(--dark);
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
}
.ph-legal-page > h2:first-of-type {
  margin-top: 0;
}
.ph-legal-page > h3,
.ph-legal-page > h4 {
  font-size: calc(12px * var(--ph-font-scale, 1));
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--rust-dark);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.ph-legal-page .wp-block-group h2,
.ph-legal-page .wp-block-column h2 {
  font-family: var(--serif);
  font-size: clamp(calc(24px * var(--ph-font-scale, 1)), calc(3vw * var(--ph-font-scale, 1)), calc(34px * var(--ph-font-scale, 1)));
  font-weight: 300;
  line-height: 1.2;
  color: var(--dark);
  margin: 2rem 0 1rem;
}
.ph-legal-page .wp-block-group h3,
.ph-legal-page .wp-block-column h3,
.ph-legal-page .wp-block-group h4,
.ph-legal-page .wp-block-column h4 {
  font-size: calc(12px * var(--ph-font-scale, 1));
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--rust-dark);
  margin: 1.5rem 0 0.75rem;
}
.ph-legal-page > ul,
.ph-legal-page > ol,
.ph-legal-page .wp-block-group ul,
.ph-legal-page .wp-block-group ol,
.ph-legal-page .wp-block-column ul,
.ph-legal-page .wp-block-column ol,
.ph-legal-page .wp-block-list {
  list-style-position: outside;
  padding-left: 1.25rem;
  margin-bottom: 1.2rem;
}
.ph-legal-page > ul,
.ph-legal-page .wp-block-group ul,
.ph-legal-page .wp-block-column ul,
.ph-legal-page .wp-block-list {
  list-style-type: disc;
}
.ph-legal-page > ol,
.ph-legal-page .wp-block-group ol,
.ph-legal-page .wp-block-column ol {
  list-style-type: decimal;
}
.ph-legal-page > ul li,
.ph-legal-page > ol li,
.ph-legal-page .wp-block-group li,
.ph-legal-page .wp-block-column li,
.ph-legal-page .wp-block-list li {
  font-size: calc(14px * var(--ph-font-scale, 1));
  line-height: 1.75;
  color: var(--body);
  margin-bottom: 0.35rem;
}
.ph-legal-page .wp-block-columns {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.ph-legal-page .wp-block-column {
  flex: 1 1 0;
  min-width: 0;
}
.ph-legal-page .wp-block-group,
.ph-legal-page .wp-block-columns,
.ph-legal-page .wp-block-table {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.ph-legal-page .wp-block-group {
  padding: 0;
}
.ph-legal-page .wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ph-legal-page table,
.ph-legal-page .wp-block-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: calc(13px * var(--ph-font-scale, 1));
  line-height: 1.65;
  color: var(--body);
  background: var(--linen);
  border: 0.5px solid var(--rye-border);
}
.ph-legal-page table th,
.ph-legal-page table td,
.ph-legal-page .wp-block-table th,
.ph-legal-page .wp-block-table td {
  min-width: 220px;
  padding: 0.85rem 1rem;
  border-right: 0.5px solid var(--rye-border);
  border-bottom: 0.5px solid var(--rye-border);
  text-align: left;
  vertical-align: top;
}
.ph-legal-page table th,
.ph-legal-page .wp-block-table th {
  font-size: calc(10px * var(--ph-font-scale, 1));
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  background: var(--rye);
}
.ph-legal-page table tr:last-child td,
.ph-legal-page .wp-block-table tr:last-child td {
  border-bottom: 0;
}
.ph-legal-page table th:last-child,
.ph-legal-page table td:last-child,
.ph-legal-page .wp-block-table th:last-child,
.ph-legal-page .wp-block-table td:last-child {
  border-right: 0;
}
.ph-legal-page a {
  color: var(--rust);
  border-bottom: 0.5px solid var(--rust);
}

.ph-page-privacy-policy #main-content > p,
.ph-page-privacy-policy #main-content > h2,
.ph-page-privacy-policy #main-content > h3,
.ph-page-privacy-policy #main-content > ul,
.ph-page-privacy-policy #main-content > table {
  width: min(calc(100% - 4rem), 920px);
  margin-left: auto;
  margin-right: auto;
}
.ph-page-privacy-policy #main-content > h2 {
  font-family: var(--serif);
  font-size: clamp(calc(24px * var(--ph-font-scale, 1)), calc(3vw * var(--ph-font-scale, 1)), calc(34px * var(--ph-font-scale, 1)));
  font-weight: 300;
  line-height: 1.2;
  color: var(--dark);
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
}
.ph-page-privacy-policy #main-content > p,
.ph-page-privacy-policy #main-content > ul li {
  font-size: calc(14px * var(--ph-font-scale, 1));
  line-height: 1.85;
  color: var(--body);
}
.ph-page-privacy-policy #main-content > table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 0.5px solid var(--rye-border);
  background: var(--linen);
}
.ph-page-privacy-policy #main-content > table th,
.ph-page-privacy-policy #main-content > table td {
  min-width: 220px;
  padding: 0.85rem 1rem;
  border-right: 0.5px solid var(--rye-border);
  border-bottom: 0.5px solid var(--rye-border);
  text-align: left;
  vertical-align: top;
}

/* ============================================================
   FOOTER
   ============================================================ */
.ph-footer { background: var(--dark); padding: 1.75rem 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; border-top: 0.5px solid var(--dark-2); }
.ph-footer__logo { font-family: var(--serif); font-size: calc(13px * var(--ph-font-scale, 1)); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.ph-footer__links { display: flex; gap: 1.75rem; align-items: center; flex-wrap: wrap; }
.ph-footer__links a { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dark-3); transition: color 0.2s; }
.ph-footer__links a:hover { color: var(--muted); }
.ph-footer__links a.fn { color: #7a4a30; }
.ph-footer__links a.fn:hover { color: var(--rust); }
.ph-footer__copy { width: 100%; font-size: calc(10px * var(--ph-font-scale, 1)); color: var(--dark-2); letter-spacing: 0.08em; margin-top: 0.25rem; padding-top: 1rem; border-top: 0.5px solid var(--dark-2); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .ph-hero__brand { display: none; }
}
@media (max-width: 900px) {
  .ph-services__grid { grid-template-columns: 1fr 1fr; }
  .ph-philosophy { grid-template-columns: 1fr; gap: 1.5rem; }
  .ph-fn-hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .ph-contact-details,
  .ph-contact-details--with-intake { grid-template-columns: 1fr; gap: 2.5rem; }
  .ph-contact-intake { max-width: none; }
  .ph-sitemap__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --section-pad: 2.5rem 1.25rem; }
  .ph-nav__links { display: none; }
  .ph-nav__right { display: none; }
  .ph-nav__toggle { display: flex; }
  .ph-services__grid { grid-template-columns: 1fr; }
  .ph-about-mission { padding: 3rem 1.25rem; }
  .ph-about-mission__statement { font-size: calc(24px * var(--ph-font-scale, 1)); }
  .ph-work__grid { grid-template-columns: 1fr; }
  .ph-work__card--wide { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .ph-about-services__grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .ph-member { grid-template-columns: 1fr; }
  .ph-member__photo, .ph-member__avatar { width: 140px; height: 140px; aspect-ratio: auto; }
  .ph-policy { padding: 2.75rem 1.25rem; }
  .ph-policy__inner > p:first-child { display: block; }
  .ph-policy__inner th,
  .ph-policy__inner td,
  .ph-page-privacy-policy #main-content > table th,
  .ph-page-privacy-policy #main-content > table td,
  .ph-legal-page table th,
  .ph-legal-page table td,
  .ph-legal-page .wp-block-table th,
  .ph-legal-page .wp-block-table td { min-width: 180px; }
  .ph-legal-page > :not(.ph-hero):not(.ph-policy) { width: calc(100% - 2.5rem); }
  .ph-legal-page .wp-block-columns { flex-direction: column; gap: 1.25rem; }
  .ph-legal-page .wp-block-column { width: 100%; }
  .ph-page-privacy-policy #main-content > p,
  .ph-page-privacy-policy #main-content > h2,
  .ph-page-privacy-policy #main-content > h3,
  .ph-page-privacy-policy #main-content > ul,
  .ph-page-privacy-policy #main-content > table { width: calc(100% - 2.5rem); }
  .ph-markets__item { flex: 1 1 45%; border-right: none; border-bottom: 0.5px solid var(--border); }
  .ph-fn-strip__header { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .ph-cta-band { flex-direction: column; align-items: flex-start; }
  .ph-footer { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  body { opacity: 1; }
  .ph-arrive, .ph-arrive-fade { opacity: 1; transform: none; }
  .ph-hero__headline > span { opacity: 1; transform: none; }
}

/* ============================================================
   PREVIOUS ENGAGEMENTS — hover grid
   ============================================================ */
.ph-eng {
  background: var(--cream);
  padding: 3rem 2rem 0;
  border-top: 0.5px solid var(--border);
}
.ph-label--eng {
  color: var(--taupe);
  margin-bottom: 1.5rem;
}
.ph-eng__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.ph-eng__grid--cols-1 {
  grid-template-columns: 1fr;
}
.ph-eng__grid--cols-2 {
  grid-template-columns: 1fr 1fr;
}
.ph-eng__grid > :not(.ph-eng__card) {
  display: none !important;
}
.ph-eng__card {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--rye);
  overflow: hidden;
  cursor: default;
}
.ph-eng__card--wide {
  grid-column: span 2;
  aspect-ratio: 8/3;
}
.ph-eng__card--missing-image {
  background: var(--rye);
}
.ph-eng__card--missing-image::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 0.5px solid rgba(102,88,71,0.22);
  border-radius: 10px;
  pointer-events: none;
}
.ph-eng__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  filter: none;
  transition: opacity 0.25s ease;
  transform: none;
  z-index: 0;
}
.ph-eng__overlay {
  position: absolute;
  inset: 0;
  background: rgba(46,41,32,0.34);
  transition: background 0.35s ease;
  z-index: 1;
}
.ph-eng__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  gap: 0.4rem;
}
.ph-eng__logo {
  font-family: var(--serif);
  font-weight: 700;
  text-align: center;
  color: var(--off-white);
  letter-spacing: 0.12em;
  line-height: 1.25;
  transition: color 0.35s ease;
  text-shadow: 0 1px 12px rgba(46,41,32,0.52);
  user-select: none;
}
.ph-eng__logo-main { font-size: calc(15px * var(--ph-font-scale, 1)); display: block; }
.ph-eng__logo-sub  { font-size: calc(10px * var(--ph-font-scale, 1)); display: block; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 0.25rem; opacity: 0.75; }
.ph-eng__type {
  font-size: calc(9px * var(--ph-font-scale, 1));
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust-on-dark);
  opacity: 1;
  transform: translateY(0);
  transition: color 0.35s ease;
  text-shadow: 0 1px 10px rgba(46,41,32,0.5);
}
.ph-eng__location {
  font-size: calc(9px * var(--ph-font-scale, 1));
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,233,222,0.86);
  opacity: 1;
  transform: translateY(0);
  transition: color 0.35s ease;
  text-align: center;
  text-shadow: 0 1px 10px rgba(46,41,32,0.5);
}
.ph-eng__card--has-image:hover .ph-eng__img      { opacity: 0; }
.ph-eng__card--has-image:hover .ph-eng__overlay  { background: var(--rust); }
.ph-eng__card--has-image:hover .ph-eng__logo,
.ph-eng__card--has-image:hover .ph-eng__type,
.ph-eng__card--has-image:hover .ph-eng__location { color: var(--rust-light); }
.ph-eng__card--missing-image .ph-eng__overlay { background: rgba(247,243,238,0.14); }
.ph-eng__card--missing-image .ph-eng__logo { color: var(--dark); text-shadow: none; }
.ph-eng__card--missing-image .ph-eng__type { color: var(--rust); text-shadow: none; }
.ph-eng__card--missing-image .ph-eng__location { color: var(--body); text-shadow: none; }
.ph-eng__card--missing-image:hover .ph-eng__overlay { background: var(--rust); }
.ph-eng__card--missing-image:hover .ph-eng__logo,
.ph-eng__card--missing-image:hover .ph-eng__type,
.ph-eng__card--missing-image:hover .ph-eng__location { color: var(--rust-light); }
.ph-eng__card--missing-image .ph-eng__type,
.ph-eng__card--missing-image .ph-eng__location {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .ph-eng {
    padding-left: 0;
    padding-right: 0;
  }
  .ph-label--eng {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .ph-eng__grid,
  .ph-eng__grid--cols-1,
  .ph-eng__grid--cols-2 {
    grid-template-columns: 1fr;
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
  .ph-eng__card,
  .ph-eng__card--wide {
    grid-column: auto;
    width: 100%;
    aspect-ratio: 4/3;
  }
}

/* ============================================================
   ARC QUOTE
   ============================================================ */
.ph-arc {
  background: var(--linen);
  padding: 1.5rem 2rem;
  border-bottom: 0.5px solid var(--border);
  display: grid;
  grid-template-columns: 2px 1fr;
  gap: 1.25rem;
  align-items: center;
}
.ph-arc__line {
  background: var(--rust);
  align-self: stretch;
  border-radius: 2px;
}
.ph-arc__text {
  font-family: var(--serif);
  font-size: calc(16px * var(--ph-font-scale, 1));
  font-weight: 300;
  line-height: 1.65;
  color: var(--dark);
  font-style: italic;
}

/* ============================================================
   PEOPLE WE TRUST — About page
   ============================================================ */
.ph-trust {
  background: var(--rye);
  padding: 3rem 2rem;
  border-bottom: 0.5px solid var(--rye-border);
}
.ph-trust__intro {
  font-family: var(--serif);
  font-size: clamp(calc(18px * var(--ph-font-scale, 1)), calc(2.5vw * var(--ph-font-scale, 1)), calc(22px * var(--ph-font-scale, 1)));
  font-weight: 300;
  line-height: 1.6;
  color: var(--dark);
  max-width: 520px;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 0.5px solid var(--rye-border);
}
.ph-trust__intro em { color: var(--rust); font-style: italic; }
.ph-person {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 2rem 0;
  border-bottom: 0.5px solid var(--rye-border);
  align-items: start;
}
.ph-person:last-child { border-bottom: none; padding-bottom: 0; }
.ph-person__name {
  font-family: var(--serif);
  font-size: calc(26px * var(--ph-font-scale, 1));
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 0.2rem;
  line-height: 1.15;
}
.ph-person__title {
  font-size: calc(10px * var(--ph-font-scale, 1));
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.15rem;
}
.ph-person__org {
  font-size: calc(10px * var(--ph-font-scale, 1));
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1rem;
}
.ph-person__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.ph-person__tag {
  font-size: calc(9px * var(--ph-font-scale, 1));
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 0.5px solid var(--border);
  border-radius: 2px;
  color: var(--muted);
}
.ph-person__role-label {
  font-size: calc(10px * var(--ph-font-scale, 1));
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.ph-person__desc {
  font-size: calc(13px * var(--ph-font-scale, 1));
  line-height: 1.8;
  color: var(--body);
}
.ph-person__note {
  font-size: calc(11px * var(--ph-font-scale, 1));
  color: var(--taupe);
  margin-top: 0.75rem;
  font-style: italic;
  line-height: 1.65;
}
.ph-trust__closing {
  background: var(--linen);
  padding: 1.5rem 2rem;
  border-top: 0.5px solid var(--border);
  display: grid;
  grid-template-columns: 2px 1fr;
  gap: 1.25rem;
  align-items: center;
}
.ph-trust__closing-line { background: var(--rust); align-self: stretch; border-radius: 2px; }
.ph-trust__closing-text { font-family: var(--serif); font-size: calc(16px * var(--ph-font-scale, 1)); font-weight: 300; line-height: 1.6; color: var(--dark); font-style: italic; }
.ph-trust__closing-attr { font-size: calc(10px * var(--ph-font-scale, 1)); letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe); margin-top: 0.5rem; }

@media (max-width: 640px) {
  .ph-person { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ============================================================
   FOOTER SITEMAP
   ============================================================ */
.ph-footer {
  background: var(--dark);
  border-top: 0.5px solid var(--dark-2);
  padding: 0;
}
.ph-footer__sitemap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.5rem 2rem 2rem;
  border-bottom: 0.5px solid var(--dark-2);
}
.ph-footer__sitemap-label {
  font-size: calc(10px * var(--ph-font-scale, 1));
  font-weight: 300;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}
.ph-footer__widget { margin: 0; }
.ph-footer__widget .custom-html-widget { margin: 0; }
.ph-footer__sitemap-col nav,
.ph-footer__sitemap-col .menu,
.ph-footer__sitemap-col .wp-block-navigation__container,
.ph-footer__sitemap-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ph-footer__sitemap-col li { margin: 0; }
.ph-footer__sitemap-col nav a,
.ph-footer__sitemap-col .menu a,
.ph-footer__sitemap-col .wp-block-navigation a,
.ph-footer__sitemap-col ul a {
  font-size: calc(12px * var(--ph-font-scale, 1));
  color: var(--dark-3);
  letter-spacing: 0.03em;
  line-height: 1.5;
  transition: color 0.2s;
}
.ph-footer__sitemap-col nav a:hover,
.ph-footer__sitemap-col .menu a:hover,
.ph-footer__sitemap-col .wp-block-navigation a:hover,
.ph-footer__sitemap-col ul a:hover { color: var(--muted); }
.ph-footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.ph-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.ph-footer__logo {
  font-family: var(--serif);
  font-size: calc(13px * var(--ph-font-scale, 1));
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.ph-social--footer {
  padding-left: 0.1rem;
}
.ph-social--footer a {
  color: var(--footer-copy);
}
.ph-social--footer a:hover,
.ph-social--footer a:focus-visible {
  color: var(--off-white);
}
.ph-footer__copy {
  font-size: calc(10px * var(--ph-font-scale, 1));
  color: var(--dark-2);
  letter-spacing: 0.06em;
}
.ph-footer__copy a {
  color: var(--dark-3);
  transition: color 0.2s;
}
.ph-footer__copy a:hover { color: var(--muted); }

@media (max-width: 900px) {
  .ph-footer__sitemap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ph-footer__sitemap { grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 2rem 1.25rem 1.5rem; }
  .ph-footer__bar { flex-direction: column; align-items: flex-start; padding: 1rem 1.25rem; }
  .ph-footer__brand { flex-direction: column; align-items: flex-start; gap: 0.65rem; }
}


/* ============================================================
   PAGE-DRIVEN CONTENT HELPERS — v2.1
   ============================================================ */
.ph-editable-copy p { margin-bottom: 1rem; }
.ph-editable-copy p:last-child { margin-bottom: 0; }
.ph-page-note { background: var(--cream); padding: 2rem; border-bottom: 0.5px solid var(--border); }

/* Footer readability refinements */
.ph-footer__logo,
.ph-footer__sitemap-label { color: var(--footer-support); }
.ph-footer__sitemap-col nav a,
.ph-footer__sitemap-col .menu a,
.ph-footer__sitemap-col .wp-block-navigation a,
.ph-footer__sitemap-col ul a,
.ph-footer__copy,
.ph-footer__copy a,
.ph-footer__links a,
.ph-footer__links a.fn { color: var(--footer-copy); }
.ph-footer__sitemap-col nav a:hover,
.ph-footer__sitemap-col .menu a:hover,
.ph-footer__sitemap-col .wp-block-navigation a:hover,
.ph-footer__sitemap-col ul a:hover,
.ph-footer__copy a:hover,
.ph-footer__links a:hover,
.ph-footer__links a.fn:hover,
.ph-social--footer a:hover,
.ph-social--footer a:focus-visible { color: var(--off-white); }
