/* ================================================================
   philip.css — Chastest Consult modern redesign
   ================================================================ */

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --navy:      #0D1B2A;
  --navy-2:    #1A2E44;
  --navy-3:    #243B55;
  --accent:    #C9941A;
  --accent-lt: #E8B94A;
  --teal:      #4ECDC4;
  --bg:        #F8FAFC;
  --bg-2:      #EEF2F7;
  --white:     #FFFFFF;
  --slate:     #2C3E50;
  --muted:     #64748B;
  --muted-2:   #94A3B8;
  --border:    #E2E8F0;
  --serif:     'Playfair Display', Georgia, serif;
  --sans:      'Inter', system-ui, sans-serif;
  --max:       1200px;
  --r:         6px;
}

/* ── Reset / Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.philip-page {
  font-family: var(--sans);
  background: var(--white);
  color: var(--slate);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Override Mobirise base styles scoped to this page */
body.philip-page a { color: var(--accent); text-decoration: none; }
body.philip-page a:hover { color: var(--accent-lt); }

/* ── Layout utility ───────────────────────────────────────────── */
.ph-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

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

/* ── Typography ───────────────────────────────────────────────── */
.ph-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.ph-h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
}

.ph-h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.015em;
}

.ph-h2--light { color: var(--white); }

.ph-h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}

.ph-h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ph-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 400;
  max-width: 620px;
}

.ph-lead--light { color: rgba(255,255,255,0.75); }

/* ── Buttons ──────────────────────────────────────────────────── */
.ph-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--r);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

/* High-specificity overrides so link colour rules can't bleed in */
body.philip-page .ph-btn--gold,
body.philip-page a.ph-btn--gold,
body.philip-page button.ph-btn--gold {
  background: var(--accent);
  color: var(--navy) !important;
}
body.philip-page .ph-btn--gold:hover,
body.philip-page a.ph-btn--gold:hover,
body.philip-page button.ph-btn--gold:hover {
  background: var(--accent-lt);
  color: var(--navy) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(201,148,26,0.35);
}

body.philip-page .ph-btn--outline,
body.philip-page a.ph-btn--outline {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid rgba(255,255,255,0.4);
}
body.philip-page .ph-btn--outline:hover,
body.philip-page a.ph-btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}

body.philip-page .ph-btn--dark,
body.philip-page a.ph-btn--dark {
  background: var(--navy);
  color: var(--white) !important;
}
body.philip-page .ph-btn--dark:hover,
body.philip-page a.ph-btn--dark:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
}

/* ── Navigation ───────────────────────────────────────────────── */
.ph-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

.ph-nav.scrolled {
  background: var(--navy);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.ph-nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ph-nav__logo img {
  height: 50px;
  width: auto;
  display: block;
  filter: brightness(1.1);
}

.ph-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.ph-nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.ph-nav__links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.ph-nav__cta {
  font-size: 14px;
  font-weight: 600;
  background: var(--accent);
  color: var(--navy) !important;
  padding: 10px 22px !important;
  border-radius: var(--r);
}

.ph-nav__cta:hover {
  background: var(--accent-lt) !important;
  color: var(--navy) !important;
}

.ph-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.ph-nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 920px) {
  .ph-nav__toggle { display: flex; }
  .ph-nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px 20px 20px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }
  .ph-nav__links.open { display: flex; }
  .ph-nav__links a { padding: 10px 16px; width: 100%; }
  .ph-nav__inner { padding: 0 20px; }
}

/* ── Hero ─────────────────────────────────────────────────────── */
.ph-hero {
  min-height: 90vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 60%, #1a3a5c 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 90px;
}

.ph-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.ph-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.ph-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 40px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.ph-hero__content { max-width: 560px; }

.ph-hero__content .ph-h1 { margin-bottom: 24px; }
.ph-hero__content .ph-lead { margin-bottom: 36px; }

.ph-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.ph-hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ph-hero__image img {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
  display: block;
}

