/*
 * Perejurist shared styles for WordPress / Elementor.
 * Load once from the child theme. Every selector is scoped with .pj-scope.
 */

/* Design tokens and a local reset */
.pj-scope {
  --pj-ink: #10344d;
  --pj-ink-deep: #09293c;
  --pj-blue: #3d697c;
  --pj-mist: #e6eef1;
  --pj-ivory: #f5f0e6;
  --pj-paper: #fffdf9;
  --pj-text: #27353d;
  --pj-muted: #69767c;
  --pj-gold: #b5894e;
  --pj-gold-soft: #d5b782;
  --pj-line: rgba(16, 52, 77, .15);
  --pj-section-title-size: clamp(1.85rem, 2.4vw, 2.35rem);
  width: 100%;
  color: var(--pj-text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.pj-scope,
.pj-scope *,
.pj-scope *::before,
.pj-scope *::after { box-sizing: border-box; }

.pj-scope h1,
.pj-scope h2,
.pj-scope h3,
.pj-scope p,
.pj-scope figure,
.pj-scope dl,
.pj-scope dd { margin: 0; }

.pj-scope ul,
.pj-scope ol { margin: 0; padding: 0; }

.pj-scope img,
.pj-scope svg { display: block; max-width: 100%; }

.pj-scope a { color: inherit; text-decoration: none; }
.pj-scope a:focus-visible { outline: 3px solid var(--pj-gold); outline-offset: 4px; }

/* Reusable layout and content components */
.pj-scope .pj-container {
  width: min(calc(100% - 48px), 1180px);
  margin-inline: auto;
}

.pj-scope.pj-section { padding: clamp(76px, 7vw, 110px) 0; }
.pj-scope.pj-section--paper { background: var(--pj-paper); }
.pj-scope.pj-section--white { background: #fff; }
.pj-scope.pj-section--ivory { background: var(--pj-ivory); }

.pj-scope .pj-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--pj-blue);
  font-size: .69rem;
  font-weight: 750;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pj-scope .pj-kicker::before {
  width: 28px;
  height: 1px;
  background: var(--pj-gold);
  content: "";
  flex: 0 0 auto;
}

.pj-scope .pj-kicker--light { color: rgba(255,255,255,.67); }

.pj-scope .pj-section-head {
  display: grid;
  align-items: end;
  padding-bottom: clamp(42px, 5vw, 68px);
  border-bottom: 1px solid var(--pj-line);
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, .55fr);
  gap: 70px;
}

.pj-scope .pj-section-title {
  max-width: 760px;
  margin-top: 22px;
  color: var(--pj-ink-deep);
  font-size: var(--pj-section-title-size);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.02;
}

.pj-scope .pj-section-copy { color: var(--pj-muted); font-size: .9rem; line-height: 1.78; }

.pj-scope .pj-section-head--single {
  display: block;
  padding-bottom: clamp(32px, 4vw, 48px);
}

.pj-scope .pj-section-head--no-line {
  padding-bottom: 20px;
  border-bottom: 0;
}

.pj-scope .pj-section-head--borderless { border-bottom: 0; }

.pj-scope .pj-section-head--no-line + .pj-consultation-grid,
.pj-scope .pj-section-head--no-line + .pj-topic-grid { margin-top: 18px; }

.pj-scope .pj-section-head--single .pj-section-title { margin-top: 0; }

.pj-scope .pj-copy-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(260px, .62fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 112px);
}

.pj-scope .pj-copy-grid .pj-section-title { margin-top: 0; }

.pj-scope .pj-copy-grid--separated {
  margin-top: clamp(58px, 7vw, 88px);
  padding-top: clamp(42px, 5vw, 62px);
  border-top: 1px solid var(--pj-line);
}

.pj-scope .pj-copy-grid--dark.pj-copy-grid--separated { border-color: rgba(255,255,255,.17); }

.pj-scope .pj-prose {
  display: grid;
  max-width: 760px;
  color: var(--pj-muted);
  gap: 18px;
}

