/* ============================================================================
   theme.css — single styling source of truth for the entire site.

   To REBRAND: edit site-config.php → 'theme' (primary, accent, optional
   neutral and bg). bootstrap.php injects those as --brand-* custom props
   into <head>; everything else in this file derives from them via color-mix.
   To restyle a section, edit the section blocks below.
   ============================================================================ */

:root {
  /* Brand seeds — DEFAULTS only. bootstrap.php overrides these from config.
     Don't edit values here for a single client; edit site-config.php → 'theme'. */
  --brand-primary:    #0a5cff;
  --brand-accent:     #ff6b35;
  --brand-neutral:    #0f1115;
  --brand-bg:         #ffffff;
  --brand-on-primary: #ffffff;  /* text color that reads on top of --brand-primary */

  /* Brand — derived (do not hardcode brand colors below this line) */
  --color-primary:        var(--brand-primary);
  --color-primary-hover:  color-mix(in oklch, var(--brand-primary) 85%, black);
  --color-primary-soft:   color-mix(in oklch, var(--brand-primary) 12%, transparent);
  --color-primary-ring:   color-mix(in oklch, var(--brand-primary) 35%, transparent);
  --color-accent:         var(--brand-accent);
  --color-accent-soft:    color-mix(in oklch, var(--brand-accent) 12%, transparent);

  /* Neutrals — derived from --brand-neutral + --brand-bg */
  --color-text:        var(--brand-neutral);
  --color-text-muted:  color-mix(in oklch, var(--brand-neutral) 60%, var(--brand-bg));
  --color-bg:          var(--brand-bg);
  --color-bg-alt:      color-mix(in oklch, var(--brand-neutral) 4%, var(--brand-bg));
  --color-bg-elev:     var(--brand-bg);
  --color-border:      color-mix(in oklch, var(--brand-neutral) 10%, var(--brand-bg));

  /* Status */
  --color-success: #0e9c6d;
  --color-error: #e0413a;

  /* Typography — system stack: zero load time, ages perfectly */
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font-sans);
  --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;

  --fs-display: clamp(2.75rem, 5vw + 1rem, 4.75rem);
  --fs-h1: clamp(2.25rem, 4vw + 1rem, 3.5rem);
  --fs-h2: clamp(1.75rem, 2.5vw + 1rem, 2.5rem);
  --fs-h3: clamp(1.375rem, 1.5vw + 1rem, 1.625rem);
  --fs-h4: 1.0625rem;
  --fs-body: 1rem;
  --fs-lead: 1.1875rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8125rem;

  --lh-tight: 1.08;
  --lh-snug: 1.3;
  --lh-normal: 1.65;

  /* Spacing scale */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;  --sp-3: 0.75rem;
  --sp-4: 1rem;     --sp-5: 1.25rem; --sp-6: 1.5rem;
  --sp-8: 2rem;     --sp-10: 2.5rem; --sp-12: 3rem;
  --sp-16: 4rem;    --sp-20: 5rem;   --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --content-max: 72rem;
  --reading-max: 42rem;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Header */
  --nav-height: 72px;
  --nav-bg:     color-mix(in oklch, var(--brand-bg) 78%, transparent);
  --nav-blur:   16px;
  --nav-border: color-mix(in oklch, var(--brand-neutral) 8%, transparent);

  /* Shadows — tinted with the brand neutral so they match cool/warm palettes */
  --shadow-sm: 0 1px 2px  color-mix(in oklch, var(--brand-neutral) 4%, transparent);
  --shadow-md: 0 4px 16px color-mix(in oklch, var(--brand-neutral) 6%, transparent),
               0 1px 3px  color-mix(in oklch, var(--brand-neutral) 4%, transparent);
  --shadow-lg: 0 24px 48px -12px color-mix(in oklch, var(--brand-neutral) 18%, transparent);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 500ms;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Flip the seeds — neutral becomes light, bg becomes near-black.
       Everything derived above re-mixes correctly against the new seeds. */
    --brand-neutral: #f4f5f7;
    --brand-bg:      #0b0d12;
    --color-bg-elev: #181c25;
    --nav-bg:        color-mix(in oklch, var(--brand-bg) 78%, transparent);
    --nav-border:    color-mix(in oklch, var(--brand-neutral) 10%, transparent);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.5);
  }
}

/* ============================================================================
   Reset + base
   ============================================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-height) + 1rem); }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--color-primary); color: var(--brand-on-primary);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus { left: var(--sp-4); top: var(--sp-4); }

/* ============================================================================
   Typography
   ============================================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--lh-tight);
  letter-spacing: -0.025em;
  font-weight: 750;
  color: var(--color-text);
}
h1 { font-size: var(--fs-h1); margin-block: var(--sp-6) var(--sp-4); }
h2 { font-size: var(--fs-h2); margin-block: var(--sp-12) var(--sp-5); letter-spacing: -0.022em; }
h3 { font-size: var(--fs-h3); margin-block: var(--sp-8) var(--sp-3); letter-spacing: -0.018em; }
h4 { font-size: var(--fs-h4); margin-block: var(--sp-5) var(--sp-2); letter-spacing: -0.005em; font-weight: 700; }

p { margin-block: 0 var(--sp-4); max-width: 70ch; }

a {
  color: var(--color-primary);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--color-primary-hover); text-decoration: underline; }
a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--color-primary); color: var(--brand-on-primary); }

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--color-bg-alt);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

/* ============================================================================
   Layout
   ============================================================================ */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

