/* ============================================================================
   PRAXIS DIRECTORY — front end
   Christian Saguirre

   Tokens are declared on :root so anything you build natively in Elementor can
   use them: var(--prx-slate), var(--prx-paper), var(--prx-r-card) and so on.
   Component styles are scoped to .prx so nothing leaks into the rest of the
   page.
   ========================================================================== */

:root {
  /* Core palette */
  --prx-navy:      #0D2C42;
  --prx-slate:     #14405C;
  --prx-sky:       #7FB2D6;   /* non-text only — 2.09:1 on Paper */
  --prx-sky-soft:  #CFE3F2;
  --prx-wash:      #E7F1F9;
  --prx-paper:     #F1F6FB;
  --prx-paper-deep:#E1ECF5;
  --prx-surface:   #FCFDFF;
  --prx-clay:      #C77B4E;
  --prx-clay-soft: #F6E5D8;

  /* Text */
  --prx-ink:       #10202E;   /* 15.1:1 on Paper */
  --prx-ink-soft:  #42586C;   /*  6.8:1 on Paper */
  --prx-ink-mute:  #5C6E7F;   /*  4.8:1 — the corrected mute. The brand
                                 document's 4.6:1 figure for #66798B does not
                                 hold; measured it is 4.13:1 and fails AA at
                                 every size, so it is not used for type. */
  --prx-on-navy:       #EEF5FA;
  --prx-on-navy-soft:  #B9CEDF;
  --prx-on-navy-mute:  #A6BED2;

  /* Lines */
  --prx-line:      rgba(16, 32, 46, .13);
  --prx-line-soft: rgba(16, 32, 46, .075);
  --prx-line-navy: rgba(201, 218, 231, .22);

  /* Radius — inputs 12 · fields 18 · cards 26 · panels 36 · pills */
  --prx-r-input: 12px;
  --prx-r-field: 18px;
  --prx-r-card:  26px;
  --prx-r-panel: 36px;
  --prx-r-pill:  999px;

  /* Elevation — always blue-tinted. A black shadow on a blue field reads dirt. */
  --prx-shadow-s: 0 1px 2px rgba(16,32,46,.04), 0 4px 12px rgba(16,32,46,.06);
  --prx-shadow-m: 0 2px 4px rgba(16,32,46,.04), 0 12px 28px rgba(16,32,46,.09);
  --prx-shadow-l: 0 4px 8px rgba(16,32,46,.05), 0 24px 60px rgba(16,32,46,.14);

  /* Type */
  --prx-display: "Instrument Serif", Georgia, serif;
  --prx-ui:      "Schibsted Grotesk", "Helvetica Neue", Helvetica, sans-serif;

  /* Motion */
  --prx-ease:   cubic-bezier(.22, .61, .36, 1);
  --prx-hover:  350ms;
  --prx-reveal: 800ms;
  --prx-toggle: 400ms;

  --prx-tap: 44px;
}

/* ------------------------------------------------------------------ base -- */
.prx, .prx * { box-sizing: border-box; }

.prx {
  font-family: var(--prx-ui);
  color: var(--prx-ink);
  line-height: 1.65;
  letter-spacing: -.005em;
}

.prx img { max-width: 100%; height: auto; display: block; }
.prx a { color: inherit; text-decoration: none; }
.prx p { margin: 0; }
.prx ul { margin: 0; padding: 0; list-style: none; }
.prx h2, .prx h3, .prx h4 { margin: 0; font-weight: 400; letter-spacing: -.02em; line-height: 1.06; }

.prx-serif { font-family: var(--prx-display); }
/* Italic Instrument Serif is the only emphasis device permitted in display
   type. No underlines, no colour changes, no all-caps. */
.prx-ital  { font-style: italic; }

.prx-lede { color: var(--prx-ink-soft); font-size: 1.0625rem; line-height: 1.7; max-width: 60ch; }

.prx :focus-visible {
  outline: 2.5px solid var(--prx-clay);
  outline-offset: 3px;
  border-radius: 6px;
}

