/* =============================================================================
   PAULSELLSPROPERTIES.COM — Redesign Component Styles
   Phase 2: Navigation + Hero
   Phase 3 Batch A: Philosophy, Heritage, Services
   Branch: redesign/phase-1
   Builds on: design-tokens.css (load before this file)
   ============================================================================= */

/* ---------------------------------------------------------------------------
   Navigation
   --------------------------------------------------------------------------- */
.psp-nav {
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--nav-height); /* 76px */
  background: transparent;
  transition: background 220ms ease-out, box-shadow 220ms ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .psp-nav { transition: none; }
}

.psp-nav__inner {
  width: 100%;
  height: 100%;
  padding-inline: var(--section-px);
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

/* Brand wordmark */
.psp-nav__brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: var(--color-white);
  flex-shrink: 0;
  line-height: 1;
}

.psp-nav__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-white);
  line-height: 1;
}

.psp-nav__descriptor {
  font-family: var(--font-sans);
  font-size: 0.5625rem; /* 9px */
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1;
}

/* Nav links — distribute evenly across the flexible middle zone */
.psp-nav__links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 36px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.psp-nav__link {
  font-family: var(--font-sans);
  font-size: 0.75rem; /* 12px */
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color var(--transition-base);
  white-space: nowrap;
  line-height: 1;
}

.psp-nav__link:hover {
  color: var(--color-white);
}

/* Right actions */
.psp-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.psp-nav__search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--nav-action-h);
  height: var(--nav-action-h);
  border: var(--btn-border-w) solid rgba(255, 255, 255, 0.85);
  background: transparent;
  cursor: pointer;
  color: var(--color-white);
  border-radius: 6px;
  transition: background var(--transition-base), border-color var(--transition-base);
  flex-shrink: 0;
}

.psp-nav__search-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 1.0);
}

/* Mobile hamburger (hidden on desktop) */
.psp-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 9px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.psp-nav__toggle-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-white);
  border-radius: 1px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Focus ring — white outline for nav over dark hero */
.psp-nav__brand:focus-visible,
.psp-nav__link:focus-visible,
.psp-nav__toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.80);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Search button focus ring */
.psp-nav__search-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.80);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Contact button — white outlined on transparent nav, same height as search icon */
.psp-nav .psp-btn--nav {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.55);
  min-height: var(--nav-action-h);
}
.psp-nav .psp-btn--nav:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.80);
}

/* Scrolled state — near-black background, text and icons remain white */
.psp-nav.scrolled {
  background: #101010;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ---------------------------------------------------------------------------
   Mobile menu — full-screen slide-in drawer
   --------------------------------------------------------------------------- */
.psp-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.psp-mobile-menu.is-open {
  transform: translateX(0);
}

.psp-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: var(--nav-height);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.psp-mobile-menu__brand {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text-primary);
  letter-spacing: 0.02em;
}

.psp-mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--color-text-primary);
  border-radius: 50%;
  transition: background var(--transition-base);
}

.psp-mobile-menu__close:focus-visible {
  outline: 2px solid var(--color-text-primary);
  outline-offset: 2px;
}

.psp-mobile-menu__close:hover {
  background: var(--color-bg-secondary);
}

.psp-mobile-menu__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 24px 24px;
}

.psp-mobile-menu__nav a {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 8vw, 2.75rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  display: block;
  transition: color var(--transition-base);
}

.psp-mobile-menu__nav a:last-child {
  border-bottom: none;
}

.psp-mobile-menu__nav a:hover {
  color: var(--color-text-secondary);
}

.psp-mobile-menu__nav a:focus-visible {
  outline: 2px solid var(--color-text-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

.psp-mobile-menu__cta {
  padding: 24px;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}

.psp-mobile-menu__cta .psp-btn {
  width: 100%;
  justify-content: center;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .psp-mobile-menu {
    transition: none;
  }
  .psp-nav__toggle-bar {
    transition: none;
  }
}

/* ---------------------------------------------------------------------------
   Responsive: Nav breakpoints
   --------------------------------------------------------------------------- */

/* Tablet: hide desktop links + Contact, show circled search + circled hamburger */
@media (max-width: 1024px) {
  .psp-nav__links {
    display: none;
  }
  /* Contact moves into the mobile drawer at this breakpoint */
  .psp-nav__actions .psp-btn--nav {
    display: none;
  }
  .psp-nav__toggle {
    display: flex;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: var(--btn-border-w) solid rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-sm);
  }
  .psp-nav__toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 1.0);
  }
  .psp-nav__search-btn {
    width: 44px;
    height: 44px;
  }
  .psp-nav__inner {
    padding-inline: var(--space-6);
    gap: var(--space-3);
  }
  /* Push search + hamburger to the far right */
  .psp-nav__actions {
    margin-left: auto;
  }
}

/* Mobile: tighten inner padding */
@media (max-width: 479px) {
  .psp-nav__inner {
    padding-inline: var(--space-4);
  }
}

/* ---------------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------------- */
.psp-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Full-bleed photo */
.psp-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.psp-hero__photo {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
  display: block;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 18%);
  mask-image: linear-gradient(to right, transparent 0%, black 18%);
}