main { display: block; min-height: 60vh; }
section + section { margin-top: var(--sp-12); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--sp-3);
}

/* ============================================================================
   Header / nav
   ============================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  background: var(--nav-bg);
  backdrop-filter: blur(var(--nav-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--nav-blur)) saturate(180%);
  border-bottom: 1px solid var(--nav-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1875rem;
  letter-spacing: -0.025em;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
}
.brand:hover { text-decoration: none; color: var(--color-primary); }
.brand__mark { display: inline-flex; flex-shrink: 0; }
.brand__mark svg { width: 32px; height: 32px; border-radius: 9px; }

.nav-desktop { display: none; }
@media (min-width: 880px) {
  .nav-desktop { display: flex; align-items: center; gap: var(--sp-2); }
}
.nav-desktop ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; align-items: center; gap: var(--sp-1);
}
.nav-desktop a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav-desktop a:hover {
  background: var(--ps-pink);
  color: #000;
  text-decoration: none;
}
.nav-desktop a[aria-current="page"] { color: var(--color-primary); }
.nav-desktop a.cta {
  background: var(--color-primary);
  color: var(--brand-on-primary);
  margin-left: var(--sp-3);
  box-shadow: 0 1px 2px color-mix(in oklch, var(--brand-primary) 30%, transparent);
}
.nav-desktop a.cta:hover {
  background: var(--color-primary-hover);
  color: var(--brand-on-primary);
  box-shadow: 0 4px 12px color-mix(in oklch, var(--brand-primary) 35%, transparent);
  transform: translateY(-1px);
}

/* Desktop dropdowns */
.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 0; height: 0;
  margin-left: 0.4em;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.55;
  vertical-align: middle;
}
.nav-desktop .dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--color-bg-elev);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-3);
  list-style: none !important;
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity var(--dur-base) var(--ease),
    transform var(--dur-base) var(--ease-out),
    visibility 0s linear var(--dur-base);
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.dropdown a { display: block; padding: var(--sp-3) var(--sp-4); font-size: 0.9375rem; }

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--ps-pink);
}
.nav-toggle:hover { background: var(--color-bg-alt); }
@media (min-width: 880px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile drawer */
.nav-mobile {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 90vw);
  height: 100vh;
  margin: 0;
  border: none;
  padding: 4.5rem var(--sp-6) var(--sp-6);
  background: var(--color-bg);
  border-left: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  color: var(--color-text);
}
.nav-mobile::backdrop { background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); }
/* Smooth open/close: drawer slides in from the right + backdrop fades.
   Scoped to @supports selector(:popover-open) so the JS display-toggle
   fallback (older browsers in footer.php) still shows the drawer unanimated. */