.pj-scope .pj-prose p { font-size: 1rem; line-height: 1.78; }
.pj-scope .pj-prose strong { color: var(--pj-ink-deep); }
.pj-scope .pj-prose--light { color: rgba(255,255,255,.68); }
.pj-scope .pj-prose--light strong { color: #fff; }

.pj-scope .pj-card-title {
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.pj-scope .pj-card-copy {
  margin-top: 13px !important;
  color: var(--pj-muted);
  font-size: .82rem;
  line-height: 1.73;
}

.pj-scope .pj-actions { display: flex; align-items: center; gap: 13px; margin-top: 32px; }
.pj-scope .pj-actions--wide { gap: 27px; }

.pj-scope .pj-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 14px 22px;
  color: #fff !important;
  background: var(--pj-ink);
  border: 1px solid var(--pj-ink);
  border-radius: 5px;
  font-size: .79rem;
  font-weight: 750;
  letter-spacing: .035em;
  line-height: 1.2;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.pj-scope .pj-button:hover {
  background: var(--pj-ink-deep);
  border-color: var(--pj-ink-deep);
  transform: translateY(-2px);
}

.pj-scope .pj-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.pj-scope .pj-button--light {
  color: var(--pj-ink-deep) !important;
  background: #fff;
  border-color: #fff;
}

.pj-scope .pj-button--light:hover {
  color: #fff !important;
  background: var(--pj-ink-deep);
  border-color: var(--pj-ink-deep);
}

.pj-scope .pj-button--outline {
  color: #fff !important;
  background: transparent;
  border-color: rgba(255,255,255,.38);
}

.pj-scope .pj-button--ghost {
  color: var(--pj-ink) !important;
  background: transparent;
  border-color: var(--pj-ink);
}

.pj-scope .pj-button--ghost:hover {
  color: var(--pj-ink-deep) !important;
  background: transparent;
  border-color: var(--pj-ink-deep);
}

.pj-scope .pj-button--ghost svg { stroke: var(--pj-gold); }

/* Shared logo */
.pj-scope .pj-logo {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  color: var(--pj-ink) !important;
}

.pj-scope .pj-logo__mark {
  width: 44px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.pj-scope .pj-logo__frame { stroke: rgba(16, 52, 77, .34); }
.pj-scope .pj-logo__accent { stroke: var(--pj-gold); stroke-width: 2.4; }
.pj-scope .pj-logo__text { display: flex; flex-direction: column; line-height: 1; }

.pj-scope .pj-logo__text strong {
  font-size: 1.38rem;
  letter-spacing: -.035em;
}

.pj-scope .pj-logo__text small {
  margin-top: 6px;
  color: var(--pj-muted);
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* Home hero */
.pj-scope.pj-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6vw, 84px) 0;
  background:
    linear-gradient(90deg, rgba(16,52,77,.045) 1px, transparent 1px) 0 0 / 92px 100%,
    var(--pj-ivory);
}

.pj-scope.pj-hero::after {
  position: absolute;
  top: 9%;
  right: -11%;
  width: 42vw;
  aspect-ratio: 1;
  border: 1px solid rgba(181,137,78,.22);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.pj-scope .pj-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, .96fr);
  align-items: center;
  gap: clamp(45px, 6vw, 82px);
}

.pj-scope .pj-hero__copy { min-width: 0; }

.pj-scope .pj-hero__eyebrow { margin-bottom: 30px; }

.pj-scope .pj-hero__title {
  max-width: 690px;
  color: var(--pj-ink-deep);
  font-size: clamp(3rem, 4.2vw, 3.9rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .96;
}

.pj-scope .pj-hero__title em { color: var(--pj-gold); font-weight: 400; }

.pj-scope .pj-hero__lead {
  max-width: 600px;
  margin-top: 32px !important;
  color: var(--pj-blue);
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  font-weight: 600;
  line-height: 1.55;
}

.pj-scope .pj-hero__body {
  max-width: 620px;
  margin-top: 18px !important;
  color: var(--pj-muted);
  font-size: .98rem;
  line-height: 1.72;
}

.pj-scope .pj-hero__actions { margin-top: 24px; flex-wrap: wrap; }
.pj-scope .pj-hero__actions .pj-button { min-height: 48px; padding: 13px 20px; }
.pj-scope .pj-hero__call svg { width: 17px; stroke: var(--pj-gold); }

.pj-scope .pj-portrait {
  position: relative;
  isolation: isolate;
  max-width: 590px;
  margin-left: auto;
  padding: 18px 24px 24px 0;
}

.pj-scope .pj-portrait::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 34px 31%;
  border: 1px solid rgba(181, 135, 63, .52);
  border-radius: 10px 82px 10px 10px;
  transform: translateY(-1px);
  content: "";
}

.pj-scope .pj-portrait::after {
  position: absolute;
  z-index: -2;
  right: 0;
  bottom: 0;
  width: 74%;
  height: 72%;
  background: var(--pj-mist);
  border-radius: 4px;
  content: "";
}

.pj-scope .pj-portrait figure {
  position: relative;
  overflow: hidden;
  background: #dfe8eb;
  border-radius: 10px 82px 10px 10px;
  box-shadow: 0 25px 68px rgba(16,52,77,.16);
}

.pj-scope .pj-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.12;
  object-fit: cover;
  object-position: 50% 27%;
  filter: saturate(.88) contrast(1.02);
}

.pj-scope .pj-portrait__year {
  position: absolute;
  z-index: 2;
  top: 52px;
  right: -18px;
  display: grid;
  width: 136px;
  min-height: 126px;
  align-content: center;
  padding: 16px 14px;
  color: #fff;
  background: var(--pj-ink);
  border-top: 4px solid var(--pj-gold-soft);
  box-shadow: 0 16px 34px rgba(9,41,60,.18);
  gap: 2px;
  text-align: center;
}