/* Gradient overlay — left-heavy for text contrast; bottom fade for depth */
.psp-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      108deg,
      rgba(8, 6, 4, 0.72) 0%,
      rgba(8, 6, 4, 0.50) 42%,
      rgba(8, 6, 4, 0.16) 68%,
      transparent 88%
    ),
    linear-gradient(
      to top,
      rgba(8, 6, 4, 0.52) 0%,
      transparent 50%
    );
}

/* Content wrapper — constrains width, provides padding */
.psp-hero__content-wrap {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding-inline: var(--section-px);
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  max-width: calc(var(--max-width) + 2 * var(--section-px));
  margin-inline: auto;
  width: 100%;
}

.psp-hero__content {
  max-width: 660px;
  display: flex;
  flex-direction: column;
}

/* Eyebrow */
.psp-hero__eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-eyebrow);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 var(--space-4);
}

/* Headline */
.psp-hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.875rem, 5.25vw, 4.375rem);
  font-weight: var(--fw-medium);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--color-white);
  margin: 0 0 var(--space-8);
}

.psp-hero__headline em {
  font-style: italic;
  font-weight: var(--fw-medium);
  white-space: nowrap;
}

/* Mobile-only line break inside italic headline sentence — hidden above 479px */
.psp-hero__br--mobile {
  display: none;
}

/* Body copy */
.psp-hero__body {
  font-family: var(--font-sans);
  font-size: var(--text-body-lg);
  font-weight: var(--fw-regular);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 36px;
  /* matches combined CTA width: 2 × 18rem min-width + gap between them */
  max-width: calc(18rem * 2 + var(--space-5));
}

/* CTA row */
.psp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  align-items: center;
}

/* Hero CTAs — both buttons share size, typography, and spacing */
.psp-hero__ctas .psp-btn--primary-light,
.psp-hero__ctas .psp-btn--explore {
  min-height: 58px;
  padding-block: 1.0625rem;
  padding-inline: 2.25rem;
  font-size: var(--text-body-sm);
  letter-spacing: 0.03em;
  min-width: 18rem;
  justify-content: center;
}

/* Explore Properties — pill with inscribed circle at right.
 * The outline is a single SVG stroke (pill path + left-arc divider),
 * eliminating the double-border that appeared when two CSS borders shared
 * the same junction. No overflow:hidden needed. */
.psp-btn--explore {
  gap: var(--space-2);
}

/* Placeholder badge */
.psp-hero__placeholder {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 10;
  background: rgba(170, 60, 0, 0.88);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  pointer-events: none;
}

/* ---------------------------------------------------------------------------
   Responsive: Hero breakpoints
   --------------------------------------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
  .psp-hero__content-wrap {
    padding-top: calc(var(--nav-height) + 230px);
    padding-bottom: 40px;
    padding-inline: var(--space-6);
  }
  .psp-hero__content {
    max-width: 490px;
  }
  .psp-hero__headline {
    font-size: clamp(2.5rem, 4.6vw, 3.625rem);
  }
  .psp-hero__body {
    max-width: 100%;
  }
}

/* Tablet portrait and below — content anchored to bottom-left */
@media (max-width: 768px) {
  .psp-hero {
    min-height: 100svh;
  }
  .psp-hero__content-wrap {
    flex: none;
    min-height: 100svh;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding-top: var(--nav-height);
    padding-bottom: 36px;
    padding-inline: 40px;
  }
  .psp-hero__content {
    max-width: 100%;
  }
  .psp-hero__headline {
    font-size: clamp(2.875rem, 6.25vw, 3.25rem);
    line-height: 1.07;
    margin-bottom: 28px;
  }
  .psp-hero__body {
    margin-bottom: 32px;
    max-width: 500px;
  }
  .psp-hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }
  /* Both hero CTAs: full width, no min-width constraint on mobile */
  .psp-hero__ctas .psp-btn--primary-light,
  .psp-hero__ctas .psp-btn--explore {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
  .psp-hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% 5%;
    -webkit-mask-image: none;
    mask-image: none;
  }
  /* Tablet: content sits in the lower portion — reinforce with bottom-up scrim */
  .psp-hero__overlay {
    background:
      linear-gradient(
        to top,
        rgba(8, 6, 4, 0.70) 0%,
        rgba(8, 6, 4, 0.42) 45%,
        transparent 70%
      ),
      linear-gradient(
        to right,
        rgba(8, 6, 4, 0.38) 0%,
        transparent 65%
      );
  }
}