@supports selector(:popover-open) {
  .nav-mobile {
    transform: translateX(100%);
    transition:
      transform 650ms var(--ease),
      overlay 650ms allow-discrete,
      display 650ms allow-discrete;
  }
  .nav-mobile:popover-open { transform: translateX(0); }
  @starting-style {
    .nav-mobile:popover-open { transform: translateX(100%); }
  }
  .nav-mobile::backdrop {
    opacity: 0;
    transition:
      opacity 650ms var(--ease),
      overlay 650ms allow-discrete,
      display 650ms allow-discrete;
  }
  .nav-mobile:popover-open::backdrop { opacity: 1; }
  @starting-style {
    .nav-mobile:popover-open::backdrop { opacity: 0; }
  }
}
.nav-mobile__close {
  position: absolute; top: var(--sp-3); right: var(--sp-3);
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--color-text);
}
.nav-mobile__close:hover { background: var(--color-bg-alt); }
.nav-mobile ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-1); }
.nav-mobile a {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-weight: 500;
  font-size: 1rem;
}
.nav-mobile a:hover,
.nav-mobile a:active { background: var(--ps-pink); color: #000; text-decoration: none; }
.nav-mobile details summary {
  padding: var(--sp-3) var(--sp-4);
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-mobile details summary:hover,
.nav-mobile details summary:active { background: var(--ps-pink); color: #000; }
.nav-mobile details summary:hover::after,
.nav-mobile details summary:active::after { color: #000; }
.nav-mobile details summary::-webkit-details-marker { display: none; }
.nav-mobile details summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: transform var(--dur-base) var(--ease);
}
.nav-mobile details[open] summary::after { transform: rotate(45deg); }
.nav-mobile details[open] summary { color: var(--color-primary); }
.nav-mobile details ul { padding-left: var(--sp-4); margin-top: var(--sp-1); margin-bottom: var(--sp-3); }

/* ============================================================================
   Footer
   ============================================================================ */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding-block: var(--sp-20) var(--sp-8);
  margin-top: var(--sp-32);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--sp-12);
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer__tagline { margin-top: var(--sp-3); color: var(--color-text-muted); }
.site-footer__address {
  font-style: normal;
  margin-top: var(--sp-4);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.site-footer h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin: 0 0 var(--sp-4);
  font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.site-footer a { color: var(--color-text); font-size: 0.9375rem; }
.site-footer a:hover { color: var(--color-primary); }
.site-footer__bottom {
  max-width: var(--content-max);
  margin: var(--sp-16) auto 0;
  padding: var(--sp-6) var(--sp-6) 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

/* ============================================================================
   Buttons
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-primary);
  color: var(--brand-on-primary);
  box-shadow: 0 1px 2px color-mix(in oklch, var(--brand-primary) 30%, transparent);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  color: var(--brand-on-primary);
  box-shadow: 0 8px 16px color-mix(in oklch, var(--brand-primary) 25%, transparent);
}
.btn-ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-bg-alt); }

.btn-lg { padding: var(--sp-4) var(--sp-8); font-size: 1rem; }

/* ============================================================================
   Forms
   ============================================================================ */
.form { display: grid; gap: var(--sp-5); max-width: 36rem; }
.form-row { display: grid; gap: var(--sp-2); }
.form label { font-weight: 500; font-size: 0.9375rem; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--brand-primary) 18%, transparent);
}
.form textarea { min-height: 140px; resize: vertical; }
.form .hp { position: absolute; left: -10000px; opacity: 0; pointer-events: none; }
.form-help { font-size: var(--fs-small); color: var(--color-text-muted); }
.form-status { padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm); display: none; font-size: 0.9375rem; }
.form-status[data-state="ok"]    { display: block; background: color-mix(in oklch, var(--color-success) 12%, transparent); color: var(--color-success); border: 1px solid color-mix(in oklch, var(--color-success) 30%, transparent); }
.form-status[data-state="error"] { display: block; background: color-mix(in oklch, var(--color-error) 12%, transparent);   color: var(--color-error);   border: 1px solid color-mix(in oklch, var(--color-error) 30%, transparent); }

/* ============================================================================
   Hero — the "beautiful" landing section
   ============================================================================ */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: var(--sp-24) var(--sp-20);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  z-index: -2;
  background:
    radial-gradient(45% 55% at 18% 20%,  color-mix(in oklch, var(--brand-primary) 20%, transparent), transparent 70%),
    radial-gradient(40% 50% at 85% 25%,  color-mix(in oklch, var(--brand-accent) 16%, transparent),  transparent 70%),
    radial-gradient(50% 50% at 50% 110%, color-mix(in oklch, var(--brand-primary) 12%, transparent), transparent 70%);
  filter: blur(2px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right,  color-mix(in oklch, var(--brand-neutral) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklch, var(--brand-neutral) 6%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 70%);
          mask-image: radial-gradient(ellipse at center, black, transparent 70%);
}
.hero h1 {
  font-size: var(--fs-display);
  letter-spacing: -0.035em;
  line-height: 1.04;
  font-weight: 800;
  margin-block: 0 var(--sp-6);
  max-width: 18ch;
  margin-inline: auto;
}
.hero p.lead {
  font-size: var(--fs-lead);
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
  line-height: 1.55;
}
.hero__actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

.hero__highlight {
  background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

/* ============================================================================
   Cards / sections
   ============================================================================ */
.section-title {
  text-align: center;
  margin-bottom: var(--sp-10);
}
.section-title h2 { margin-top: 0; }
.section-title p { margin-inline: auto; color: var(--color-text-muted); font-size: var(--fs-lead); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
}
.card {
  position: relative;
  padding: var(--sp-8) var(--sp-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-elev);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card h3 { margin-top: var(--sp-3); margin-bottom: var(--sp-2); }
.card p { color: var(--color-text-muted); margin-bottom: 0; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary-soft), var(--color-accent-soft));
  color: var(--color-primary);
}
.card__icon svg { width: 22px; height: 22px; }

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-6);
  padding: var(--sp-10);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
}
.stats__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw + 1rem, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats__label { color: var(--color-text-muted); font-size: var(--fs-small); margin-top: var(--sp-1); }