@media (max-width: 900px) {
  .ph-hero__inner {
    grid-template-columns: 1fr;
    padding: 60px 20px 100px;
    gap: 40px;
    text-align: center;
  }
  .ph-hero__content { max-width: 100%; }
  .ph-hero__content .ph-lead { max-width: 100%; }
  .ph-hero__actions { justify-content: center; }
  .ph-hero__image img { max-width: 420px; margin: 0 auto; }
}

/* ── Feature Strip ────────────────────────────────────────────── */
.ph-features {
  background: var(--navy);
  padding: 80px 0;
}

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

.ph-features__item {
  padding: 48px 40px;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative;
}

.ph-features__item:last-child { border-right: none; }

.ph-features__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  width: 40px;
  height: 3px;
  background: var(--teal);
}

.ph-features__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.ph-features__text {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
}

@media (max-width: 768px) {
  .ph-features__grid { grid-template-columns: 1fr; }
  .ph-features__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .ph-features__item:last-child { border-bottom: none; }
}

/* ── What We Do ───────────────────────────────────────────────── */
.ph-whatwedo {
  padding: 100px 0;
  background: var(--white);
}

.ph-whatwedo__inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
}

.ph-whatwedo__text .ph-h2 { margin-bottom: 28px; }

.ph-whatwedo__text p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 20px;
}

.ph-whatwedo__text p:last-of-type { margin-bottom: 0; }

.ph-whatwedo__text .ph-btn { margin-top: 32px; }

.ph-whatwedo__image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  display: block;
}

@media (max-width: 900px) {
  .ph-whatwedo__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ph-whatwedo__image { order: -1; }
  .ph-whatwedo__image img { max-width: 480px; margin: 0 auto; }
}

/* ── Experience section ───────────────────────────────────────── */
.ph-experience {
  padding: 100px 0;
  background: var(--bg);
}

.ph-experience__inner {
  max-width: 860px;
}

.ph-experience__inner .ph-h2 { margin-bottom: 36px; }

.ph-experience__inner p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ── Intro Banner ─────────────────────────────────────────────── */
.ph-banner {
  padding: 80px 0;
  background: var(--navy-2);
  text-align: center;
}

.ph-banner__inner { max-width: 800px; margin: 0 auto; }

.ph-banner .ph-h2 { color: var(--white); margin-bottom: 20px; }

.ph-banner .ph-lead {
  color: rgba(255,255,255,0.7);
  max-width: 100%;
  margin: 0 auto;
  font-size: 16px;
}

/* ── Consulting Expertise Cards ───────────────────────────────── */
.ph-expertise {
  padding: 100px 0;
  background: var(--white);
}

.ph-expertise__head { margin-bottom: 56px; text-align: center; }
.ph-expertise__head .ph-h2 { margin-bottom: 12px; }

.ph-expertise__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.ph-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.ph-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.ph-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.ph-card__body { padding: 28px 28px 32px; }

.ph-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.ph-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

@media (max-width: 768px) {
  .ph-expertise__grid { grid-template-columns: 1fr; }
}

/* ── Differentiators ──────────────────────────────────────────── */
.ph-diff {
  padding: 100px 0;
  background: var(--bg);
}

.ph-diff__head { margin-bottom: 56px; }
.ph-diff__head .ph-h2 { margin-bottom: 12px; }
.ph-diff__head .ph-lead { font-size: 16px; }

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

.ph-diff__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 28px 32px;
  border-top: 3px solid var(--accent);
}

.ph-diff__card-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.ph-diff__card-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

@media (max-width: 768px) {
  .ph-diff__grid { grid-template-columns: 1fr; }
}

/* ── Clientele Carousel ───────────────────────────────────────── */
.ph-clients {
  padding: 80px 0;
  background: var(--white);
}

.ph-clients__head {
  margin-bottom: 40px;
}

.ph-clients__head .ph-h2 {
  font-size: clamp(22px, 3vw, 32px);
}