/* Mobile */
@media (max-width: 479px) {
  .psp-hero__content-wrap {
    padding-inline: var(--space-4);
    padding-bottom: 20px;
  }
  .psp-hero__headline {
    font-size: clamp(2.5rem, 11vw, 3.25rem);
    margin-bottom: var(--space-6);
  }
  /* Activate the semantic line break inside the italic sentence at mobile */
  .psp-hero__br--mobile {
    display: inline;
  }
  .psp-hero__body {
    font-size: var(--text-body);
    margin-bottom: 28px;
  }
  .psp-hero__photo {
    object-position: 50% 0%;
  }
  /* Localized dark gradient behind the lower-left text block at mobile */
  .psp-hero__overlay {
    background:
      /* Halo centered on the shifted text region (content at ~40–80% of screen height) */
      radial-gradient(ellipse 120% 72% at 10% 68%, rgba(8, 6, 4, 0.78) 0%, transparent 100%),
      /* Top scrim so nav remains readable */
      linear-gradient(to bottom, rgba(8, 6, 4, 0.42) 0%, transparent 22%);
  }
}

/* Narrow mobile (≤360px) — compact button height */
@media (max-width: 360px) {
  .psp-hero__ctas .psp-btn--primary-light,
  .psp-hero__ctas .psp-btn--explore {
    min-height: 40px;
    padding-block: 0.5rem;
  }
}

/* Very narrow mobile (≤320px) — compact buttons + smaller headline */
@media (max-width: 320px) {
  .psp-hero__headline {
    font-size: clamp(2.25rem, 10vw, 2.875rem);
    margin-bottom: 18px;
  }
  .psp-hero__body {
    margin-bottom: 22px;
  }
}

/* Short mobile viewport — compact buttons + smaller headline + tighter spacing */
@media (max-width: 375px) and (max-height: 650px) {
  .psp-hero__ctas .psp-btn--primary-light,
  .psp-hero__ctas .psp-btn--explore {
    min-height: 40px;
    padding-block: 0.5rem;
  }
  .psp-hero__headline {
    font-size: clamp(2.25rem, 9.5vw, 2.875rem);
    margin-bottom: 18px;
  }
  .psp-hero__body {
    margin-bottom: 22px;
  }
}


/* =============================================================================
   Phase 3 Batch A (revised) — Find Your Next Move, About Paul
   ============================================================================= */

/* ---------------------------------------------------------------------------
   Section modifier — compact vertical padding for denser layouts
   --------------------------------------------------------------------------- */

.psp-section--compact .psp-section-inner {
  padding-block: var(--space-16); /* 64px desktop */
}
@media (max-width: 1024px) {
  .psp-section--compact .psp-section-inner {
    padding-block: var(--space-12); /* 48px tablet */
  }
}
@media (max-width: 768px) {
  .psp-section--compact .psp-section-inner {
    padding-block: var(--space-8); /* 32px mobile */
  }
}

/* ---------------------------------------------------------------------------
   Find Your Next Move — Concept 2: Asymmetric Editorial Grid
   Left: large hero photo + heading overlay | Right: 4 stacked service panels
   --------------------------------------------------------------------------- */

.fnm-section {
  border-top: 1px solid var(--color-border);
}

/* two-column asymmetric grid */
.fnm__grid {
  display: grid;
  grid-template-columns: 47fr 53fr;
  grid-template-rows: minmax(580px, auto);
  gap: 20px;
  align-items: stretch;
}

/* ── Left: hero ──────────────────────────────────────────── */
.fnm__hero {
  position: relative;
  overflow: hidden;
  background: #211C16;
}

.fnm__hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}

.fnm__hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(16,12, 8,.90)  0%,
    rgba(16,12, 8,.62) 26%,
    rgba(16,12, 8,.18) 54%,
    transparent         74%
  );
  pointer-events: none;
}

.fnm__hero-copy {
  position: absolute;
  bottom: 40px; left: 36px; right: 36px;
}
.fnm__hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 3.8vw, 3.625rem);
  font-weight: 300;
  line-height: 1.06; letter-spacing: -.01em;
  color: rgba(255,255,255,.96);
  margin-bottom: 14px;
}
.fnm__hero-sub {
  font-family: var(--font-sans);
  font-size: clamp(.75rem, .95vw, .875rem);
  font-weight: 400; line-height: 1.68;
  color: rgba(255,255,255,.56);
  max-width: 32ch;
}

/* ── Right: 4 equal service panels ──────────────────────── */
.fnm__panels {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fnm__panel {
  display: flex; align-items: stretch;
  text-decoration: none;
  color: var(--color-text-primary);
  background: var(--color-testimonial-card);
  border-radius: var(--radius-card);
  overflow: hidden; position: relative;
  flex: 1;
  transition: background 170ms ease;
}
.fnm__panel:hover { background: #E6E3DC; }
.fnm__panel:focus-visible {
  outline: 2px solid var(--color-text-primary);
  outline-offset: -2px;
}

.fnm__panel-content {
  flex: 1; min-width: 0;
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  padding: 26px 20px 26px 28px;
}
.fnm__panel-text {
  display: flex; flex-direction: column; gap: 6px;
}
.fnm__panel-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.7vw, 1.625rem);
  font-weight: 600; line-height: 1.1; letter-spacing: .004em;
  color: var(--color-text-primary);
}
.fnm__panel-desc {
  font-family: var(--font-sans);
  font-size: .75rem; font-weight: 400; line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 34ch;
}