/* CTA section */
.cta-band {
  text-align: center;
  padding: var(--sp-16) var(--sp-6);
  background: linear-gradient(135deg, var(--color-primary), color-mix(in oklch, var(--color-primary) 70%, var(--color-accent)));
  color: var(--brand-on-primary);
  border-radius: var(--radius-xl);
  margin-block: var(--sp-16);
}
.cta-band h2 { color: var(--brand-on-primary); margin-top: 0; }
.cta-band p { color: color-mix(in oklch, var(--brand-on-primary) 85%, transparent); margin-inline: auto; max-width: 50ch; font-size: var(--fs-lead); }
.cta-band .btn-primary { background: var(--brand-on-primary); color: var(--color-primary); margin-top: var(--sp-6); }
.cta-band .btn-primary:hover { background: color-mix(in oklch, var(--brand-on-primary) 90%, var(--brand-neutral)); color: var(--color-primary-hover); }

/* Reading content (about/service body) */
.prose { max-width: var(--reading-max); margin-inline: auto; }
.prose h2:first-child, .prose h1:first-child { margin-top: 0; }

/* Anchor offset for sticky header */
:target { scroll-margin-top: calc(var(--nav-height) + var(--sp-6)); }

/* ============================================================================
   Breadcrumbs
   ============================================================================ */
.breadcrumbs {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-top: var(--sp-12);
  margin-bottom: 0;
}
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: var(--sp-2); }
.breadcrumbs li:not(:last-child)::after {
  content: "›";
  color: var(--color-text-muted);
  opacity: 0.55;
}
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs [aria-current="page"] { color: var(--color-text); font-weight: 500; }

/* ============================================================================
   Accessibility & motion
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================================
   ============================================================================
   PEN & STAMP — BRAND LAYER
   Ported from the approved HTML build (pen-stamp-custom-css.css). Appended
   after the Spark base so brand rules win by source order. Tri-color luxury
   palette: ink #21262C (structure) + rose #E0A89A (accent) + pink #F2ABB9
   (atmosphere). Fonts: Playfair Display (headings), Lora (body), Allura
   (script flourish) — loaded via <link> in includes/header.php.
   ============================================================================
   ============================================================================ */