.prx-visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Editorial numeral. Instrument Serif, never below 18px. */
.prx-num { font-family: var(--prx-display); font-size: 1.125rem; color: var(--prx-sky); display: block; margin-bottom: .35rem; }

.prx-section__head { display: grid; gap: 1rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.prx-section__head h2, .prx-section__head h3, .prx-section__head h4 {
  font-family: var(--prx-display);
  font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem);
  line-height: 1.05; max-width: 20ch;
}
@media (min-width: 900px) {
  .prx-section__head { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 2.5rem; }
  .prx-section__head .prx-lede { justify-self: end; }
}

.prx-more { margin-top: 1.5rem; font-size: .9375rem; }
.prx-more a { font-weight: 600; border-bottom: 1.5px solid var(--prx-sky); padding-bottom: 2px; transition: border-color .3s, color .3s; }
.prx-more a:hover { color: var(--prx-slate); border-color: var(--prx-slate); }

/* --------------------------------------------------------------- media ---- */
/* Every photograph sits on a token-coloured plate, so a slow, blocked or
   missing image still reads as a designed surface rather than a broken box. */
.prx-media {
  position: relative; overflow: hidden;
  border-radius: var(--prx-r-panel);
  background: linear-gradient(160deg, var(--prx-sky-soft), #EAF1F7);
}
.prx-media img { width: 100%; height: 100%; object-fit: cover; }
.prx-media--card { border-radius: var(--prx-r-card); }
/* A whisper of navy unifies otherwise mismatched photography and stops
   warm-toned images fighting the desaturated blue palette. */
.prx-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,44,66,.06), rgba(13,44,66,.14));
  mix-blend-mode: multiply;
}

/* -------------------------------------------------------------- buttons ---- */
/* Two styles only. No third button style and no destructive red anywhere in
   the public interface. Hover lifts 2px and never changes colour dramatically. */
.prx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--prx-ui); font-weight: 600; font-size: .9375rem; letter-spacing: -.01em;
  min-height: var(--prx-tap); padding: .8rem 1.4rem;
  border-radius: var(--prx-r-pill); border: 1px solid transparent;
  cursor: pointer; text-align: center;
  transition: transform var(--prx-hover) var(--prx-ease), background-color var(--prx-hover),
              box-shadow var(--prx-hover) var(--prx-ease), border-color var(--prx-hover);
}
.prx-btn--primary { background: var(--prx-slate); color: var(--prx-paper); box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, var(--prx-shadow-s); }
.prx-btn--primary:hover { background: var(--prx-navy); color: var(--prx-paper); transform: translateY(-2px); box-shadow: var(--prx-shadow-m); }
.prx-btn--ghost { background: var(--prx-surface); border-color: var(--prx-line); color: var(--prx-ink); }
.prx-btn--ghost:hover { background: var(--prx-wash); border-color: var(--prx-sky); transform: translateY(-2px); }

/* --------------------------------------------------------- search card ---- */
.prx-search {
  position: relative; z-index: 2;
  background: var(--prx-surface);
  border: 1px solid var(--prx-line-soft);
  box-shadow: var(--prx-shadow-l);
  border-radius: var(--prx-r-panel);
  padding: clamp(1.1rem, 2.2vw, 1.4rem);
}
/* The search card is the only element permitted to use this. */
.prx-search--glass {
  background: rgba(252, 253, 255, .78);
  backdrop-filter: saturate(1.5) blur(18px);
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
  border-color: rgba(255, 255, 255, .8);
  box-shadow: var(--prx-shadow-l), 0 0 0 1px var(--prx-line-soft);
}

.prx-seg { border: 0; padding: 0; margin: 0 0 1rem; }
.prx-seg__track { display: inline-flex; position: relative; background: var(--prx-paper-deep); border-radius: var(--prx-r-pill); padding: 4px; }
.prx-seg__thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  background: var(--prx-surface); border-radius: var(--prx-r-pill);
  box-shadow: var(--prx-shadow-s);
  transition: transform var(--prx-toggle) var(--prx-ease);
}
.prx-seg__track:has(.prx-seg__radio:last-of-type:checked) .prx-seg__thumb { transform: translateX(100%); }
.prx-seg__radio { position: absolute; opacity: 0; pointer-events: none; }
/* flex:1 on both labels keeps each exactly half the track, so the sliding thumb
   lines up with the label under it whatever the two words are. */