.fnm__panel-arrow {
  flex-shrink: 0; display: flex;
  align-items: center; justify-content: center;
  width: 28px; height: 28px;
}
.fnm__panel-arrow svg {
  width: 15px; height: 15px;
  stroke: var(--color-muted);
  transition: stroke 200ms ease, transform 200ms ease;
}
.fnm__panel:hover .fnm__panel-arrow svg {
  stroke: var(--color-text-primary);
  transform: translateX(3px);
}

/* photographic texture — right portion of each panel */
.fnm__panel-texture {
  flex-shrink: 0; width: 37%;
  position: relative; overflow: hidden;
  background: var(--color-bg-secondary);
}
.fnm__panel-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 400ms ease, filter 380ms ease;
}
.fnm__panel:hover .fnm__panel-img {
  transform: scale(1.028);
  filter: brightness(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .fnm__panel                             { transition: none; }
  .fnm__panel-arrow svg                   { transition: none; }
  .fnm__panel:hover .fnm__panel-img       { transform: none; filter: none; }
  .fnm__panel:hover .fnm__panel-arrow svg { transform: none; }
}


/* ---------------------------------------------------------------------------
   About Paul
   Light section · top border for visual separation from Find Your Next Move
   Asymmetric 5:7 grid: editorial portrait left, concise bio right
   --------------------------------------------------------------------------- */

.psp-section--about-border {
  border-top: 1px solid var(--color-border);
}

.psp-about-paul {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(var(--space-10), 6vw, var(--space-16));
  align-items: stretch;
}

.psp-about-paul__photo-col {
  position: relative;
}

.psp-about-paul__photo {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  object-fit: cover;
  object-position: center 8%;
  display: block;
}

.psp-about-paul__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  align-items: flex-start;
}

.psp-about-paul__heading {
  font-family: var(--font-serif);
  font-size: var(--text-section-heading);
  font-weight: var(--fw-section-heading);
  line-height: var(--lh-section-heading);
  letter-spacing: var(--ls-section-heading);
  color: var(--color-text-primary);
  margin: 0;
}

.psp-about-paul__bio {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--color-text-secondary);
  margin: 0;
}

.psp-about-paul__subheadline {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  font-style: italic;
  font-weight: var(--fw-light);
  line-height: 1.38;
  color: var(--color-text-secondary);
  margin: 0;
}

.psp-about-paul__bio-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}


/* ---------------------------------------------------------------------------
   Find Your Next Move + About Paul — Responsive
   --------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .fnm__grid         { gap: 14px; grid-template-rows: minmax(520px, auto); }
  .fnm__panels       { gap: 12px; }
  .fnm__panel-content { padding: 22px 16px 22px 22px; }
  .fnm__panel-texture { width: 33%; }
  .fnm__hero-copy    { bottom: 28px; left: 26px; right: 26px; }
  .psp-about-paul    { gap: var(--space-8); }
}

@media (max-width: 768px) {
  .fnm__grid         { grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 0; }
  .fnm__hero         { aspect-ratio: 16 / 9; min-height: 260px; }
  .fnm__hero-copy    { bottom: 22px; left: 20px; right: 20px; }
  .fnm__hero-heading { font-size: clamp(1.875rem, 5vw, 2.5rem); }
  .fnm__hero-sub     { font-size: .75rem; }
  .fnm__panels       { gap: 10px; }
  .fnm__panel-content { padding: 20px 14px 20px 18px; }
  .fnm__panel-texture { width: 28%; }
  .fnm__panel-heading { font-size: 1.25rem; }
}

@media (max-width: 640px) {
  .psp-about-paul          { grid-template-columns: 1fr; gap: var(--space-8); align-items: start; }
  .psp-about-paul__content { padding-top: 0; }
  .psp-about-paul__photo   { aspect-ratio: 3 / 4; height: auto; }
}

@media (max-width: 480px) {
  .fnm__hero         { aspect-ratio: 5 / 4; min-height: 240px; }
  .fnm__hero-heading { font-size: 2rem; }
  .fnm__hero-sub     { font-size: .6875rem; max-width: 26ch; }
  .fnm__hero-copy    { bottom: 20px; left: 18px; right: 18px; }
  .fnm__panels       { gap: 8px; }
  .fnm__panel-texture { display: none; }
  .fnm__panel-content { padding: 16px 16px 16px 16px; }
  .fnm__panel-heading { font-size: 1.1875rem; }
  .fnm__panel-desc   { max-width: 100%; font-size: .6875rem; }
}

@media (max-width: 479px) {
  .psp-about-paul__content  { gap: var(--space-5); }
  .psp-about-paul__photo-col { max-width: 100%; }
  .psp-about-paul__photo    { aspect-ratio: 3 / 4; object-position: center 12%; }
}

@media (max-width: 360px) {
  .fnm__hero-heading  { font-size: 1.75rem; }
  .fnm__panel-heading { font-size: 1.0625rem; }
  .fnm__panel-desc    { font-size: .625rem; }
}


/* =============================================================================
   Phase 3 Batch B — Selected Transactions, Client Experiences,
   Featured Neighborhoods, L.A. Property Journal
   ============================================================================= */