/* Client logos — single row */
.ph-clients__logos {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.ph-clients__logos img {
  flex: 0 0 auto;
  width: clamp(60px, 10vw, 110px);
  height: clamp(60px, 10vw, 110px);
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.3s, opacity 0.3s;
}
.ph-clients__logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ── Job Inquiry ──────────────────────────────────────────────── */
.ph-job {
  padding: 80px 0;
  background: var(--navy);
}

.ph-job__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.ph-job__text .ph-h3 { color: var(--white); margin-bottom: 10px; }
.ph-job__text p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
}
.ph-job__text a {
  color: var(--accent-lt);
  font-weight: 500;
}

/* ── Contact Section ──────────────────────────────────────────── */
.ph-contact {
  padding: 100px 0;
  background: var(--bg);
}

.ph-contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Contact info column */
.ph-contact__info .ph-h2 { margin-bottom: 16px; }
.ph-contact__info > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 36px;
}

.ph-contact__detail-group { margin-bottom: 28px; }

.ph-contact__detail-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.ph-contact__detail-list {
  list-style: none;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}

.ph-contact__detail-list a {
  color: var(--muted);
  transition: color 0.2s;
}
.ph-contact__detail-list a:hover { color: var(--accent); }

.ph-contact__offices {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ph-contact__office {
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--r);
  border-left: 3px solid var(--accent);
}

.ph-contact__office-city {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.ph-contact__office-addr {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Contact form column */
.ph-form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 44px 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.07);
  border: 1px solid var(--border);
}

.ph-form-card__title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.ph-form-card__sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}

.ph-form { display: flex; flex-direction: column; gap: 20px; }

.ph-field { display: flex; flex-direction: column; gap: 6px; }

.ph-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.ph-field input,
.ph-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--slate);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.ph-field input:focus,
.ph-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,148,26,0.12);
  background: var(--white);
}

.ph-field textarea { resize: vertical; min-height: 130px; }

.ph-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ph-form__submit {
  width: 100%;
  padding: 15px;
  background: var(--accent);
  color: var(--navy);
  border: none;
  border-radius: var(--r);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 6px;
}

.ph-form__submit:hover {
  background: var(--accent-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(201,148,26,0.3);
}

@media (max-width: 900px) {
  .ph-contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .ph-form__row { grid-template-columns: 1fr; }
  .ph-form-card { padding: 30px 24px; }
}

/* ── Footer ───────────────────────────────────────────────────── */
.ph-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}

.ph-footer__top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 40px 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.ph-footer__brand {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.ph-footer__tagline {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  max-width: 320px;
}

.ph-footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.ph-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ph-footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  line-height: 1.5;
}

.ph-footer__links a:hover { color: var(--accent-lt); }

.ph-footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}

.ph-footer__contact-item a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.ph-footer__contact-item a:hover { color: var(--accent-lt); }

.ph-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 40px;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 900px) {
  .ph-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 48px 20px 40px;
  }
  .ph-footer__bottom { padding: 18px 20px; }
}

@media (max-width: 600px) {
  .ph-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .ph-footer__tagline { max-width: 100%; }
}

/* ── Section spacing helpers ──────────────────────────────────── */
.ph-section-head { margin-bottom: 56px; }

/* ── Inner Page Hero (shared by about/services/contact) ──────── */
.ph-page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.ph-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.ph-page-hero .ph-wrap { position: relative; z-index: 1; }
.ph-page-hero .ph-label { margin-bottom: 14px; }
.ph-page-hero .ph-h1 {
  font-size: clamp(26px, 4vw, 48px);
  margin-bottom: 20px;
}
.ph-page-hero .ph-lead--light { max-width: 580px; }

/* ── About page ───────────────────────────────────────────────── */
.ph-about {
  padding: 100px 0;
  background: var(--white);
}

.ph-about__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 72px;
  align-items: center;
}