.prx-seg__label {
  position: relative; z-index: 1; cursor: pointer; flex: 1 1 0; min-width: 0;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: .5rem 1.15rem; border-radius: var(--prx-r-pill);
  font-size: .875rem; font-weight: 600; color: var(--prx-ink-soft);
  transition: color .3s; white-space: nowrap;
}
.prx-seg__radio:checked + .prx-seg__label { color: var(--prx-slate); }
.prx-seg__radio:focus-visible + .prx-seg__label { outline: 2.5px solid var(--prx-clay); outline-offset: 3px; }

.prx-fields { display: grid; grid-template-columns: 1fr; gap: .6rem; }
.prx-field {
  position: relative; background: var(--prx-surface);
  border: 1px solid var(--prx-line); border-radius: var(--prx-r-field);
  padding: .65rem .95rem .55rem;
  transition: border-color .3s, box-shadow .3s;
}
.prx-field:focus-within { border-color: var(--prx-sky); box-shadow: 0 0 0 4px var(--prx-wash); }
/* Labels are always visible. Placeholder-only labelling fails WCAG. */
.prx-field label {
  display: block; font-size: .6875rem; font-weight: 600; letter-spacing: .11em;
  text-transform: uppercase; color: var(--prx-ink-soft); margin-bottom: .15rem;
}
.prx-field input, .prx-field select {
  width: 100%; border: 0; background: transparent; padding: 0;
  font-family: var(--prx-ui); font-size: 1rem; font-weight: 500; color: var(--prx-ink);
  min-height: 26px; appearance: none; -webkit-appearance: none; outline: none;
}
.prx-field input::placeholder { color: var(--prx-ink-mute); }
.prx-field--select::after {
  content: ""; position: absolute; right: 1rem; top: 60%;
  width: 9px; height: 9px;
  border-right: 1.8px solid var(--prx-ink-soft); border-bottom: 1.8px solid var(--prx-ink-soft);
  transform: translateY(-50%) rotate(45deg); pointer-events: none;
}
.prx-field--select select { padding-right: 1.5rem; }

.prx-search__go { width: 100%; min-height: 52px; }
.prx-search__go svg { transition: transform var(--prx-hover) var(--prx-ease); }
.prx-search__go:hover svg { transform: translateX(3px); }

.prx-popular { margin-top: .85rem; font-size: .8125rem; color: var(--prx-ink-soft); display: flex; flex-wrap: wrap; gap: .3rem .4rem; align-items: center; }
.prx-popular a { color: var(--prx-ink-soft); text-decoration: underline; text-decoration-color: var(--prx-sky); text-underline-offset: 3px; transition: color .25s, text-decoration-color .25s; }
.prx-popular a:hover { color: var(--prx-slate); text-decoration-color: var(--prx-slate); }

@media (min-width: 700px) {
  .prx-search:not(.prx-search--stack) .prx-fields { grid-template-columns: 1.1fr 1fr auto; gap: .5rem; align-items: stretch; }
  .prx-search:not(.prx-search--stack) .prx-search__go { min-width: 126px; width: auto; padding-inline: 1.5rem; }
}

/* ------------------------------------------------------------ trust bar ---- */
.prx-trust { display: grid; grid-template-columns: 1fr; gap: .25rem; padding-block: 1.1rem; }
.prx-trust--bordered { border-block: 1px solid var(--prx-line-soft); }
.prx-trust li { display: flex; align-items: center; gap: .75rem; padding: .5rem 0; font-size: .9375rem; font-weight: 500; color: var(--prx-ink); }
.prx-trust__icon { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--prx-wash); display: grid; place-items: center; color: var(--prx-slate); }
@media (min-width: 820px) {
  .prx-trust { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-block: 1.35rem; }
  .prx-trust li { justify-content: center; }
}