:root {
  /* Named brand tokens */
  --ps-ink:        #21262C;
  --ps-ink-soft:   #2D333B;
  --ps-ink-deep:   #15171F;
  --ps-gold:       #E0A89A;
  --ps-gold-bright:#F7C9D0;
  --ps-gold-deep:  #B5616E;
  --ps-pink:       #F2ABB9;
  --ps-pink-deep:  #C0747F;
  --ps-pink-tint:  #FCE0E4;
  --ps-cream:      #FDF1F3;
  --ps-cream-deep: #FBE7EB;
  --ps-border:     #ECDAD7;
  --ps-muted:      #5C5045;

  --ps-gold-gradient:       linear-gradient(135deg, #F7C9D0 0%, #F2ABB9 40%, #E0A89A 70%, #C0747F 100%);
  --ps-pink-rose-gradient:  linear-gradient(135deg, #FCE0E4 0%, #F2ABB9 35%, #E0A89A 65%, #C0747F 100%);
  --ps-gold-ray-gradient:   linear-gradient(115deg, transparent 0%, rgba(242,171,185,0.0) 30%, rgba(242,171,185,0.45) 50%, rgba(224,168,154,0.0) 70%, transparent 100%);
  --ps-ink-gradient:        linear-gradient(135deg, #15171F 0%, #21262C 50%, #2D333B 100%);
  --ps-ink-gold-gradient:   linear-gradient(135deg, #21262C 0%, #21262C 60%, #C0747F 100%);
  --ps-pink-cream-gradient: linear-gradient(180deg, #FDF1F3 0%, #FBE7EB 100%);
  --ps-hero-dark-gradient:  linear-gradient(135deg, #15171F 0%, #21262C 55%, #2D333B 100%);

  /* Fonts — override the Spark system stack */
  --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:    'Lora', 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-script:  'Allura', 'Great Vibes', cursive;
  --font-ui:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Taller header to accommodate the logo lockup */
  --nav-height: 88px;
}

/* Dark mode is intentionally disabled — this is a fixed luxury palette. */
@media (prefers-color-scheme: dark) {
  :root {
    --brand-neutral: #21262C;
    --brand-bg:      #FFFFFF;
    --color-bg-elev: #FFFFFF;
  }
}

/* --- Typography --------------------------------------------------------- */
h1, h2, h3, h4 { font-weight: 500; letter-spacing: 0; line-height: 1.2; color: var(--ps-ink); }
h1 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin-block: 0 var(--sp-5); }
h3 { font-size: clamp(1.3rem, 1.7vw, 1.55rem); }
h4 { font-family: var(--font-sans); font-weight: 600; }
body { color: var(--ps-ink); }

a { color: var(--ps-ink); }
a:hover { color: var(--ps-gold-deep); }

/* --- Script eyebrow flourish -------------------------------------------- */
.ps-script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 2.8rem;
  line-height: 1.1;
  color: var(--ps-gold-deep);
  display: inline-block;
  transform: rotate(-3deg);
  margin: 0 0 -4px;
}
.ps-script--small { font-size: 2rem; transform: rotate(-2deg); }
.ps-script--light { color: var(--ps-pink); }

/* --- Small-caps eyebrow ------------------------------------------------- */
.ps-eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ps-gold-deep);
  margin: 0 0 10px;
}
.ps-eyebrow--light { color: var(--ps-gold-bright); }

/* --- Gold hairline divider (the signature "ray") ------------------------ */
.ps-divider { display: block; width: 64px; height: 2px; border: 0; background: var(--ps-gold-gradient); margin: 18px 0 22px; }
.ps-divider--center { margin-left: auto; margin-right: auto; }
.ps-divider--wide   { width: 120px; }
.ps-divider--white  { background: rgba(255, 255, 255, 0.85); }

/* --- Lead / meta text --------------------------------------------------- */
.ps-lead { font-size: var(--fs-lead); line-height: 1.6; }
.ps-meta { font-size: var(--fs-small); color: var(--ps-muted); }
.ps-measure { max-width: 720px; margin-inline: auto; }

/* --- Buttons (pill, uppercase) — override Spark .btn --------------------- */
.btn {
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid transparent;
}
.btn-lg { padding: 16px 38px; font-size: 13px; }
.btn-primary {
  background: var(--ps-ink);
  color: #fff;
  box-shadow: 0 6px 18px rgba(33, 38, 44, 0.25);
  border-bottom: 2px solid var(--ps-gold);
}
.btn-primary:hover {
  background: var(--ps-ink-soft);
  color: var(--ps-gold-bright);
  box-shadow: 0 12px 30px rgba(33, 38, 44, 0.35);
  border-bottom-color: var(--ps-gold-bright);
}
.btn-ghost { background: #fff; color: var(--ps-ink); border: 1px solid var(--ps-ink); }
.btn-ghost:hover { background: var(--ps-ink); color: var(--ps-gold-bright); border-color: var(--ps-ink); }
.btn-gold { background: var(--ps-gold); color: var(--ps-ink); box-shadow: 0 6px 18px rgba(176, 122, 91, 0.25); }
.btn-gold:hover { background: var(--ps-gold-bright); color: var(--ps-ink); }
.btn-block { width: 100%; }
/* Outline buttons on dark sections read gold */
.ps-section--ink .btn-ghost,
.ps-section--ink-gold .btn-ghost,
.ps-hero .btn-ghost {
  background: transparent; color: var(--ps-gold-bright); border-color: var(--ps-gold);
}
.ps-section--ink .btn-ghost:hover,
.ps-section--ink-gold .btn-ghost:hover,
.ps-hero .btn-ghost:hover { background: var(--ps-gold); color: var(--ps-ink); }

/* Home hero buttons → blush pink accents.
   "Schedule a Service" (primary): blush underline; text turns blush on hover.
   "Explore Our Services" (outline): blush text + border; fills blush with
   black text on hover (black, not blush, so the label stays legible). */
.ps-hero .btn-primary { border-bottom-color: var(--ps-pink); }
.ps-hero .btn-primary:hover { color: var(--ps-pink); border-bottom-color: var(--ps-pink); }
.ps-hero .btn-ghost { color: var(--ps-pink); border-color: var(--ps-pink); }
.ps-hero .btn-ghost:hover { background: var(--ps-pink); color: #000; }

.ps-btns { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-8); }
.ps-btns--center { justify-content: center; }

/* --- Section system ----------------------------------------------------- */
.ps-section { padding-block: var(--sp-20); }
.ps-section--sm { padding-block: var(--sp-12); }
.ps-section--xl { padding-block: var(--sp-24); }
.ps-section + .ps-section,
section.ps-section + section.ps-section,
.ps-hero + .ps-section { margin-top: 0; }
.ps-section--cream { background: var(--ps-cream); }
.ps-section--white { background: #fff; }
.ps-section--pink  { background: var(--ps-pink-cream-gradient); }
.ps-section--gold-accent { background: var(--ps-cream); border-top: 3px solid var(--ps-gold); border-bottom: 3px solid var(--ps-gold); }

.ps-section--ink {
  position: relative;
  overflow: hidden;
  background: var(--ps-ink);
  color: #fff;
}
.ps-section--ink-gold { background: var(--ps-ink-gold-gradient); color: #fff; }
/* CTA → footer (all pages): generous bottom gap so the CTA gradient shows below the buttons before the footer's solid-black banner. Footer's own top padding is zeroed (see .ps-footer) so this gap is the only separation. */
#cta { padding-bottom: 7.5rem; }
/* CTA accents → blush pink: filled button = solid blush with NO hover change;
   outline button = blush border that fills blush with black text on hover;
   script eyebrow (which otherwise reads white via .ps-section--ink-gold p). */
#cta .btn-gold { background: var(--ps-pink); }
#cta .btn-ghost { border-color: var(--ps-pink); }
#cta .btn-ghost:hover { background: var(--ps-pink); color: #000; }
#cta .ps-script--light { color: var(--ps-pink); }
.ps-section--ink h1, .ps-section--ink h2, .ps-section--ink h3, .ps-section--ink h4,
.ps-section--ink-gold h1, .ps-section--ink-gold h2, .ps-section--ink-gold h3, .ps-section--ink-gold h4 { color: #fff; }
.ps-section--ink p, .ps-section--ink-gold p { color: rgba(255,255,255,0.88); }
.ps-section--ink::before {
  content: ""; position: absolute; inset: 0;
  background: var(--ps-gold-ray-gradient); opacity: 0.35; pointer-events: none; z-index: 0;
}
.ps-section--ink > .container { position: relative; z-index: 1; }

.ps-section-head { text-align: center; max-width: 760px; margin: 0 auto var(--sp-12); }
.ps-section-head .ps-divider { margin-left: auto; margin-right: auto; }
.ps-section-head h2 { margin-top: 0; }

/* --- Grid + split helpers ----------------------------------------------- */
.ps-grid { display: grid; gap: var(--sp-6); align-items: stretch; }
.ps-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ps-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ps-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 959px) {
  .ps-grid--3, .ps-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .ps-grid--2, .ps-grid--3, .ps-grid--4 { grid-template-columns: 1fr; }
}
.ps-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12); align-items: center; }
.ps-split--media-wide { grid-template-columns: 1.1fr 0.9fr; }
.ps-split--copy-wide  { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 959px) {
  .ps-split, .ps-split--media-wide, .ps-split--copy-wide { grid-template-columns: 1fr; gap: var(--sp-8); }
}
.ps-rounded-img { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.ps-rounded-img img { display: block; width: 100%; height: auto; }

/* --- Icon system -------------------------------------------------------- */
.lingo-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; line-height: 1; }
.lingo-icon--service { width: 64px; height: 64px; }
.lingo-icon--inline  { width: 18px; height: 18px; }
.ps-icon-coin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--ps-gold-gradient);
  box-shadow: 0 10px 30px rgba(176, 122, 91, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  margin: 0 auto 18px;
}
.ps-icon-coin .lingo-icon { filter: sepia(0.45) saturate(260%) hue-rotate(302deg) brightness(0.95) contrast(0.88) drop-shadow(0 1px 2px rgba(33, 38, 44, 0.4)); }

/* --- Hero --------------------------------------------------------------- */
.ps-hero { position: relative; overflow: hidden; background: var(--ps-hero-dark-gradient); color: #fff; padding-block: var(--sp-24); }
.ps-hero h1, .ps-hero h2, .ps-hero h3 { color: #fff; }
.ps-hero p { color: rgba(255,255,255,0.88); }
.ps-hero .ps-script { color: var(--ps-gold-bright); transform: none; }
.ps-hero .ps-script + h1 { margin-top: 0; }
.ps-hero::before, .ps-hero::after { content: ""; position: absolute; pointer-events: none; }
.ps-hero::before {
  width: 820px; height: 820px; top: -280px; right: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,171,185,0.42) 0%, rgba(242,171,185,0.18) 45%, transparent 70%);
  filter: blur(40px);
}
.ps-hero::after {
  width: 620px; height: 620px; bottom: -220px; left: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,171,185,0.32) 0%, rgba(192,116,127,0.18) 50%, transparent 70%);
  filter: blur(55px);
}
.ps-hero > .container { position: relative; z-index: 2; }
.ps-hero__inner { max-width: 920px; margin-inline: auto; text-align: center; }
.ps-hero__inner .ps-divider { margin-left: auto; margin-right: auto; }
.ps-hero__inner .ps-lead { margin-inline: auto; max-width: 720px; }
.ps-hero__inner .ps-btns { justify-content: center; }
.ps-text-pink { color: var(--ps-pink); }
.ps-text-pink:hover { color: var(--ps-pink); }