/* ---------------------------------------------------------------------------
   Selected Transactions
   Light section · 4-card horizontal grid with status badges
   --------------------------------------------------------------------------- */

.psp-section--tx-border { border-top: 1px solid var(--color-border); }

.psp-transactions__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.psp-transactions__header-left { display: flex; flex-direction: column; gap: var(--space-2); }

.psp-transactions__title {
  font-family: var(--font-serif);
  font-size: var(--text-section-heading);
  font-weight: var(--fw-section-heading);
  line-height: var(--lh-section-heading);
  letter-spacing: var(--ls-section-heading);
  color: var(--color-text-primary);
  margin: 0;
}

.psp-transactions__sub {
  font-family: var(--font-sans);
  font-size: var(--text-body-sm);
  color: var(--color-muted);
  margin: 0;
}

.psp-transactions__view-all {
  font-family: var(--font-sans);
  font-size: var(--text-body-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  margin-bottom: 2px;
}
.psp-transactions__view-all:hover { text-decoration: underline; }

.psp-transactions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.psp-tx-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text-primary);
}

.psp-tx-card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg-secondary);
}

.psp-tx-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.psp-tx-card:hover .psp-tx-card__img { transform: scale(1.03); }

.psp-tx-card__img-placeholder {
  width: 100%; height: 100%;
  background: #D8D6D0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.psp-tx-card__img-placeholder::after {
  content: 'Photo pending';
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.psp-tx-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.psp-tx-badge--sold      { background: var(--color-dark); color: var(--color-white); }
.psp-tx-badge--leased    { background: var(--color-dark); color: var(--color-white); }
.psp-tx-badge--active    { background: var(--color-dark); color: var(--color-white); }
.psp-tx-badge--off-market {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.7);
  color: var(--color-white);
}
.psp-tx-badge--for-sale {
  background: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
}


.psp-tx-card__body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.psp-tx-card__address {
  font-family: var(--font-serif);
  font-size: clamp(1.1875rem, 1.4vw, 1.3125rem); /* 19–21px */
  font-weight: 600;
  letter-spacing: var(--ls-display);
  line-height: 1.25;
  color: var(--color-text-primary);
  margin: 0 0 4px;
}

.psp-tx-card__neighborhood {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--color-text-secondary);
  margin: 0;
}

.psp-tx-card__price {
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 1.25vw, 1.125rem); /* 17–18px */
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-display);
  color: var(--color-text-primary);
  margin: 16px 0 4px;
}

.psp-tx-card__meta {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: var(--lh-compact);
  color: var(--color-text-secondary);
  margin: 0;
}


/* ---------------------------------------------------------------------------
   Client Experiences — Phase 7
   Cream background · horizontal carousel · left-positioned quotation marks
   --------------------------------------------------------------------------- */

/* Header: eyebrow left, circular prev/next right */
.psp-experiences__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}

.psp-experiences__title {
  font-family: var(--font-serif);
  font-size: var(--text-section-heading);
  font-weight: var(--fw-section-heading);
  line-height: var(--lh-section-heading);
  letter-spacing: var(--ls-section-heading);
  color: var(--color-text-primary);
  margin: 0;
}

.psp-experiences__nav {
  display: flex;
  gap: var(--space-2);
}

.psp-experiences__nav-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(36,36,36,0.30);
  border-radius: 6px;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: border-color var(--transition-base);
  flex-shrink: 0;
}
.psp-experiences__nav-btn:hover { border-color: var(--color-text-primary); }
.psp-experiences__nav-btn:disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}

/* Carousel track */
.psp-experiences__track {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: var(--space-6);
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.psp-experiences__track::-webkit-scrollbar { display: none; }

@media (prefers-reduced-motion: reduce) {
  .psp-experiences__track { scroll-behavior: auto; }
}

/* Card — internal 2-col grid: [mark | body] */
.psp-experience-card {
  flex: 0 0 calc((100% - var(--space-6) * 2) / 3);
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--space-4);
  align-items: start;
  padding: var(--space-10);
  background: var(--color-testimonial-card);
  border-radius: var(--radius-card);
  min-width: 0;
}

/* Quotation mark — left column, geometrically separate from text */
.psp-experience-card__mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: var(--fw-light);
  color: rgba(36,36,36,0.28);
  line-height: 0.62;
  display: block;
  user-select: none;
  pointer-events: none;
  padding-top: 5px;
}

/* Body — attribution pinned to card bottom */
.psp-experience-card__body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.psp-experience-card__quote {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-style: italic;
  font-weight: var(--fw-medium);
  line-height: 1.68;
  color: var(--color-text-primary);
  margin: 0;
  flex: 1;
}

.psp-experience-card__source {
  font-family: var(--font-sans);
  font-size: var(--text-body-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  margin: var(--space-5) 0 0;
  letter-spacing: 0.01em;
}

/* Pagination dots — mobile only */
.psp-experiences__dots {
  display: none;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}
.psp-experiences__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-text-primary);
  opacity: 0.20;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: opacity var(--transition-base);
  flex-shrink: 0;
}
.psp-experiences__dot.is-active { opacity: 1; }

