/* ==========================================================================
   THE PRIVATE OFFICE — WEBSITE
   private-office.css — page styles for the /private-office route only.
   Reuses the design system (tokens · base · components · site chrome);
   nothing in this file affects any other page.
   ========================================================================== */

/* ==========================================================================
   1 · BREADCRUMB — quiet institutional wayfinding above the hero
   ========================================================================== */
.po-crumbs {
  background: var(--c-white);
  border-bottom: 1px solid rgba(198, 161, 91, 0.22);
  padding: calc(var(--header-h) + var(--space-3)) clamp(20px, 4vw, 64px) var(--space-3);
}
.po-crumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.po-crumbs__link,
.po-crumbs__here,
.po-crumbs__sep {
  font-family: var(--font-sub);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
}
.po-crumbs__link { color: var(--navy-800); text-decoration: none; transition: color var(--dur-2) var(--ease-standard); }
.po-crumbs__link:hover { color: var(--gold-600); }
.po-crumbs__link:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: var(--r-xs); }
.po-crumbs__sep { color: var(--gold-500); }
.po-crumbs__here { color: var(--ink-mute); }

/* ==========================================================================
   2 · PAGE HERO — centered navy band (offset provided by the breadcrumb)
   ========================================================================== */
.po-hero {
  background: var(--grad-navy);
  color: var(--ivory-100);
  text-align: center;
  padding: var(--space-7) clamp(24px, 5vw, 64px);
}
.po-hero__inner { max-width: 820px; margin-inline: auto; }
.po-hero .eyebrow { color: var(--gold-400); }
.po-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.4vw, 3.75rem);
  font-weight: var(--fw-medium);
  line-height: 1.12;
  letter-spacing: var(--track-display);
  color: var(--c-white);
  margin: 18px 0 20px;
  text-wrap: balance;
}
.po-hero__lead {
  font-family: var(--font-body);
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-light);
  line-height: 1.7;
  color: rgba(247, 242, 232, 0.74);
  max-width: 64ch;
  margin-inline: auto;
}

/* ==========================================================================
   Shared page rhythm — shells, container, heads
   ========================================================================== */
.po-purpose { background: #FAF8F3; }
.po-values  { background: var(--c-white); }
.po-work    { background: #FAF8F3; }
.po-faq     { background: var(--c-white); }

.po-purpose, .po-values, .po-work, .po-faq {
  padding: var(--space-7) clamp(20px, 4vw, 64px);
}
.po-inner { max-width: 1440px; margin-inline: auto; }
.po-inner--narrow { max-width: 880px; }

.po-head { max-width: 720px; margin-bottom: var(--space-5); }
.po-head--center { margin-inline: auto; text-align: center; }
.po-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.9vw, 2.625rem);
  font-weight: var(--fw-semi);
  line-height: 1.15;
  letter-spacing: var(--track-display);
  color: var(--navy-800);
  margin: 16px 0 12px;
  text-wrap: balance;
}
.po-desc { font-size: var(--fs-body); line-height: 1.75; color: var(--ink-soft); }

/* ==========================================================================
   3 · OUR PURPOSE — four cards (existing .card surface)
   ========================================================================== */
.po-grid4 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.po-info { padding: 32px 30px; }
.po-info__icon { width: 30px; height: 30px; color: var(--gold-600); margin-bottom: 20px; }
.po-info__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--fw-semi);
  line-height: 1.2;
  letter-spacing: var(--track-display);
  color: var(--navy-800);
  margin-bottom: 10px;
}
.po-info__text { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.7; color: var(--ink-soft); }

/* ==========================================================================
   4 · OUR VALUES — five minimal value chips (existing .card surface)
   ========================================================================== */
.po-values__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-3);
}
.po-value {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  transition:
    transform var(--dur-3) var(--ease-lux),
    border-color var(--dur-2) var(--ease-standard);
}
.po-value:hover { transform: translateY(-3px); border-color: rgba(198, 161, 91, 0.55); }
.po-value__icon { width: 26px; height: 26px; color: var(--gold-600); }
.po-value__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: var(--fw-semi);
  letter-spacing: var(--track-display);
  line-height: 1.2;
  color: var(--navy-800);
}