/* ----------------------------------------------------------- issue pills --- */
.prx-pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.prx-pill {
  display: inline-flex; align-items: center; gap: .7rem; min-height: var(--prx-tap);
  background: var(--prx-surface); border: 1px solid var(--prx-line);
  border-radius: var(--prx-r-pill); padding: .8rem 1.15rem;
  font-size: 1rem; font-weight: 500; color: var(--prx-ink);
  transition: transform var(--prx-hover) var(--prx-ease), border-color var(--prx-hover), box-shadow var(--prx-hover) var(--prx-ease);
}
.prx-pill:hover { transform: translateY(-3px); border-color: var(--prx-sky); box-shadow: var(--prx-shadow-m); }
.prx-pill__n { font-size: .75rem; font-weight: 600; color: var(--prx-ink-soft); }
.prx-pill--lg { font-family: var(--prx-display); letter-spacing: -.01em; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); padding: .65rem 1.4rem; }
.prx-pill--wash { background: var(--prx-wash); border-color: transparent; }
.prx-pill--wash:hover { border-color: var(--prx-sky); }
/* One clay pill per group, to break the rhythm rather than signal priority. */
.prx-pill--clay { background: var(--prx-clay-soft); border-color: transparent; }
.prx-pill--clay:hover { border-color: var(--prx-clay); }

/* ------------------------------------------------------------ therapists --- */
.prx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 999px) {
  .prx-grid--rail {
    grid-auto-flow: column; grid-auto-columns: minmax(272px, 1fr);
    grid-template-columns: none; overflow-x: auto;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    padding-bottom: 1rem;
  }
  .prx-grid--rail::-webkit-scrollbar { display: none; }
  .prx-grid--rail > * { scroll-snap-align: start; }
  .prx-grid:not(.prx-grid--rail) { grid-template-columns: 1fr; }
}

.prx-tcard {
  background: var(--prx-surface); border: 1px solid var(--prx-line-soft);
  border-radius: var(--prx-r-card); padding: 1.5rem 1.4rem 1.4rem;
  display: flex; flex-direction: column; gap: .85rem;
  transition: transform var(--prx-hover) var(--prx-ease), box-shadow var(--prx-hover) var(--prx-ease), border-color .3s;
}
.prx-tcard:hover { transform: translateY(-4px); box-shadow: var(--prx-shadow-l); border-color: var(--prx-sky-soft); }

/* Portraits are circular at 76px. Members supply their own; a stock face here
   would be a person who is not a member, presented as one. Until then, initials
   in the display face. */
.prx-avatar {
  width: 76px; height: 76px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center;
  font-family: var(--prx-display); font-size: 1.7rem; color: var(--prx-navy);
  background: linear-gradient(150deg, #D5E7F5, #AFCFE8);
  box-shadow: inset 0 0 0 1px rgba(16, 32, 46, .09);
}
.prx-avatar img { width: 100%; height: 100%; object-fit: cover; }

.prx-tcard__name { display: flex; align-items: center; gap: .45rem; font-family: var(--prx-display); font-size: 1.375rem; letter-spacing: -.01em; }
/* Navy circle, paper tick — deliberately not blue-tick shaped or coloured, to
   avoid reading as social media verification. */
.prx-verified { display: inline-grid; place-items: center; flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; background: var(--prx-navy); color: var(--prx-paper); }
/* Specialism sits in Ink, not Clay: Clay at 14px measures 3.03:1 and fails AA. */
.prx-tcard__spec { font-size: .875rem; font-weight: 600; color: var(--prx-ink); letter-spacing: -.01em; }
.prx-tcard__meta { font-size: .875rem; color: var(--prx-ink-soft); line-height: 1.6; }
.prx-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .15rem; }
.prx-chip { font-size: .75rem; font-weight: 500; background: var(--prx-wash); color: var(--prx-ink-soft); padding: .3rem .6rem; border-radius: var(--prx-r-pill); }
.prx-tcard .prx-btn { margin-top: auto; width: 100%; }