/* ── 769–1199px: 2 cards + partial peek of 3rd ─────────────────── */
@media (max-width: 1199px) {
  .psp-experiences__track  { gap: var(--space-6); }
  .psp-experience-card {
    /* peek = 48px — visible sliver of next card */
    flex: 0 0 calc((100% - var(--space-6) - 48px) / 2);
    padding: var(--space-8);
  }
  .psp-experience-card__mark  { font-size: 6.5rem; }
  .psp-experience-card__quote { font-size: 1.1875rem; }
}

/* ── 768px: partial-peek carousel ────────────────────────────────── */
@media (max-width: 768px) {
  .psp-experiences__track  { gap: var(--space-4); }
  .psp-experience-card {
    flex: 0 0 78%;
    padding: var(--space-8);
  }
  .psp-experience-card__mark  { font-size: 6.5rem; }
  .psp-experience-card__quote { font-size: 1.1875rem; }
  .psp-experiences__dots { display: flex; }
}

/* ── 479px: mobile ───────────────────────────────────────────────── */
@media (max-width: 479px) {
  .psp-experiences__track  { gap: var(--space-3); }
  .psp-experience-card {
    flex: 0 0 88%;
    padding: 1.75rem;
  }
  .psp-experience-card__mark  { font-size: 5rem; }
  .psp-experience-card__quote { font-size: var(--text-body); }
  .psp-experience-card__source { margin-top: var(--space-4); }
  .psp-experiences__nav-btn   { display: none; }
}


/* ---------------------------------------------------------------------------
   Neighborhood Carousel
   Light section · contained viewport, aligned with page grid
   --------------------------------------------------------------------------- */

.psp-nhd-c {
  width: 100%;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding-block: var(--section-py);
}

/* Shared content container — same max-width and gutters as all other sections */
.psp-nhd-c__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--section-px);
}

/* Header row: heading left, nav buttons right */
.psp-nhd-c__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.psp-nhd-c__title {
  font-family: var(--font-serif);
  font-size: var(--text-section-heading);
  font-weight: var(--fw-section-heading);
  line-height: var(--lh-section-heading);
  letter-spacing: var(--ls-section-heading);
  color: var(--color-text-primary);
  margin: 0;
}

.psp-nhd-c__nav {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
}

.psp-nhd-c__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(36, 36, 36, 0.22);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  cursor: pointer;
  transition:
    background var(--transition-base),
    border-color var(--transition-base),
    opacity var(--transition-base);
  flex-shrink: 0;
}
.psp-nhd-c__btn:hover:not(:disabled) {
  background: var(--color-bg-secondary);
  border-color: rgba(36, 36, 36, 0.42);
}
.psp-nhd-c__btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}
.psp-nhd-c__btn:focus-visible {
  outline: 2px solid var(--color-text-primary);
  outline-offset: 2px;
}
.psp-nhd-c__btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Carousel viewport: native scroll container.
   container-type lets mobile cards reference this width via cqi units. */
.psp-nhd-c__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  container-type: inline-size;
}
.psp-nhd-c__viewport::-webkit-scrollbar { display: none; }

@media (prefers-reduced-motion: reduce) {
  .psp-nhd-c__viewport { scroll-behavior: auto; }
}

/* Scrolling track */
.psp-nhd-c__track {
  display: flex;
  gap: 18px;
  padding-right: var(--section-px);
}
@media (max-width: 768px) {
  .psp-nhd-c__track { gap: 12px; }
}

/* ── Cards ─────────────────────────────────────────── */

.psp-nhd-card {
  display: block;
  text-decoration: none;
  flex-shrink: 0;
  scroll-snap-align: start;
  /* 248px → ~4.1 visible at 1440px (1100px viewport), ~3.7 at 1024px (976px) */
  width: 248px;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  color: var(--color-white);
}

.psp-nhd-card__img-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 5;
  overflow: hidden;
  position: relative;
}

/* Tablet 481–768px: ~2.5 cards in 736px viewport */
@media (max-width: 768px) {
  .psp-nhd-card           { width: 288px; }
  .psp-nhd-card__img-wrap { aspect-ratio: auto; height: 360px; }
}

/* Mobile ≤480px: fill viewport minus peek gap (~10–14% next-card preview).
   cqi references .psp-nhd-c__viewport — no vw calculations needed. */
@container (max-width: 480px) {
  .psp-nhd-card           { width: calc(100cqi - 52px); }
  .psp-nhd-card__img-wrap { aspect-ratio: auto; height: clamp(300px, calc(100cqi * 1.1), 360px); }
  .psp-nhd-card__name     { font-size: clamp(1rem, 4.5cqi, 1.25rem); }
}

.psp-nhd-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition:
    transform 420ms ease,
    filter 420ms ease;
}
.psp-nhd-card:hover .psp-nhd-card__img {
  transform: scale(1.035);
  filter: brightness(1.06);
}
@media (prefers-reduced-motion: reduce) {
  .psp-nhd-card:hover .psp-nhd-card__img {
    transform: none;
    filter: brightness(1.06);
  }
}