.pj-scope .pj-portrait__year span {
  font-size: .59rem;
  font-weight: 750;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.pj-scope .pj-portrait__year strong {
  color: var(--pj-gold-soft);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.1;
}

/* Why Perejurist */
.pj-scope.pj-why {
  position: relative;
  background: #fff;
}

.pj-scope .pj-why__head {
  position: relative;
  z-index: 1;
}

.pj-scope .pj-why__head .pj-section-title { margin-top: 0; }

.pj-scope .pj-why__points {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: stretch;
  margin-top: 34px;
  background: transparent;
  counter-reset: pj-why;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.pj-scope .pj-why__point {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 245px;
  padding: 34px 32px 36px;
  flex-direction: column;
  background: var(--pj-ivory);
  border-top: 2px solid var(--pj-gold-soft);
  counter-increment: pj-why;
}

.pj-scope .pj-why__point::before {
  display: block;
  margin-bottom: 28px;
  color: var(--pj-gold);
  content: "0" counter(pj-why);
  font-size: .77rem;
  font-style: italic;
  letter-spacing: .04em;
}

.pj-scope .pj-why__point p {
  color: var(--pj-muted);
  font-size: .96rem;
  line-height: 1.78;
}

.pj-scope .pj-why__point strong {
  color: var(--pj-ink-deep);
  font-weight: 650;
}

/* Services grid */
.pj-scope.pj-services .pj-section-head--single {
  padding-bottom: 28px;
  border-bottom: 0;
}

.pj-scope .pj-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pj-scope .pj-service {
  position: relative;
  display: grid;
  min-height: 178px;
  padding: 28px 30px;
  background: #fff;
  border: 1px solid rgba(16,52,77,.13);
  border-top: 2px solid var(--pj-gold-soft);
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
}

.pj-scope .pj-service:nth-child(odd),
.pj-scope .pj-service:nth-child(even) { padding: 28px 30px; border: 1px solid rgba(16,52,77,.13); border-top: 2px solid var(--pj-gold-soft); }

.pj-scope .pj-service__icon {
  display: grid;
  width: 40px;
  height: 40px;
  color: var(--pj-ink);
  place-items: center;
}

.pj-scope .pj-service__icon svg { width: 30px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.pj-scope .pj-service .pj-card-title { color: var(--pj-ink-deep); font-size: clamp(1.08rem, 1.2vw, 1.3rem); }
.pj-scope .pj-service .pj-card-copy { max-width: 420px; }

/* Personal approach */
.pj-scope.pj-approach { position: relative; overflow: hidden; padding: clamp(76px, 7vw, 112px) 0; color: #fff; background: var(--pj-ink-deep); }

.pj-scope.pj-approach::after {
  position: absolute;
  right: -10%;
  bottom: -45%;
  width: 55vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
  content: "";
}

.pj-scope .pj-approach__section { position: relative; z-index: 1; }

.pj-scope .pj-approach__section--separated {
  margin-top: clamp(58px, 7vw, 88px);
  padding-top: clamp(48px, 5vw, 66px);
  border-top: 1px solid rgba(255,255,255,.16);
}

.pj-scope .pj-approach__head {
  display: flex;
  align-items: center;
  margin-bottom: clamp(34px, 4vw, 50px);
  gap: clamp(28px, 5vw, 70px);
}

.pj-scope .pj-approach__head::after {
  height: 1px;
  background: rgba(255,255,255,.18);
  content: "";
  flex: 1 1 auto;
}

.pj-scope .pj-approach__title { color: #fff !important; font-size: var(--pj-section-title-size); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.pj-scope .pj-approach__subtitle { color: #fff !important; font-size: var(--pj-section-title-size); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }

.pj-scope .pj-trust__points {
  display: grid;
  align-items: stretch;
  counter-reset: pj-trust;
  grid-template-columns: minmax(230px, .72fr) repeat(2, minmax(0, 1.35fr));
  grid-template-rows: repeat(2, minmax(245px, 1fr));
  gap: 12px;
  list-style: none;
}

.pj-scope .pj-trust__point {
  height: 100%;
  padding: 24px 25px 26px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.1);
  border-top: 2px solid var(--pj-gold-soft);
  counter-increment: pj-trust;
}

.pj-scope .pj-trust__point::before,
.pj-scope .pj-strength::before {
  display: block;
  margin-bottom: 17px;
  color: var(--pj-gold-soft);
  font-size: .7rem;
  font-style: italic;
  letter-spacing: .06em;
}

.pj-scope .pj-trust__point::before { content: "0" counter(pj-trust); }

.pj-scope .pj-trust__point--lead { grid-row: 1 / span 2; }

.pj-scope .pj-trust__point--lead strong { color: var(--pj-gold-soft); font-weight: 500; }

.pj-scope .pj-trust__point p,
.pj-scope .pj-strength p {
  color: rgba(255,255,255,.68);
  font-size: .91rem;
  line-height: 1.72;
}

.pj-scope .pj-trust__point.pj-trust__point--lead p {
  color: rgba(255,255,255,.9);
  font-size: 1.16rem;
  line-height: 1.65;
}

.pj-scope .pj-strengths {
  display: grid;
  counter-reset: pj-strength;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  list-style: none;
}

.pj-scope .pj-strength {
  height: 100%;
  min-height: 205px;
  padding: 28px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.1);
  border-top: 2px solid var(--pj-gold-soft);
  counter-increment: pj-strength;
}

.pj-scope .pj-strength::before { content: "0" counter(pj-strength); }

.pj-scope .pj-approach__name {
  display: inline-flex;
  width: fit-content;
  margin-top: 28px;
  padding-bottom: 3px;
  color: var(--pj-gold-soft) !important;
  border-bottom: 1px solid rgba(255,255,255,.22);
  font-size: .94rem;
  transition: border-color .18s ease, color .18s ease;
}

.pj-scope .pj-approach__name:hover { color: #fff !important; border-color: var(--pj-gold-soft); }

/* Consultation cards with WooCommerce product links */
.pj-scope .pj-consultation-grid {
  display: grid;
  margin-top: 60px;
  scroll-margin-top: 120px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.pj-scope .pj-consultation-card {
  position: relative;
  display: flex;
  min-height: 465px;
  padding: 32px;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(16,52,77,.11);
  border-top: 2px solid var(--pj-gold-soft);
}

.pj-scope .pj-consultation-card--featured {
  color: #fff;
  background: var(--pj-ink);
  border-color: var(--pj-ink);
  border-top-color: var(--pj-gold-soft);
}

.pj-scope .pj-consultation-card__number { color: var(--pj-gold); font-size: .76rem; font-style: italic; }

.pj-scope .pj-consultation-card .pj-card-title {
  margin-top: 44px;
  color: var(--pj-ink-deep) !important;
  font-size: clamp(1.08rem, 1.2vw, 1.3rem);
}

.pj-scope .pj-consultation-card .pj-card-copy { max-width: 350px; margin-top: 17px !important; }
.pj-scope .pj-consultation-card--featured .pj-card-title { color: #fff !important; }
.pj-scope .pj-consultation-card--featured .pj-card-copy { color: rgba(255,255,255,.62); }

.pj-scope .pj-consultation-card__features {
  display: grid;
  margin-top: 21px;
  color: var(--pj-blue);
  font-size: .71rem;
  gap: 7px;
  list-style: none;
}

.pj-scope .pj-consultation-card--featured .pj-consultation-card__features { color: rgba(255,255,255,.72); }

.pj-scope .pj-consultation-card__features li::before {
  margin-right: 8px;
  color: var(--pj-gold);
  content: "✓";
}

.pj-scope .pj-consultation-card__bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid var(--pj-line);
  gap: 18px;
}

.pj-scope .pj-consultation-card--featured .pj-consultation-card__bottom { border-color: rgba(255,255,255,.18); }

.pj-scope .pj-consultation-card__price {
  color: var(--pj-ink-deep);
  font-size: 2.35rem;
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
  white-space: nowrap;
}

.pj-scope .pj-consultation-card--featured .pj-consultation-card__price { color: var(--pj-gold-soft); }
.pj-scope .pj-consultation-card .pj-button { min-height: 46px; padding: 12px 16px; font-size: .7rem; }

.pj-scope .pj-consultation-card--featured .pj-button {
  color: var(--pj-ink-deep) !important;
  background: #fff;
  border-color: #fff;
}

.pj-scope .pj-consultation-card--featured .pj-button:hover {
  background: var(--pj-paper);
  border-color: var(--pj-paper);
}

/* Internal pages: shared hero, editorial and content components */
.pj-scope.pj-inner-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 7vw, 108px) 0;
  background:
    linear-gradient(90deg, rgba(16,52,77,.04) 1px, transparent 1px) 0 0 / 92px 100%,
    var(--pj-ivory);
}

.pj-scope.pj-inner-hero::after {
  position: absolute;
  right: -17%;
  bottom: -65%;
  width: 58vw;
  aspect-ratio: 1;
  border: 1px solid rgba(181,137,78,.2);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.pj-scope .pj-inner-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, .72fr);
  gap: clamp(52px, 8vw, 118px);
}

.pj-scope .pj-inner-hero__grid--single {
  display: block;
}

.pj-scope .pj-inner-hero__grid--single .pj-inner-hero__copy { max-width: 860px; }

.pj-scope .pj-inner-hero__grid--single .pj-services-intro {
  display: grid;
  max-width: none;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .74fr);
  gap: clamp(48px, 7vw, 104px);
}

.pj-scope .pj-services-intro__heading .pj-page-title { margin-top: 25px; }

.pj-scope .pj-services-intro__summary {
  position: relative;
  padding: clamp(30px, 3.5vw, 46px);
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--pj-line);
  border-top: 3px solid var(--pj-gold-soft);
  box-shadow: 0 20px 55px rgba(16, 52, 77, .07);
}