/* --- Division cards ----------------------------------------------------- */
.ps-division {
  position: relative; background: #fff; border-radius: 22px; padding: 36px 28px;
  border: 1px solid var(--ps-border); border-top: 3px solid var(--ps-gold); height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ps-division:hover { transform: translateY(-4px); box-shadow: 0 18px 48px rgba(33,38,44,0.15); border-color: var(--ps-gold); border-top-color: var(--ps-gold-bright); }
.ps-division h3 { margin-top: 0; }
.ps-division .ps-icon-coin { margin-left: 0; }
.ps-division__number {
  display: block; font-family: var(--font-script); font-size: 76px; line-height: 0.9;
  margin: 0 0 6px;
  background: var(--ps-pink-rose-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9;
}
.ps-list { padding-left: 0; list-style: none; margin: 0; }
.ps-list li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 15px; color: var(--ps-ink); }
.ps-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 2px; background: var(--ps-gold-gradient); }

/* --- Generic content card (categories, mission, phases) ----------------- */
.ps-card { background: #fff; border-radius: 18px; border: 1px solid var(--ps-border); box-shadow: 0 4px 18px rgba(33,38,44,0.06); padding: 32px 28px; height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ps-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(33,38,44,0.12); border-color: var(--ps-gold); }
.ps-card h3 { margin-top: 0; }
.ps-card--ink { background: var(--ps-ink-gradient); color: #fff; border: 0; border-top: 3px solid var(--ps-gold); }
.ps-card--ink h3 { color: #fff; }
.ps-card--ink p, .ps-card--ink li { color: rgba(255,255,255,0.9); }
.ps-card__price { margin: 18px 0 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--ps-gold-deep); }
.ps-card--ink .ps-card__price { color: var(--ps-gold-bright); }
.ps-card .ps-plain-list { list-style: none; padding: 0; margin: 14px 0 0; }
.ps-card .ps-plain-list li { padding: 6px 0 6px 20px; position: relative; font-size: 15px; }
.ps-card .ps-plain-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--ps-gold-gradient); }