.psp-nhd-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(24, 20, 16, 0.92) 0%,
    rgba(24, 20, 16, 0.72) 25%,
    rgba(24, 20, 16, 0.22) 55%,
    transparent            78%
  );
  pointer-events: none;
}

.psp-nhd-card__name {
  position: absolute;
  bottom: 20px;
  left: 18px;
  right: 18px;
  font-family: var(--font-serif);
  font-size: clamp(1.3125rem, 1.65vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.18;
  color: rgba(255, 255, 255, 0.96);
  pointer-events: none;
}

@media (max-width: 580px) {
  .psp-nhd-c__header {
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
  }
  .psp-nhd-c__title { width: 100%; }
}

/* Mobile ≤430px: hide arrow nav (swipe-only), tighten heading gap */
@media (max-width: 430px) {
  .psp-nhd-c__nav {
    display: none;
  }
  .psp-nhd-c__header {
    margin-bottom: 20px;
  }
}


/* ---------------------------------------------------------------------------
   L.A. Property Journal
   Light section · 3-column article card grid
   --------------------------------------------------------------------------- */

.psp-journal__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.psp-journal__title {
  font-family: var(--font-serif);
  font-size: var(--text-section-heading);
  font-weight: var(--fw-section-heading);
  line-height: var(--lh-section-heading);
  letter-spacing: var(--ls-section-heading);
  color: var(--color-text-primary);
  margin: 0;
}

.psp-journal__view-all {
  font-family: var(--font-sans);
  font-size: var(--text-body-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  margin-bottom: 2px;
}
.psp-journal__view-all:hover { text-decoration: underline; }

.psp-journal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

/* Restyle the blog publishing system's card elements within .psp-journal__grid */
.psp-journal__grid .blog-card-wrap { display: contents; }
.psp-journal__grid .blog-card-wrap.hidden { display: none; }

.psp-journal__grid .blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text-primary);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border);
  height: 100%;
}
.psp-journal__grid .blog-card:hover { color: var(--color-text-primary); }

.psp-journal__grid .blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.psp-journal__grid .blog-cat {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin-bottom: var(--space-3);
}

.psp-journal__grid .blog-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: var(--fw-semibold);
  line-height: 1.35;
  color: var(--color-text-primary);
  margin: 0 0 var(--space-4) 0;
  letter-spacing: var(--ls-display);
}
.psp-journal__grid .blog-card:hover h3 { text-decoration: underline; text-decoration-color: var(--color-border); }

.psp-journal__grid .blog-card p {
  font-family: var(--font-sans);
  font-size: var(--text-body-sm);
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-6) 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.psp-journal__grid .blog-meta {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--color-muted);
  display: flex;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-10);
}

.psp-journal__grid .blog-meta-dot { opacity: 0.5; }

.psp-journal__more-wrap {
  margin-top: var(--space-10);
  display: flex;
  justify-content: center;
}

.psp-journal__more-btn {
  background: transparent;
  border: 1.5px solid var(--color-bg-secondary);
  border-radius: 0.375rem;
  padding: 13px 32px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.psp-journal__more-btn:hover {
  border-color: var(--color-text-primary);
  background: rgba(0,0,0,0.04);
}


/* ---------------------------------------------------------------------------
   Phase 3 Batch B — Responsive
   --------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .psp-transactions__grid   { grid-template-columns: repeat(2, 1fr); }
  .psp-journal__grid        { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  /* Journal: JS show-more controls visibility; nth-child hide removed */
}

@media (max-width: 640px) {
  .psp-journal__grid        { grid-template-columns: 1fr; }
  /* Journal: restore 3rd card visibility if it somehow shows — 2 still enough at 1-col */
}

@media (max-width: 479px) {
  .psp-transactions__grid   { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* ---------------------------------------------------------------------------
   Progressive Disclosure — Transactions Show More / Less
   --------------------------------------------------------------------------- */

.psp-tx-card--hidden {
  display: none;
}

.psp-tx-more-wrap {
  margin-top: var(--space-8);
  display: flex;
  justify-content: center;
}

.psp-tx-more-btn {
  background: transparent;
  border: 1.5px solid var(--color-bg-secondary);
  border-radius: 0.375rem;
  padding: 13px 32px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.psp-tx-more-btn:hover {
  border-color: var(--color-text-primary);
  background: rgba(36, 36, 36, 0.04);
}


/* ---------------------------------------------------------------------------
   Insider signup — centered single-card redesign
   --------------------------------------------------------------------------- */

/* Center the single card, replacing the two-column grid */
.insider-inner {
  display: flex;
  justify-content: center;
  gap: 0;
  align-items: stretch;
}

/* Section outer padding */
.insider             { padding: 80px 0; }
@media (max-width: 1199px) { .insider { padding: 72px 0; } }
@media (max-width: 899px)  { .insider { padding: 64px 0; } }
@media (max-width: 599px)  { .insider { padding: 48px 0; } }
@media (max-width: 360px)  { .insider { padding: 40px 0; } }

/* Card: 820px centered, padded */
.insider-form-wrap {
  max-width: 820px;
  width: 100%;
  text-align: center;
  padding: 48px 56px;
}
@media (max-width: 899px) {
  .insider-form-wrap { max-width: 720px; padding: 40px 48px; }
}
@media (max-width: 599px) {
  .insider-form-wrap { max-width: 100%; padding: 32px 22px; }
}
@media (max-width: 360px) {
  .insider-form-wrap { padding: 28px 18px; }
}

/* Heading */
.insider-form-wrap h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 3.5vw, 1.875rem);
  color: var(--color-white);
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Description (direct sibling of h3) */
.insider-form-wrap h3 + p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 0;
  margin-bottom: 28px;
  line-height: 1.55;
}
@media (max-width: 599px) {
  .insider-form-wrap h3 + p { margin-bottom: 22px; }
}

/* Inner form: 520px centered, left-aligned text */
.insider-form {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}
@media (max-width: 599px) {
  .insider-form { max-width: 100%; }
}

/* "No spam. Unsubscribe anytime." */
#ins-nospam {
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  margin-top: 12px;
  margin-bottom: 0;
  text-align: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 599px) {
  #ins-nospam { max-width: 100%; margin-top: 10px; }
}