.pj-scope .pj-services-intro__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--pj-blue);
  background: var(--pj-mist);
  border-radius: 50%;
}

.pj-scope .pj-services-intro__icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.pj-scope .pj-services-intro__summary .pj-page-prose { margin-top: 24px; }
.pj-scope .pj-services-intro__summary .pj-page-prose p { color: #536971; font-size: 1rem; line-height: 1.75; }

.pj-scope .pj-page-title {
  max-width: 770px;
  margin-top: 24px;
  color: var(--pj-ink-deep);
  font-size: clamp(2.55rem, 4.3vw, 4rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .99;
}

.pj-scope .pj-inner-hero__copy > .pj-page-title:first-child { margin-top: 0; }

.pj-scope .pj-page-meta {
  max-width: 740px;
  margin-top: 25px !important;
  color: var(--pj-blue);
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  font-weight: 600;
  line-height: 1.55;
}

.pj-scope .pj-page-meta span { margin-inline: 7px; color: var(--pj-gold); }

.pj-scope .pj-page-prose {
  display: grid;
  max-width: 760px;
  color: var(--pj-muted);
  gap: 18px;
}

.pj-scope .pj-page-prose--lead { margin-top: 30px; }
.pj-scope .pj-page-prose p { font-size: .96rem; line-height: 1.8; }
.pj-scope .pj-page-prose strong { color: var(--pj-ink-deep); font-weight: 700; }

.pj-scope .pj-highlight-line {
  max-width: 740px;
  margin-top: 30px !important;
  padding: 19px 22px;
  color: var(--pj-ink);
  background: rgba(255,255,255,.62);
  border-left: 3px solid var(--pj-gold-soft);
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.65;
}

.pj-scope .pj-inner-hero__visual { min-width: 0; }

.pj-scope .pj-about-visual {
  position: relative;
  isolation: isolate;
  padding: 18px 22px 22px 0;
}

.pj-scope .pj-about-visual::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 42px 24%;
  border: 1px solid rgba(181, 137, 78, .48);
  border-radius: 8px 70px 8px 8px;
  content: "";
}

.pj-scope .pj-inner-portrait {
  position: relative;
  overflow: hidden;
  background: var(--pj-mist);
  border-radius: 8px 70px 8px 8px;
  box-shadow: 0 24px 70px rgba(16,52,77,.15);
}

.pj-scope .pj-inner-portrait img {
  width: 100%;
  aspect-ratio: .92;
  object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(.9) contrast(1.02);
}

.pj-scope .pj-trustee-visual {
  position: relative;
  padding: 18px 22px 22px 0;
}

.pj-scope .pj-trustee-visual::before {
  position: absolute;
  inset: 0 0 42px 24%;
  border: 1px solid rgba(181, 137, 78, .48);
  border-radius: 8px 70px 8px 8px;
  content: "";
}

.pj-scope .pj-inner-portrait--trustee {
  z-index: 1;
}

.pj-scope .pj-inner-portrait--trustee::after {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(9, 41, 60, .84));
  content: "";
  pointer-events: none;
}