/* --- Tier pricing cards ------------------------------------------------- */
.ps-tier { position: relative; background: #fff; border-radius: 22px; border: 1px solid var(--ps-border); padding: 40px 32px; height: 100%; overflow: hidden; }
.ps-tier--featured { background: linear-gradient(180deg, #fff 0%, var(--ps-cream) 100%); border: 1.5px solid var(--ps-gold); box-shadow: 0 20px 50px rgba(33,38,44,0.18); }
@media (min-width: 960px) { .ps-tier--featured { transform: translateY(-8px); } }
.ps-tier__ribbon {
  position: absolute; top: 16px; right: -34px; transform: rotate(35deg);
  background: var(--ps-gold-gradient); color: var(--ps-ink);
  font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 40px; box-shadow: 0 6px 14px rgba(192,116,127,0.35);
}
.ps-tier__header { text-align: center; margin-bottom: 18px; }
.ps-tier__name { font-size: 24px; margin: 0 0 4px; }
.ps-tier__sub { color: var(--ps-gold-deep); text-transform: uppercase; letter-spacing: 2px; font-size: 11px; font-weight: 700; font-family: var(--font-ui); }
.ps-tier ul { list-style: none; padding: 0; margin: 18px 0 22px; }
.ps-tier ul li { position: relative; padding: 8px 0 8px 28px; border-bottom: 1px dashed var(--ps-border); color: var(--ps-ink); font-size: 15px; }
.ps-tier ul li:last-child { border-bottom: 0; }
.ps-tier ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 16px; height: 16px; border-radius: 50%; background: var(--ps-gold-gradient); box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px var(--ps-gold); }

/* --- Core values -------------------------------------------------------- */
.ps-value { text-align: center; padding: 8px 12px 24px; }
.ps-value .ps-icon-coin { margin-left: auto; margin-right: auto; }
.ps-value h3 { font-size: 22px; margin: 14px 0 8px; }
.ps-value p { color: var(--ps-ink); opacity: .85; }

/* --- Journey steps ------------------------------------------------------ */
.ps-step { position: relative; height: 100%; padding: 40px 32px 36px; text-align: center; background: #fff; border-radius: 22px; border: 1px solid var(--ps-border); box-shadow: 0 14px 36px rgba(33,38,44,0.08); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ps-step:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(192,137,132,0.18); border-color: var(--ps-pink); }
.ps-step::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 3px; background: var(--ps-pink-rose-gradient); border-radius: 0 0 3px 3px; }
.ps-step__num { font-family: var(--font-script); font-size: 110px; line-height: 1; background: var(--ps-pink-rose-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0 0 6px; }
.ps-step h3 { margin: 0 0 12px; }
.ps-step p { color: var(--ps-ink); opacity: .85; margin: 0; }

/* --- Stats bar ---------------------------------------------------------- */
.ps-stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); text-align: center; }
@media (max-width: 639px) {
  .ps-stats { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6) var(--sp-5); }
  .ps-stats > li { min-width: 0; }              /* let tracks stay equal + content shrink */
  .ps-stats .ps-stat-num { font-size: clamp(34px, 10vw, 46px); }  /* fit the narrow columns, no clipping */
}
.ps-stat-num { font-family: var(--font-display); font-weight: 400; font-size: 64px; line-height: 1; background: var(--ps-pink-rose-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }
.ps-stat-label { display: block; font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: rgba(242,171,185,0.9); margin-top: 8px; }

/* --- Team / notary cards ------------------------------------------------ */
.ps-notary-card { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--ps-border); border-top: 3px solid var(--ps-gold); box-shadow: 0 8px 28px rgba(33,38,44,0.10); height: 100%; display: flex; flex-direction: column; }
.ps-notary-card__photo { aspect-ratio: 4 / 5; background-size: cover; background-position: center top; position: relative; }
.ps-notary-card__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(33,38,44,0.45) 100%); }
.ps-notary-card__body { padding: 24px 26px 28px; }
.ps-notary-card__role { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--ps-gold-deep); margin: 0 0 6px; }
.ps-notary-card__name { font-size: 28px; margin: 0 0 12px; }
.ps-notary-card__bio { color: var(--ps-ink); opacity: .85; margin: 0 0 14px; }
.ps-notary-card__creds { list-style: none; padding: 14px 0 0; margin: 0; border-top: 1px dashed var(--ps-border); }
.ps-notary-card__creds li { position: relative; padding-left: 22px; font-size: 14px; margin-bottom: 6px; }
.ps-notary-card__creds li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--ps-gold-gradient); }