.prx-note { margin-top: 1rem; font-size: .875rem; color: var(--prx-ink-soft); display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.prx-note a { text-decoration: underline; text-underline-offset: 3px; }

.prx-empty {
  border: 1px dashed var(--prx-line); border-radius: var(--prx-r-card);
  padding: clamp(1.25rem, 4vw, 2.25rem); background: var(--prx-surface);
  color: var(--prx-ink-soft); font-size: .9375rem;
}
.prx-empty p + p { margin-top: .5rem; }

/* ------------------------------------------------------------- locations --- */
.prx-places { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 819px) { .prx-places { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.prx-place {
  position: relative; display: block; border-radius: var(--prx-r-card); overflow: hidden;
  transition: transform var(--prx-hover) var(--prx-ease), box-shadow var(--prx-hover) var(--prx-ease);
}
.prx-place:hover { transform: translateY(-4px); box-shadow: var(--prx-shadow-l); }
.prx-place .prx-media { border-radius: var(--prx-r-card); aspect-ratio: 3/4; }
/* Solid plate — text is never set over a photograph without one. */
.prx-place__label { position: absolute; left: .75rem; right: .75rem; bottom: .75rem; background: var(--prx-surface); border-radius: var(--prx-r-input); padding: .6rem .75rem; }
.prx-place__label strong { display: block; font-family: var(--prx-display); font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.15; }
.prx-place__label span { display: block; font-size: .75rem; color: var(--prx-ink-soft); margin-top: .1rem; }

.prx-place--all { display: flex; flex-direction: column; align-items: flex-start; background: var(--prx-navy); color: var(--prx-on-navy); padding: 1.25rem; aspect-ratio: 3/4; }
.prx-place--all h3 { font-family: var(--prx-display); font-size: 1.5rem; color: var(--prx-on-navy); line-height: 1.15; }
.prx-place--all p { font-size: .8125rem; color: var(--prx-on-navy-soft); margin-top: .5rem; line-height: 1.55; }
.prx-place--all span { display: inline-flex; align-items: center; gap: .4rem; font-size: .875rem; font-weight: 600; color: #fff; margin-top: auto; }
.prx-place--all svg { transition: transform var(--prx-hover) var(--prx-ease); }
.prx-place--all:hover svg { transform: translateX(4px); }

/* -------------------------------------------------------------- articles --- */
.prx-arts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 899px) { .prx-arts { grid-template-columns: 1fr; gap: 1.75rem; } }
.prx-art { display: grid; gap: .85rem; align-content: start; transition: transform var(--prx-hover) var(--prx-ease); }
.prx-art:hover { transform: translateY(-4px); }
.prx-art .prx-media { aspect-ratio: 16/10; border-radius: var(--prx-r-card); }
.prx-art:hover .prx-media { box-shadow: var(--prx-shadow-m); }
.prx-art__cat { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--prx-ink-soft); }
.prx-art h3 { font-family: var(--prx-display); font-size: 1.5rem; line-height: 1.18; letter-spacing: -.015em; max-width: 24ch; }
.prx-art:hover h3 { color: var(--prx-slate); }
.prx-art p { font-size: .9375rem; color: var(--prx-ink-soft); line-height: 1.62; }
.prx-art__meta { font-size: .75rem; color: var(--prx-ink-soft); letter-spacing: .02em; border-top: 1px solid var(--prx-line-soft); padding-top: .7rem; }

/* ---------------------------------------------------------------- badge ---- */
.prx-badge { display: inline-flex; align-items: center; gap: .6rem; background: var(--prx-wash); border-radius: var(--prx-r-pill); padding: .5rem .9rem .5rem .6rem; }
.prx-badge--full { border-radius: var(--prx-r-field); padding: .75rem 1rem .75rem .75rem; }
.prx-badge__text strong { display: block; font-size: .875rem; font-weight: 600; letter-spacing: -.01em; color: var(--prx-ink); }
.prx-badge__text span { display: block; font-size: .75rem; color: var(--prx-ink-soft); margin-top: .1rem; }
a.prx-badge { transition: background var(--prx-hover), transform var(--prx-hover) var(--prx-ease); }
a.prx-badge:hover { background: var(--prx-sky-soft); transform: translateY(-2px); }

/* ------------------------------------------------------------ meta list ---- */
.prx-meta-list { display: grid; gap: .1rem; margin: 0; }
.prx-meta-list > div { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--prx-line-soft); }
.prx-meta-list dt { font-size: .8125rem; font-weight: 600; color: var(--prx-ink-soft); margin: 0; }
.prx-meta-list dd { margin: 0; font-size: .9375rem; }
@media (max-width: 599px) { .prx-meta-list > div { grid-template-columns: 1fr; gap: .1rem; } }

/* ---------------------------------------------------------------- crisis --- */
/* Maximum contrast, no branding flourishes, loads fast on a poor connection. */
.prx-crisis { border-radius: var(--prx-r-field); padding: .9rem 1rem; font-size: .8125rem; line-height: 1.6; }
.prx-crisis strong { display: block; margin-bottom: .15rem; font-size: .875rem; }
.prx-crisis a { text-decoration: underline; text-underline-offset: 3px; }
.prx-crisis--navy { border: 1px solid var(--prx-line-navy); color: var(--prx-on-navy); }
.prx-crisis--navy strong { color: #fff; }
.prx-crisis--paper { border: 1px solid var(--prx-line); color: var(--prx-ink-soft); background: var(--prx-surface); }
.prx-crisis--paper strong { color: var(--prx-ink); }

/* ---------------------------------------------------------------- reveal --- */
/* Opacity 0 to 1, translateY 22px to 0, 800ms, once only. Gated on .prx-js so
   that if the script never runs the content is visible rather than permanently
   invisible. */
.prx-js .prx-reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--prx-reveal) var(--prx-ease), transform var(--prx-reveal) var(--prx-ease); }
.prx-js .prx-reveal.is-in { opacity: 1; transform: none; }