/* Consent disclosure: 7.86:1 on #1c1c1c — WCAG AAA */
.insider-consent {
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-top: 14px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 599px) {
  .insider-consent { max-width: 100%; margin-top: 10px; }
}

/* Mobile heading + description typography */
@media (max-width: 430px) {
  .insider-form-wrap h3     { font-size: 25px; letter-spacing: -0.01em; }
  .insider-form-wrap h3 + p { font-size: 14px; line-height: 1.5; }
}
@media (max-width: 399px) {
  .insider-form-wrap h3     { font-size: 23px; }
  .insider-form-wrap h3 + p { font-size: 13.5px; }
}
@media (max-width: 384px) {
  .insider-form-wrap h3     { font-size: 22px; }
}
@media (max-width: 335px) {
  .insider-form-wrap h3     { font-size: 20px; }
  .insider-form-wrap h3 + p { font-size: 13px; }
}

/* ---------------------------------------------------------------------------
   CTA section — button text centering
   The legacy .btn-group .btn rule in styles.css targets .btn only; the CTA
   section uses .psp-btn, which was missed, leaving labels left-aligned when
   the group stretches buttons to full width at ≤480px.
   --------------------------------------------------------------------------- */
.cta-section .psp-btn {
  justify-content: center;
  text-align: center;
}
@media (max-width: 480px) {
  .btn-group .psp-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ---------------------------------------------------------------------------
   Transactions + Journal — View All responsive treatment
   Hide in-header View All text links below 1024px; show them as charcoal
   buttons stacked below Show More, identical in dimensions at every breakpoint.
   --------------------------------------------------------------------------- */

/* Hide header text links at tablet/mobile */
@media (max-width: 1023px) {
  .psp-transactions__view-all,
  .psp-journal__view-all { display: none; }
}

/* Stack: wraps Show More + View All for each section.
   Desktop: acts as the original centered Show More wrapper. */
.psp-btn-stack {
  display: flex;
  justify-content: center;
}
[data-stack-for="psp-tx-more-wrap"]      { margin-top: var(--space-8); }
[data-stack-for="psp-journal-more-wrap"] { margin-top: var(--space-10); }

/* Collapse margin when Show More is hidden (all items visible) */
.psp-btn-stack:has([id$="more-wrap"][hidden]) { margin-top: 0; }

/* Reset More-wrap's own margin — stack owns the outer spacing */
.psp-btn-stack .psp-tx-more-wrap,
.psp-btn-stack .psp-journal__more-wrap { margin-top: 0; }

/* View All wrapper: hidden at desktop */
.psp-tx-view-all-wrap,
.psp-journal-view-all-wrap { display: none; }

/* Tablet (640–1023px): column, constrained width → identical button widths */
@media (min-width: 640px) and (max-width: 1023px) {
  .psp-btn-stack {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .psp-btn-stack > div { display: flex; width: 100%; }
  .psp-btn-stack .psp-tx-more-btn,
  .psp-btn-stack .psp-journal__more-btn,
  .psp-btn-stack .psp-view-all-btn {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .psp-tx-view-all-wrap,
  .psp-journal-view-all-wrap { display: flex; }
}

/* Mobile (<640px): full-width column */
@media (max-width: 639px) {
  .psp-btn-stack {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .psp-btn-stack > div { display: flex; width: 100%; }
  .psp-btn-stack .psp-tx-more-btn,
  .psp-btn-stack .psp-journal__more-btn,
  .psp-btn-stack .psp-view-all-btn {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .psp-tx-view-all-wrap,
  .psp-journal-view-all-wrap { display: flex; }
}

/* View All button — charcoal filled */
.psp-view-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  background: var(--color-text-primary);
  color: #fff;
  border: 1.5px solid var(--color-text-primary);
  border-radius: 0.375rem;
  padding: 13px 32px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}
.psp-view-all-btn:hover {
  background: #3a3a38;
  border-color: #3a3a38;
}