/* ==========================================================================
   5 · HOW WE WORK — horizontal five-step process, vertical on mobile
   ========================================================================== */
.po-steps {
  list-style: none;
  position: relative;
  margin: var(--space-6) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-3);
}
.po-steps::before {                                            /* the horizontal rail */
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 5px;
  height: 1px;
  background: linear-gradient(90deg, rgba(198, 161, 91, 0.15), rgba(198, 161, 91, 0.55) 18%, rgba(198, 161, 91, 0.55) 82%, rgba(198, 161, 91, 0.15));
}
.po-step {
  position: relative;
  padding-top: 38px;
  text-align: center;
}
.po-step::before {                                             /* gold node on the rail */
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--grad-gold);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.16);
}
.po-step__num {
  display: block;
  font-family: var(--font-sub);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 8px;
}
.po-step__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: var(--fw-semi);
  line-height: 1.25;
  letter-spacing: var(--track-display);
  color: var(--navy-800);
}

/* Process note — discreet institutional safeguard */
.po-note {
  margin: var(--space-6) auto 0;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(198, 161, 91, 0.25);
  max-width: 70ch;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: var(--track-wide);
  line-height: 1.7;
  color: var(--ink-mute);
}

/* ==========================================================================
   6 · FAQ — native <details> accordions with gold chevrons
   (visual parity with the other pages' accordions)
   ========================================================================== */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: var(--c-white);
  border: 1px solid rgba(198, 161, 91, 0.32);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-2) var(--ease-standard);
}
.faq__item[open] { border-color: rgba(198, 161, 91, 0.6); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: var(--fw-semi);
  letter-spacing: var(--track-display);
  color: var(--navy-800);
  list-style: none;
  border-radius: var(--r-md);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }
.faq__chev { flex: none; width: 18px; height: 18px; color: var(--gold-600); transition: transform var(--dur-2) var(--ease-standard); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 24px 22px; }
.faq__a p { font-family: var(--font-body); font-size: 0.9375rem; line-height: 1.7; color: var(--ink-soft); }

/* ==========================================================================
   7 · CONTACT CTA — centered navy coda
   ========================================================================== */
.po-contact {
  background: var(--grad-navy);
  color: var(--ivory-100);
  text-align: center;
  padding: var(--space-7) clamp(20px, 4vw, 64px);
}
.po-contact__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }
.po-contact__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: var(--fw-semi);
  line-height: 1.15;
  letter-spacing: var(--track-display);
  color: var(--c-white);
  text-wrap: balance;
}

/* ==========================================================================
   Responsive — tablet & mobile
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1023px) {
  .po-grid4 { grid-template-columns: repeat(2, 1fr); }
  .po-values__grid { grid-template-columns: repeat(3, 1fr); }
  .po-steps { grid-template-columns: repeat(5, 1fr); gap: var(--space-2); }
  .po-step__title { font-size: 1rem; }
}
@media (max-width: 767px) {
  .po-crumbs { padding-top: calc(var(--header-h) + var(--space-2)); }
  .po-hero { padding: var(--space-6) clamp(20px, 5vw, 40px); }
  .po-hero__title { font-size: clamp(2.125rem, 7.6vw, 2.5rem); }
  .po-purpose, .po-values, .po-work, .po-faq { padding-block: var(--space-6); }
  .po-grid4 { grid-template-columns: 1fr; }
  .po-values__grid { grid-template-columns: repeat(2, 1fr); }

  /* Process becomes a vertical rail */
  .po-steps { grid-template-columns: 1fr; gap: var(--space-4); }
  .po-steps::before {
    left: 5px;
    right: auto;
    top: 8px;
    bottom: 8px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(198, 161, 91, 0.55), rgba(198, 161, 91, 0.12));
  }
  .po-step { padding: 0 0 0 32px; text-align: left; }
  .po-step::before { left: 0; top: 6px; transform: none; }

  .po-contact { padding-block: var(--space-6); }
}