/* Elementor's editor never hides content mid-edit. */
.elementor-editor-active .prx-reveal { opacity: 1 !important; transform: none !important; }

/* Reduced motion is honoured absolutely: animation is disabled, not shortened. */
@media (prefers-reduced-motion: reduce) {
  .prx *, .prx *::before, .prx *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .prx-js .prx-reveal { opacity: 1; transform: none; }
}

/* ============================================================================
   BUNDLED TEMPLATES
   Only loaded on profile and archive pages rendered by the plugin's own
   templates. Everything below reuses the tokens above.
   ========================================================================== */

.prx-single, .prx-archive { padding-block: clamp(1.25rem, 3vw, 2rem) clamp(3rem, 6vw, 4.5rem); }
.prx-wrap { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }
.prx-sec { padding-top: clamp(2.25rem, 5vw, 3.5rem); }

.prx-h-sm { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 1rem; }
.prx-h-md { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.4rem); margin-bottom: 1.25rem; }

/* -------------------------------------------------------------- crumbs ---- */
.prx-crumbs { font-size: .8125rem; color: var(--prx-ink-soft); margin-bottom: 1.25rem; }
.prx-crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.prx-crumbs li:not(:last-child)::after { content: "›"; margin-left: .4rem; color: var(--prx-sky); }
.prx-crumbs a { text-decoration: underline; text-decoration-color: var(--prx-sky); text-underline-offset: 3px; }
.prx-crumbs a:hover { color: var(--prx-slate); }
.prx-crumbs [aria-current] { color: var(--prx-ink); }

/* ----------------------------------------------------------- page head ---- */
.prx-phead { padding-bottom: clamp(1.25rem, 3vw, 2rem); }
.prx-phead h1 {
  font-family: var(--prx-display);
  font-size: clamp(2.2rem, 1.5rem + 3.2vw, 3.7rem);
  line-height: 1.03; letter-spacing: -.026em; max-width: 20ch; text-wrap: balance;
  margin: 0; font-weight: 400; color: var(--prx-ink);
}