.ph-about__text .ph-h2 { margin-bottom: 24px; }
.ph-about__text p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 18px;
}
.ph-about__text p:last-child { margin-bottom: 0; }

.ph-about__img img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  display: block;
}

.ph-about-prose {
  padding: 100px 0;
  background: var(--bg);
}

.ph-about-prose__block {
  max-width: 860px;
  margin-bottom: 60px;
}
.ph-about-prose__block:last-child { margin-bottom: 0; }

.ph-about-prose__block .ph-h3 { margin-bottom: 24px; }
.ph-about-prose__block p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .ph-about__inner { grid-template-columns: 1fr; gap: 40px; }
  .ph-about__img { order: -1; }
  .ph-about__img img { max-width: 480px; margin: 0 auto; }
}

/* ── Services page ────────────────────────────────────────────── */
.ph-services {
  padding: 80px 0 100px;
  background: var(--white);
}

.ph-services__head { margin-bottom: 52px; }
.ph-services__head .ph-h2 { margin-bottom: 14px; }

.ph-pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.ph-pill-nav a {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy) !important;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 16px;
  transition: all 0.2s;
  background: var(--bg-2);
}

.ph-pill-nav a:hover {
  background: var(--accent) !important;
  color: var(--navy) !important;
  border-color: var(--accent);
}

.ph-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.ph-svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 32px 40px;
  border-top: 3px solid var(--accent);
  transition: box-shadow 0.25s, transform 0.25s;
}

.ph-svc-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

.ph-svc-card__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}

.ph-svc-card__intro {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 24px;
}

.ph-svc-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ph-svc-card__list li {
  font-size: 13px;
  color: var(--muted);
  padding: 7px 0 7px 18px;
  position: relative;
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
}

.ph-svc-card__list li:last-child { border-bottom: none; }

.ph-svc-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .ph-services__grid { grid-template-columns: 1fr; }
}

/* ── Scrolled-to indicator for nav ───────────────────────────── */
.ph-nav__links .active > a,
.ph-nav__links a.active {
  color: var(--accent-lt) !important;
}

/* ── whatwedo variants (reused for service sections) ─────────── */
.ph-whatwedo--alt { background: var(--bg); }

.ph-whatwedo--flip .ph-whatwedo__inner {
  grid-template-columns: 400px 1fr;
}
.ph-whatwedo--flip .ph-whatwedo__image { order: -1; }

@media (max-width: 900px) {
  .ph-whatwedo--flip .ph-whatwedo__image { order: -1; }
}

/* ── Service section bullet list ─────────────────────────────── */
.ph-svc-list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

.ph-svc-list li {
  padding: 9px 0 9px 20px;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.ph-svc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .ph-svc-list { grid-template-columns: 1fr; }
}

/* ── Services page intro — dark navy, continuous from hero ───── */
.ph-services-intro {
  padding: 72px 0 56px;
  background: var(--navy);
}
.ph-services-intro .ph-h2 {
  color: var(--white);
  margin-bottom: 14px;
}
.ph-services-intro .ph-lead {
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}
.ph-services-intro .ph-pill-nav a {
  color: rgba(255,255,255,0.8) !important;
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
}
.ph-services-intro .ph-pill-nav a:hover {
  background: var(--accent) !important;
  color: var(--navy) !important;
  border-color: var(--accent);
}

/* ── Dark navy variant for alternating service sections ───────── */
.ph-whatwedo--navy {
  background: var(--navy-2);
}
.ph-whatwedo--navy .ph-h2 { color: var(--white); }
.ph-whatwedo--navy .ph-whatwedo__text p { color: rgba(255,255,255,0.72); }
.ph-whatwedo--navy .ph-svc-list {
  border-top-color: rgba(255,255,255,0.15);
}
.ph-whatwedo--navy .ph-svc-list li {
  color: rgba(255,255,255,0.7);
  border-bottom-color: rgba(255,255,255,0.12);
}
.ph-whatwedo--navy .ph-svc-list li::before {
  background: var(--accent-lt);
}