.pj-scope .pj-trustee-caption {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 52px 28px 26px;
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.pj-scope .pj-editorial {
  display: grid;
  grid-template-columns: minmax(260px, .58fr) minmax(0, 1fr);
  gap: clamp(50px, 9vw, 135px);
}

.pj-scope .pj-editorial__head { position: sticky; top: 40px; align-self: start; }
.pj-scope .pj-editorial__head .pj-section-title { margin-top: 22px; }
.pj-scope .pj-editorial__head .pj-section-title:first-child { margin-top: 0; }
.pj-scope .pj-editorial--reverse { padding-bottom: clamp(50px, 6vw, 78px); }
.pj-scope .pj-prose-lead { color: var(--pj-ink); font-size: 1.08rem !important; font-weight: 600; }

.pj-scope .pj-inline-cta {
  display: grid;
  align-items: center;
  margin-top: clamp(58px, 7vw, 90px);
  padding: 34px 38px;
  background: #fff;
  border-top: 2px solid var(--pj-gold-soft);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 45px;
}

.pj-scope .pj-inline-cta .pj-section-title { margin-top: 0; }
.pj-scope .pj-inline-cta p { max-width: 760px; margin-top: 10px !important; color: var(--pj-muted); font-size: .9rem; line-height: 1.65; }
.pj-scope .pj-credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pj-scope .pj-credential-card {
  min-height: 190px;
  padding: 31px 33px;
  background: var(--pj-ivory);
  border-top: 2px solid var(--pj-gold-soft);
}

.pj-scope .pj-credential-card span,
.pj-scope .pj-timeline__date { color: var(--pj-gold); font-size: .72rem; font-style: italic; letter-spacing: .04em; }
.pj-scope .pj-credential-card h3 { margin-top: 28px; color: var(--pj-ink-deep); font-size: 1.2rem; font-weight: 550; line-height: 1.25; }
.pj-scope .pj-credential-card p { margin-top: 10px !important; color: var(--pj-muted); font-size: .86rem; line-height: 1.7; }
.pj-scope .pj-subsection-head { margin-top: clamp(70px, 8vw, 110px); }

.pj-scope .pj-timeline__item {
  display: grid;
  padding: 34px 0;
  border-bottom: 1px solid var(--pj-line);
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 38px;
}

.pj-scope .pj-timeline__item > div { max-width: 820px; }
.pj-scope .pj-timeline__item h3 { color: var(--pj-ink-deep); font-size: 1.16rem; font-weight: 600; }
.pj-scope .pj-timeline__item p:not(.pj-timeline__date) { margin-top: 10px !important; color: var(--pj-muted); font-size: .88rem; line-height: 1.75; }
.pj-scope .pj-timeline__item--current {
  margin-top: -1px;
  padding-inline: 24px;
  background: var(--pj-ivory);
  border-top: 2px solid var(--pj-gold-soft);
}

/* Teenused page */
.pj-scope .pj-offer-list { display: grid; gap: 18px; }

.pj-scope .pj-offer-card {
  display: grid;
  min-height: 360px;
  background: var(--pj-ivory);
  border-top: 2px solid var(--pj-gold-soft);
  grid-template-columns: minmax(280px, .6fr) minmax(0, 1fr);
}

.pj-scope .pj-offer-card__meta { display: flex; padding: 36px; flex-direction: column; border-right: 1px solid var(--pj-line); }
.pj-scope .pj-offer-card__number { color: var(--pj-gold); font-size: .75rem; font-style: italic; }
.pj-scope .pj-offer-card h3 { margin-top: 36px; color: var(--pj-ink-deep); font-size: clamp(1.45rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
.pj-scope .pj-offer-card__price { margin-top: auto !important; padding-top: 30px; color: var(--pj-ink-deep); font-size: 2.75rem; font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.pj-scope .pj-offer-card__format { margin-top: 12px !important; color: var(--pj-blue); font-size: .72rem; line-height: 1.55; }
.pj-scope .pj-offer-card__body { display: flex; padding: 38px 42px; flex-direction: column; align-items: flex-start; }
.pj-scope .pj-offer-card__body p { color: var(--pj-muted); font-size: .91rem; line-height: 1.76; }
.pj-scope .pj-offer-card__body p + p { margin-top: 13px !important; }
.pj-scope .pj-offer-card__body strong { color: var(--pj-ink-deep); }
.pj-scope .pj-offer-card__body .pj-button { margin-top: auto; padding-top: 13px; transform: translateY(18px); }
.pj-scope .pj-offer-card__body .pj-button:hover { transform: translateY(16px); }

.pj-scope .pj-offer-card--featured { color: #fff; background: var(--pj-ink); }
.pj-scope .pj-offer-card--featured .pj-offer-card__meta { border-color: rgba(255,255,255,.16); }
.pj-scope .pj-offer-card--featured h3,
.pj-scope .pj-offer-card--featured .pj-offer-card__price { color: #fff; }
.pj-scope .pj-offer-card--featured .pj-offer-card__price { color: var(--pj-gold-soft); }
.pj-scope .pj-offer-card--featured .pj-offer-card__format,
.pj-scope .pj-offer-card--featured .pj-offer-card__body p { color: rgba(255,255,255,.68); }
.pj-scope .pj-offer-card--featured .pj-offer-card__body strong { color: #fff; }

.pj-scope .pj-dual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.pj-scope .pj-info-panel {
  min-height: 475px;
  padding: clamp(34px, 5vw, 58px);
  background: #fff;
  border-top: 2px solid var(--pj-gold-soft);
}

.pj-scope .pj-info-panel .pj-section-title { margin-top: 24px; }
.pj-scope .pj-info-panel .pj-page-prose { margin-top: 27px; }
.pj-scope .pj-info-panel--dark { color: #fff; background: var(--pj-ink); }
.pj-scope .pj-info-panel--dark .pj-section-title { color: #fff; }
.pj-scope .pj-price-lines { margin-top: 38px; border-top: 1px solid var(--pj-line); }
.pj-scope .pj-price-lines div { display: flex; align-items: center; justify-content: space-between; padding: 17px 0; border-bottom: 1px solid var(--pj-line); gap: 20px; }
.pj-scope .pj-price-lines dt { color: var(--pj-muted); font-size: .78rem; }
.pj-scope .pj-price-lines dd { color: var(--pj-ink-deep); font-size: 1.08rem; font-weight: 700; }
.pj-scope .pj-price-lines > p { padding: 17px 0; color: var(--pj-muted); border-bottom: 1px solid var(--pj-line); font-size: .84rem; line-height: 1.65; }

.pj-scope .pj-order-list { display: grid; margin-top: 34px; counter-reset: pj-order; gap: 0; list-style: none; }
.pj-scope .pj-order-list li { position: relative; padding: 18px 0 18px 43px; color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; line-height: 1.65; counter-increment: pj-order; }
.pj-scope .pj-order-list li::before { position: absolute; top: 18px; left: 0; color: var(--pj-gold-soft); content: "0" counter(pj-order); font-size: .68rem; font-style: italic; }

.pj-scope .pj-topic-grid {
  display: grid;
  margin-top: 42px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.pj-scope .pj-topic-card { min-height: 340px; padding: 32px 34px; background: #fff; border: 1px solid var(--pj-line); border-top: 2px solid var(--pj-gold-soft); }
.pj-scope .pj-topic-card > span { color: var(--pj-gold); font-size: .7rem; font-style: italic; }
.pj-scope .pj-topic-card h3 { margin-top: 30px; color: var(--pj-ink-deep); font-size: 1.16rem; font-weight: 600; line-height: 1.3; }
.pj-scope .pj-topic-card p { margin-top: 16px !important; color: var(--pj-muted); font-size: .87rem; line-height: 1.75; }

.pj-scope .pj-final-action { display: flex; justify-content: flex-end; margin-top: 34px; }

/* Võlgniku usaldusisik page */
.pj-scope.pj-inner-hero--trustee {
  background:
    linear-gradient(90deg, rgba(16, 52, 77, .05) 1px, transparent 1px) 0 0 / 92px 100%,
    var(--pj-ivory);
}

.pj-scope .pj-duty-grid {
  display: grid;
  counter-reset: pj-duty;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}

.pj-scope .pj-list-intro { margin-bottom: 18px !important; color: var(--pj-ink); font-size: .95rem; font-weight: 700; }
.pj-scope .pj-duty-grid li { min-height: 200px; padding: 29px 30px; color: var(--pj-muted); background: var(--pj-ivory); border-top: 2px solid var(--pj-gold-soft); font-size: .88rem; line-height: 1.7; counter-increment: pj-duty; }
.pj-scope .pj-duty-grid li::before { display: block; margin-bottom: 26px; color: var(--pj-gold); content: "0" counter(pj-duty); font-size: .7rem; font-style: italic; }
.pj-scope .pj-note { margin-top: 22px !important; padding: 22px 26px; color: var(--pj-ink); background: var(--pj-mist); border-left: 3px solid var(--pj-gold-soft); font-size: .9rem; font-weight: 650; line-height: 1.65; }

.pj-scope .pj-outcome-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pj-scope .pj-outcome-card { min-height: 350px; padding: 38px 40px; background: #fff; border-top: 2px solid var(--pj-gold-soft); }
.pj-scope .pj-outcome-card > span { color: var(--pj-gold); font-size: .72rem; font-style: italic; }
.pj-scope .pj-outcome-card h3 { margin-top: 35px; color: var(--pj-ink-deep); font-size: 1.45rem; font-weight: 550; letter-spacing: -.025em; line-height: 1.2; }
.pj-scope .pj-outcome-card p { margin-top: 20px !important; color: var(--pj-muted); font-size: .9rem; line-height: 1.75; }
.pj-scope .pj-outcome-card--featured { color: #fff; background: var(--pj-ink); }
.pj-scope .pj-outcome-card--featured h3 { color: #fff; }
.pj-scope .pj-outcome-card--featured p { color: rgba(255,255,255,.68); }

.pj-scope .pj-warning-note { display: grid; margin-top: 18px; padding: 26px 30px; background: #fff; border: 1px solid var(--pj-line); gap: 10px; }
.pj-scope .pj-warning-note strong { color: var(--pj-gold); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.pj-scope .pj-warning-note p { color: var(--pj-muted); font-size: .86rem; line-height: 1.7; }

.pj-scope .pj-goal-banner { margin-top: clamp(50px, 6vw, 78px); padding: clamp(38px, 5vw, 62px); color: #fff; background: var(--pj-ink-deep); }
.pj-scope .pj-goal-banner h2 { max-width: 950px; margin-top: 28px; color: #fff; font-size: var(--pj-section-title-size); font-weight: 500; letter-spacing: -.035em; line-height: 1.13; }
.pj-scope .pj-goal-banner h2:first-child { margin-top: 0; }
.pj-scope .pj-goal-banner p { max-width: 940px; margin-top: 22px !important; color: rgba(255,255,255,.72); font-size: .95rem; line-height: 1.72; }
.pj-scope .pj-section-copy--below { max-width: 760px; margin-top: 18px !important; }

/* Reusable contact CTA */
.pj-scope.pj-contact { position: relative; overflow: hidden; padding: clamp(86px, 9vw, 140px) 0; color: #fff; background: var(--pj-blue); }
.pj-scope.pj-contact::before { position: absolute; top: -42%; left: -15%; width: 58vw; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; content: ""; }
.pj-scope .pj-contact__grid { position: relative; display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(390px, .67fr); gap: clamp(65px, 10vw, 145px); }
.pj-scope .pj-contact__title { margin-top: 22px; color: #fff !important; font-size: var(--pj-section-title-size); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.pj-scope .pj-contact__title em { display: block; color: var(--pj-gold-soft) !important; font-weight: 400; }
.pj-scope .pj-contact__lead { max-width: 590px; margin-top: 29px !important; color: rgba(255,255,255,.7); font-size: 1.04rem; line-height: 1.72; }
.pj-scope .pj-contact-card { padding: 32px; background: rgba(6,35,50,.72); border: 1px solid rgba(255,255,255,.15); font-style: normal; }
.pj-scope .pj-contact-card__title { padding-bottom: 23px; color: var(--pj-gold-soft); border-bottom: 1px solid rgba(255,255,255,.16); font-size: 1.28rem; }
.pj-scope .pj-contact-card dl div { display: grid; padding: 19px 0; border-bottom: 1px solid rgba(255,255,255,.15); grid-template-columns: 100px 1fr; gap: 18px; }
.pj-scope .pj-contact-card dl div:last-child { padding-bottom: 0; border-bottom: 0; }
.pj-scope .pj-contact-card dt { color: rgba(255,255,255,.44); font-size: .61rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.pj-scope .pj-contact-card dd { color: rgba(255,255,255,.9); font-size: .82rem; line-height: 1.55; }
.pj-scope .pj-contact-card a { color: inherit !important; transition: color .18s ease; }
.pj-scope .pj-contact-card a:hover { color: var(--pj-gold-soft) !important; }
.pj-scope .pj-contact-card small { color: rgba(255,255,255,.45); }
.pj-scope .pj-contact-card__company {
  margin-top: 25px;
  padding: 18px 19px;
  color: rgba(255,255,255,.68);
  background: rgba(255,255,255,.045);
  border-left: 2px solid var(--pj-gold-soft);
}
.pj-scope .pj-contact-card__company p { margin: 0 !important; font-size: .74rem; line-height: 1.65; }
.pj-scope .pj-contact-card__company strong { color: #fff; font-size: .82rem; font-weight: 700; }
.pj-scope .pj-contact-card__company span { display: block; margin-top: 4px; overflow-wrap: anywhere; }

/* Contact page and shortcode form */
.pj-scope.pj-contact-intro .pj-inner-hero__copy { max-width: 850px; }

.pj-scope .pj-contact-page__grid {
  display: grid !important;
  align-items: start;
  grid-template-columns: minmax(300px, .58fr) minmax(0, 1.22fr) !important;
  gap: clamp(56px, 7vw, 110px);
}

.pj-scope .pj-contact-page__grid > * { min-width: 0; }

.pj-scope .pj-contact-form-card {
  width: 100%;
  padding: clamp(32px, 5vw, 58px);
  background: var(--pj-ivory);
  border: 1px solid var(--pj-line);
  border-top: 3px solid var(--pj-gold-soft);
}

.pj-scope .pj-contact-page__title { max-width: 650px; }
.pj-scope .pj-contact-page__title em { color: var(--pj-gold); font-weight: 400; }

.pj-scope .pj-contact-page__details { width: 100%; background: var(--pj-ink-deep); }

/* Footer content: insert inside the theme's existing <footer> */
.pj-scope.pj-footer {
  color: rgba(255,255,255,.6);
  background: var(--pj-ink-deep);
  container-name: pj-footer;
  container-type: inline-size;
}
.pj-scope .pj-footer__inner {
  display: grid;
  min-height: 112px;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(30px, 5vw, 80px);
}
.pj-scope .pj-footer__inner > * { min-width: 0; }
.pj-scope.pj-footer .pj-logo { color: #fff !important; }
.pj-scope.pj-footer .pj-logo__text small { color: rgba(255,255,255,.42); }
.pj-scope .pj-footer__legal { display: flex; align-items: center; justify-self: center; gap: 12px; white-space: nowrap; }
.pj-scope .pj-footer__legal a {
  color: rgba(255,255,255,.76);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .18s ease;
}
.pj-scope .pj-footer__legal a:hover,
.pj-scope .pj-footer__legal a:focus-visible { color: var(--pj-gold-soft); }
.pj-scope .pj-footer__legal span { color: var(--pj-gold-soft); font-size: .7rem; line-height: 1; }
.pj-scope.pj-footer p { max-width: 390px; margin: 0 !important; font-size: .65rem; text-align: right; }

@media (max-width: 980px) {
  .pj-scope { --pj-section-title-size: clamp(1.8rem, 4.2vw, 2.2rem); }
  .pj-scope .pj-hero__grid { grid-template-columns: 1fr; gap: 45px; }
  .pj-scope .pj-hero__title { font-size: clamp(2.8rem, 6.6vw, 3.5rem); }
  .pj-scope .pj-hero__visual { width: min(100%, 640px); justify-self: end; }
  .pj-scope .pj-portrait { max-width: 600px; }
  .pj-scope .pj-portrait__year { right: 0; }

  .pj-scope .pj-section-head { align-items: start; grid-template-columns: 1fr; gap: 25px; }
  .pj-scope .pj-section-title { font-size: var(--pj-section-title-size); }
  .pj-scope .pj-copy-grid { grid-template-columns: 1fr; gap: 30px; }
  .pj-scope .pj-why__points { grid-template-columns: 1fr; }
  .pj-scope .pj-why__point { min-height: 0; }
  .pj-scope .pj-service-grid { grid-template-columns: 1fr; }

  .pj-scope .pj-service,
  .pj-scope .pj-service:nth-child(odd),
  .pj-scope .pj-service:nth-child(even) { min-height: 0; padding: 26px; border: 1px solid rgba(16,52,77,.13); border-top: 2px solid var(--pj-gold-soft); }

  .pj-scope .pj-approach__title,
  .pj-scope .pj-approach__subtitle { font-size: var(--pj-section-title-size); }
  .pj-scope .pj-trust__points,
  .pj-scope .pj-strengths { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: auto; }
  .pj-scope .pj-trust__point--lead { grid-row: auto; }
  .pj-scope .pj-trust__point,
  .pj-scope .pj-strength { min-height: 0; }

  .pj-scope .pj-consultation-grid { grid-template-columns: 1fr; }
  .pj-scope .pj-consultation-card { min-height: 0; }
  .pj-scope .pj-consultation-card__bottom { margin-top: 38px; }

  .pj-scope .pj-inner-hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .pj-scope .pj-inner-hero__grid--single .pj-services-intro { grid-template-columns: 1fr; gap: 36px; }
  .pj-scope .pj-services-intro__summary { max-width: 720px; }
  .pj-scope .pj-inner-hero__visual,
  .pj-scope .pj-trustee-visual { width: min(100%, 650px); }
  .pj-scope .pj-inner-portrait img { aspect-ratio: 1.08; }
  .pj-scope .pj-editorial { grid-template-columns: 1fr; gap: 30px; }
  .pj-scope .pj-editorial__head { position: static; }
  .pj-scope .pj-inline-cta { grid-template-columns: 1fr; gap: 28px; }
  .pj-scope .pj-inline-cta .pj-button { width: fit-content; }

  .pj-scope .pj-offer-card { grid-template-columns: minmax(240px, .52fr) minmax(0, 1fr); }
  .pj-scope .pj-dual-grid { grid-template-columns: 1fr; }
  .pj-scope .pj-info-panel { min-height: 0; }
  .pj-scope .pj-duty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .pj-scope .pj-contact__grid { grid-template-columns: 1fr; gap: 50px; }
  .pj-scope .pj-contact-card { max-width: 620px; }
  .pj-scope .pj-contact-page__grid { grid-template-columns: 1fr !important; gap: 42px; }
  .pj-scope .pj-contact-page__details { width: min(100%, 620px); }
}

@media (max-width: 640px) {
  .pj-scope { --pj-section-title-size: clamp(1.65rem, 7vw, 2rem); }
  .pj-scope .pj-container { width: min(calc(100% - 32px), 1180px); }
  .pj-scope .pj-logo__mark { width: 38px; }
  .pj-scope .pj-logo__text strong { font-size: 1.16rem; }
  .pj-scope .pj-logo__text small { font-size: .46rem; }

  .pj-scope.pj-hero { padding: 46px 0 52px; }
  .pj-scope .pj-hero__eyebrow { margin-bottom: 25px; letter-spacing: .12em; }
  .pj-scope .pj-hero__title { font-size: clamp(2.45rem, 10vw, 2.9rem); }
  .pj-scope .pj-hero__lead { margin-top: 25px !important; font-size: .98rem; }
  .pj-scope .pj-hero__body { font-size: .94rem; }
  .pj-scope .pj-actions { align-items: stretch; flex-direction: column; gap: 12px; margin-top: 27px; }
  .pj-scope .pj-actions .pj-button { width: 100%; }

  .pj-scope .pj-portrait { padding: 12px 12px 16px 0; }
  .pj-scope .pj-portrait::before { inset: 0 0 24px 28%; border-radius: 8px 48px 8px 8px; }
  .pj-scope .pj-portrait figure { border-radius: 8px 48px 8px 8px; }
  .pj-scope .pj-portrait img { aspect-ratio: 1.02; object-position: 50% 23%; }
  .pj-scope .pj-portrait__year { top: 18px; right: 0; width: 108px; min-height: 100px; padding: 12px 9px; }
  .pj-scope .pj-portrait__year span { font-size: .5rem; }
  .pj-scope .pj-portrait__year strong { font-size: 1.55rem; }

  .pj-scope .pj-section-title { font-size: var(--pj-section-title-size); }
  .pj-scope .pj-copy-grid { gap: 24px; }
  .pj-scope .pj-prose { gap: 15px; }
  .pj-scope .pj-prose p { font-size: .95rem; }
  .pj-scope .pj-why__points { grid-template-columns: 1fr; }
  .pj-scope .pj-why__point,
  .pj-scope .pj-why__point:first-child { min-height: 0; padding: 26px 24px 28px; grid-column: auto; }
  .pj-scope .pj-why__point::before { margin-bottom: 24px; }
  .pj-scope .pj-service { grid-template-columns: 40px minmax(0, 1fr); gap: 13px; }
  .pj-scope .pj-service__icon { width: 38px; height: 38px; }
  .pj-scope .pj-service__icon svg { width: 27px; }
  .pj-scope .pj-service .pj-card-title { font-size: 1.12rem; }

  .pj-scope .pj-approach__title,
  .pj-scope .pj-approach__subtitle { font-size: var(--pj-section-title-size); }
  .pj-scope .pj-approach__head { align-items: flex-end; margin-bottom: 30px; gap: 20px; }
  .pj-scope .pj-approach__head::after { margin-bottom: 7px; }
  .pj-scope .pj-trust__points,
  .pj-scope .pj-strengths { grid-template-columns: 1fr; }
  .pj-scope .pj-trust__point,
  .pj-scope .pj-strength,
  .pj-scope .pj-strength:last-child { min-height: 0; padding: 24px 23px 26px; grid-column: auto; }

  .pj-scope .pj-consultation-card { padding: 27px 23px; }
  .pj-scope .pj-consultation-card .pj-card-title { font-size: 1.12rem; }
  .pj-scope .pj-consultation-card__bottom { align-items: stretch; flex-direction: column; }
  .pj-scope .pj-consultation-card .pj-button { width: 100%; }

  .pj-scope.pj-inner-hero { padding: 54px 0 62px; }
  .pj-scope .pj-services-intro__summary { padding: 25px 23px 27px; }
  .pj-scope .pj-services-intro__icon { width: 46px; height: 46px; }
  .pj-scope .pj-page-title { margin-top: 20px; font-size: clamp(2.25rem, 10vw, 3rem); }
  .pj-scope .pj-page-meta { font-size: .98rem; }
  .pj-scope .pj-page-meta span { display: none; }
  .pj-scope .pj-inner-portrait { border-radius: 7px 46px 7px 7px; }
  .pj-scope .pj-inner-portrait img { aspect-ratio: .98; }
  .pj-scope .pj-about-visual { padding: 12px 12px 16px 0; }
  .pj-scope .pj-about-visual::before { inset: 0 0 28px 24%; border-radius: 7px 46px 7px 7px; }
  .pj-scope .pj-trustee-visual { padding: 12px 12px 16px 0; }
  .pj-scope .pj-trustee-caption { padding: 44px 20px 20px; }
  .pj-scope .pj-editorial { gap: 24px; }
  .pj-scope .pj-page-prose { gap: 14px; }
  .pj-scope .pj-page-prose p { font-size: .93rem; }
  .pj-scope .pj-prose-lead { font-size: 1rem !important; }
  .pj-scope .pj-highlight-line { padding: 17px 18px; }
  .pj-scope .pj-inline-cta { padding: 27px 23px; }
  .pj-scope .pj-inline-cta .pj-button { width: 100%; }
  .pj-scope .pj-credential-grid { grid-template-columns: 1fr; }
  .pj-scope .pj-credential-card { min-height: 0; padding: 27px 24px; }
  .pj-scope .pj-timeline__item { padding: 28px 0; grid-template-columns: 1fr; gap: 10px; }
  .pj-scope .pj-timeline__item--current { padding-inline: 20px; }

  .pj-scope .pj-offer-card { grid-template-columns: 1fr; }
  .pj-scope .pj-offer-card__meta { min-height: 300px; padding: 28px 24px; border-right: 0; border-bottom: 1px solid var(--pj-line); }
  .pj-scope .pj-offer-card__body { padding: 28px 24px 34px; }
  .pj-scope .pj-offer-card__body .pj-button { width: 100%; margin-top: 28px; transform: none; }
  .pj-scope .pj-offer-card__body .pj-button:hover { transform: translateY(-2px); }
  .pj-scope .pj-info-panel { padding: 29px 24px; }
  .pj-scope .pj-topic-grid { grid-template-columns: 1fr; }
  .pj-scope .pj-topic-card { min-height: 0; padding: 27px 24px; }
  .pj-scope .pj-duty-grid { grid-template-columns: 1fr; }
  .pj-scope .pj-duty-grid li { min-height: 0; padding: 27px 24px; }
  .pj-scope .pj-outcome-grid { grid-template-columns: 1fr; }
  .pj-scope .pj-outcome-card { min-height: 0; padding: 30px 24px; }
  .pj-scope .pj-warning-note { grid-template-columns: 1fr; gap: 10px; }
  .pj-scope .pj-goal-banner { padding: 32px 24px; }

  .pj-scope .pj-contact__title { font-size: var(--pj-section-title-size); }
  .pj-scope .pj-contact-card { padding: 25px 21px; }
  .pj-scope .pj-contact-card dl div { grid-template-columns: 1fr; gap: 6px; }
  .pj-scope .pj-contact-form-card { padding: 28px 22px; }

  .pj-scope .pj-footer__inner {
    display: grid !important;
    align-items: start !important;
    padding: 32px 0;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px;
  }
  .pj-scope .pj-footer__legal { justify-self: start; }
  .pj-scope.pj-footer p { text-align: left; }
}

@container pj-footer (max-width: 1100px) {
  .pj-scope .pj-footer__inner {
    display: grid !important;
    align-items: start !important;
    padding: 32px 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
  }
  .pj-scope .pj-footer__legal { justify-self: start !important; }
  .pj-scope.pj-footer p { max-width: 100%; text-align: left !important; }
}

@container pj-footer (max-width: 440px) {
  .pj-scope .pj-footer__legal { align-items: flex-start; flex-direction: column; white-space: normal; }
  .pj-scope .pj-footer__legal span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pj-scope *,
  .pj-scope *::before,
  .pj-scope *::after { scroll-behavior: auto !important; transition: none !important; }
}