/* --------------------------------------------------------------- answer ---
   The 40 to 55 word block an AI assistant can lift whole. A quiet panel, not a
   callout: it is the answer, not an aside. */
.prx-answer {
  background: var(--prx-surface); border: 1px solid var(--prx-line-soft);
  border-left: 3px solid var(--prx-sky); border-radius: var(--prx-r-field);
  padding: clamp(1.1rem, 3vw, 1.5rem); max-width: 68ch;
  font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.6; color: var(--prx-ink);
}

/* ---------------------------------------------------------------- prose --- */
.prx-prose { max-width: 68ch; }
/* Specificity note: `.prx p { margin: 0 }` above is (0,1,1) and would beat a
   bare `.prx-prose > * + *` at (0,1,0), so paragraphs would run together. The
   extra `.prx` lifts this to (0,2,0). */
.prx .prx-prose > * + * { margin-top: 1.1rem; }
.prx-prose h2 { font-family: var(--prx-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); line-height: 1.12; margin-top: 2.4rem; }
.prx-prose h3 { font-family: var(--prx-ui); font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.4; margin-top: 1.8rem; }
.prx-prose p { color: var(--prx-ink-soft); line-height: 1.72; }
.prx-prose strong { color: var(--prx-ink); font-weight: 600; }
.prx-prose a { color: var(--prx-slate); text-decoration: underline; text-decoration-color: var(--prx-sky); text-underline-offset: 3px; }
.prx-prose ul, .prx-prose ol { display: grid; gap: .6rem; padding-left: 0; }
.prx-prose li { position: relative; padding-left: 1.4rem; color: var(--prx-ink-soft); line-height: 1.7; list-style: none; }
.prx-prose ul li::before { content: ""; position: absolute; left: .15rem; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--prx-sky); }
.prx-prose ol { counter-reset: prxo; }
.prx-prose ol li { counter-increment: prxo; padding-left: 1.9rem; }
.prx-prose ol li::before { content: counter(prxo); position: absolute; left: 0; top: 0; font-family: var(--prx-display); font-size: 1.125rem; color: var(--prx-sky); line-height: 1.5; }

/* -------------------------------------------------------------- profile --- */
.prx-pcols { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }
@media (min-width: 1000px) { .prx-pcols { grid-template-columns: minmax(0, 1fr) 22rem; } }
.prx-pside { display: grid; gap: 1rem; position: sticky; top: 2rem; }
@media (max-width: 999px) { .prx-pside { position: static; } }

.prx-panel { background: var(--prx-surface); border: 1px solid var(--prx-line-soft); border-radius: var(--prx-r-card); padding: 1.4rem 1.3rem; box-shadow: var(--prx-shadow-s); }
.prx-panel h2 { font-family: var(--prx-ui); font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--prx-ink-soft); margin-bottom: .9rem; }

.prx-dl { display: grid; gap: .1rem; margin: 0; }
.prx-dl > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--prx-line-soft); }
.prx-dl > div:last-child { border-bottom: 0; }
.prx-dl dt { font-size: .8125rem; font-weight: 600; color: var(--prx-ink-soft); margin: 0; }
.prx-dl dd { margin: 0; font-size: .9375rem; }
@media (max-width: 560px) { .prx-dl > div { grid-template-columns: 1fr; gap: .1rem; } }

.prx-phero { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 700px) { .prx-phero { grid-template-columns: auto 1fr; } }
.prx-portrait {
  width: clamp(120px, 22vw, 168px); aspect-ratio: 1; border-radius: var(--prx-r-card);
  overflow: hidden; background: linear-gradient(150deg, #D5E7F5, #AFCFE8);
  display: grid; place-items: center; font-family: var(--prx-display); font-size: 3rem;
  color: var(--prx-navy); box-shadow: var(--prx-shadow-m);
}
.prx-portrait img { width: 100%; height: 100%; object-fit: cover; }
.prx-pname { font-family: var(--prx-display); font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.1rem); line-height: 1.05; letter-spacing: -.025em; margin: 0; font-weight: 400; }
.prx-ppost { font-size: .9375rem; color: var(--prx-ink-soft); margin-top: .35rem; }