/* --- Industry / service-area pills -------------------------------------- */
.ps-pill-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ps-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--ps-border); font-size: 14px; font-weight: 500; color: var(--ps-ink); transition: background .18s, border-color .18s; }
.ps-pill:hover { background: var(--ps-cream); border-color: var(--ps-gold); color: var(--ps-gold-deep); }
.ps-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ps-gold-gradient); }

/* --- Contact NAP card --------------------------------------------------- */
.ps-nap { background: #fff; border-radius: 18px; border: 1px solid var(--ps-border); border-top: 3px solid var(--ps-gold); padding: 28px; box-shadow: 0 8px 28px rgba(33,38,44,0.10); }
.ps-nap h3 { font-size: 22px; margin: 0 0 16px; }
.ps-nap-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--ps-border); }
.ps-nap-row:last-child { border-bottom: 0; }
.ps-nap-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--ps-cream); display: inline-flex; align-items: center; justify-content: center; }
.ps-nap-row strong { display: block; font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--ps-gold-deep); margin-bottom: 2px; }
.ps-nap-row a { color: var(--ps-ink); font-weight: 400; }
.ps-nap-row a:hover { color: var(--ps-gold-deep); }

/* --- FAQ (native details/summary, no JS) -------------------------------- */
.ps-faq { max-width: 760px; margin-inline: auto; }
.ps-faq details { border: 1px solid var(--ps-border); border-radius: 14px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.ps-faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-family: var(--font-display); font-size: 1.1rem; color: var(--ps-ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ps-faq summary::-webkit-details-marker { display: none; }
.ps-faq summary::after { content: "+"; font-family: var(--font-ui); font-size: 1.4rem; color: var(--ps-gold-deep); transition: transform .2s ease; }
.ps-faq details[open] summary::after { transform: rotate(45deg); }
.ps-faq details[open] summary { color: var(--ps-gold-deep); }
.ps-faq .ps-faq__body { padding: 0 22px 20px; }
.ps-faq .ps-faq__body p { margin: 0; color: var(--ps-ink); opacity: .9; }

/* --- 404 numeral -------------------------------------------------------- */
.ps-404-num { font-family: var(--font-script); font-size: 280px; line-height: 1; background: var(--ps-pink-rose-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }
@media (max-width: 640px) { .ps-404-num { font-size: 120px; } }
.ps-quicklinks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.ps-quicklinks a { color: var(--ps-gold-bright); }

/* --- Header / footer brand retheme -------------------------------------- */
.brand__name { font-family: var(--font-display); font-weight: 600; }
.brand__logo { height: 72px; width: auto; display: block; }
.nav-desktop a.cta { border-bottom: 2px solid var(--ps-gold); text-transform: uppercase; letter-spacing: 1px; font-size: 0.8125rem; }

.ps-footer { background: var(--ps-ink); color: #fff; padding-block: 0 var(--sp-8); }
.ps-footer__top { background: var(--ps-gold-gradient); height: 3px; }
.ps-footer__grid { max-width: var(--content-max); margin-inline: auto; padding-inline: var(--sp-6); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-12); }
@media (max-width: 760px) { .ps-footer__grid { grid-template-columns: 1fr; gap: var(--sp-8); } }
.ps-footer h3, .ps-footer h4 { color: #fff; margin-top: 0; }
.ps-footer h4 { font-family: var(--font-ui); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: rgba(242,171,185,0.9); margin-bottom: var(--sp-4); }
.ps-footer p { color: rgba(255,255,255,0.78); }
.ps-footer a { color: rgba(255,255,255,0.85); }
.ps-footer a:hover { color: var(--ps-gold-bright); }
.ps-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ps-footer__contact li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,0.85); }
.ps-footer__bottom { max-width: var(--content-max); margin: var(--sp-16) auto 0; padding: var(--sp-6) var(--sp-6) 0; border-top: 1px solid rgba(255,255,255,0.12); text-align: center; font-size: var(--fs-small); color: rgba(255,255,255,0.65); }
.ps-footer__bottom a { color: rgba(255,255,255,0.85); }
.ps-footer__credit { margin-top: var(--sp-3); max-width: none; text-align: center; color: rgba(255,255,255,0.65); }
.ps-footer__credit a { color: rgba(255,255,255,0.65); }

/* Powered by Spark credit mark - mandatory. Fixed brand orange (#f15924);
   inline-aligned so the surrounding word spacing is preserved. */
.spark-mark { display: inline-block; width: 1.6em; height: 1.6em; margin-left: 0.15em; vertical-align: -0.5em; }