/* Verified badge that explains itself, on hover and on keyboard focus. */
.prx-vbadge {
  display: inline-flex; align-items: center; gap: .55rem; background: var(--prx-wash);
  border-radius: var(--prx-r-pill); padding: .45rem .95rem .45rem .5rem; margin-top: .9rem;
  font-size: .8125rem; font-weight: 600; color: var(--prx-ink); position: relative;
  transition: background var(--prx-hover), transform var(--prx-hover) var(--prx-ease);
}
.prx-vbadge:hover, .prx-vbadge:focus-visible { background: var(--prx-sky-soft); transform: translateY(-2px); }
.prx-vbadge__tip {
  position: absolute; left: 0; top: calc(100% + .5rem); width: min(22rem, 80vw);
  background: var(--prx-surface); border: 1px solid var(--prx-line); border-radius: var(--prx-r-field);
  box-shadow: var(--prx-shadow-l); padding: .85rem 1rem; font-size: .8125rem; font-weight: 400;
  line-height: 1.6; color: var(--prx-ink-soft); opacity: 0; visibility: hidden;
  transform: translateY(-4px); transition: opacity .25s, visibility .25s, transform .25s var(--prx-ease); z-index: 20;
}
.prx-vbadge:hover .prx-vbadge__tip, .prx-vbadge:focus-visible .prx-vbadge__tip { opacity: 1; visibility: visible; transform: none; }

/* Sticky enquiry bar, mobile only. The fee sits next to the action because the
   fee is the question people are actually holding. */
.prx-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(252, 253, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--prx-line);
  padding: .7rem clamp(1.25rem, 5vw, 3rem) calc(.7rem + env(safe-area-inset-bottom));
  display: flex; gap: .6rem; align-items: center; justify-content: space-between;
  box-shadow: 0 -4px 20px rgba(16, 32, 46, .08);
}
.prx-sticky__fee { font-size: .8125rem; color: var(--prx-ink-soft); line-height: 1.35; }
.prx-sticky__fee strong { display: block; color: var(--prx-ink); font-size: .9375rem; }
@media (min-width: 1000px) { .prx-sticky { display: none; } }
@media (max-width: 999px) { body:has(.prx-sticky) { padding-bottom: 5.5rem; } }

/* ----------------------------------------------------------------- form --- */
.prx-form-grid { display: grid; gap: .6rem; }
.prx-refine { display: grid; gap: .6rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .prx-refine { grid-template-columns: 1fr auto; align-items: end; } }
.prx-refine .prx-btn { min-height: 52px; }
.prx-field textarea { width: 100%; border: 0; background: transparent; padding: 0; font-family: var(--prx-ui); font-size: 1rem; font-weight: 500; color: var(--prx-ink); outline: none; resize: vertical; }
.prx-formnote { font-size: .75rem; color: var(--prx-ink-soft); line-height: 1.6; margin-top: .8rem; }
.prx-formnote a { text-decoration: underline; text-underline-offset: 2px; }
.prx-sent { background: var(--prx-wash); border-radius: var(--prx-r-field); padding: 1rem 1.1rem; font-size: .9375rem; color: var(--prx-ink); }

/* ------------------------------------------------------------- reviewed --- */
.prx-reviewed {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem;
  background: var(--prx-wash); border-radius: var(--prx-r-field); padding: .9rem 1.1rem;
  font-size: .8125rem; color: var(--prx-ink-soft); max-width: 68ch;
}
.prx-reviewed strong { color: var(--prx-ink); font-weight: 600; }

/* --------------------------------------------------------------- editor ---
   Shown to logged-in editors only. Never rendered for a visitor, so an
   unfinished page is never explained to the public. */
.prx-editor {
  border: 1px dashed var(--prx-clay); background: var(--prx-clay-soft);
  border-radius: var(--prx-r-field); padding: .85rem 1rem;
  font-size: .8125rem; line-height: 1.6; color: #6B3F1E; max-width: 68ch;
}
.prx-editor strong { display: block; margin-bottom: .2rem; }
