/* PolyForm V2 — public / marketing surface. Loaded ONLY by base_public.html,
   AFTER tokens.css. Split out of the former monolithic pf.css. Holds the
   marketing pages, intake form polish, and the contact 'digital business
   card'. Always light — no dark-mode rules here. (Cross-surface utilities
   live in tokens.css.) */

/* =========================================================================
   PUBLIC / MARKETING SURFACE (Phase 5 + polish pass)
   Persuasive surface — "Hybrid: credible frame + warm proof". Reuses the
   --pf-* tokens. Mobile-first; AA contrast; large tap targets.
   Polish tokens (scoped here so the admin surface is untouched):
   ========================================================================= */
.pf-pubmain, .pf-pubheader, .pf-pubfooter {
  --pf-shadow-1: 0 1px 2px rgba(15,32,48,.06), 0 1px 3px rgba(15,32,48,.08);
  --pf-shadow-2: 0 4px 12px rgba(15,32,48,.08), 0 2px 4px rgba(15,32,48,.06);
  --pf-shadow-3: 0 12px 28px rgba(15,32,48,.12), 0 4px 8px rgba(15,32,48,.06);
  --pf-measure: 42rem;
  --pf-ease: 160ms cubic-bezier(.4,0,.2,1);
}

/* shared focus ring (a11y) */
.pf-pubmain a:focus-visible, .pf-pubmain button:focus-visible,
.pf-pubmain input:focus-visible, .pf-pubmain select:focus-visible,
.pf-pubmain textarea:focus-visible, .pf-pubheader a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--pf-blue) 45%, transparent);
  outline-offset: 2px;
}

/* --- sticky header --- */
.pf-pubheader {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--pf-s-4); flex-wrap: wrap;
  padding: var(--pf-s-3) var(--pf-s-5);
  background: var(--pf-dark); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 6px 18px rgba(15,32,48,.18);
}
.pf-publogo { display: inline-flex; align-items: center; }
.pf-publogo img { display: block; height: 44px; width: auto; }
.pf-pubnav { display: flex; align-items: center; gap: var(--pf-s-5); flex-wrap: wrap; }
.pf-pubnav-toggle-input,
.pf-pubnav-toggle { display: none; }
.pf-pubnav-links { display: flex; align-items: center; gap: var(--pf-s-5); flex-wrap: wrap; }
.pf-pubnav a { color: #D4DEE7; text-decoration: none; font-weight: 500; font-size: .95rem; transition: color var(--pf-ease); }
.pf-pubnav a:hover { color: #fff; }

/* --- the one CTA: terracotta, consistent across the public surface --- */
.pf-pubmain .pf-cta, .pf-pubheader .pf-cta {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  background: var(--pf-terracotta); color: #fff; border: 0;
  border-radius: var(--pf-r-md); font-weight: 700; letter-spacing: .01em;
  box-shadow: var(--pf-shadow-2);
  transition: transform var(--pf-ease), box-shadow var(--pf-ease), background var(--pf-ease);
}
.pf-pubmain .pf-cta:hover, .pf-pubheader .pf-cta:hover {
  background: #b35828; transform: translateY(-1px); box-shadow: var(--pf-shadow-3); text-decoration: none;
}
.pf-pubmain .pf-cta:active, .pf-pubheader .pf-cta:active { transform: translateY(0); }
.pf-pubheader .pf-cta-sm { color: #fff; padding: var(--pf-s-2) var(--pf-s-4); }

/* --- hero --- */
.pf-hero {
  position: relative; max-width: 880px; margin: 0 auto;
  padding: clamp(var(--pf-s-6), 8vw, 5rem) var(--pf-s-5);
  text-align: center;
}
.pf-eyebrow {
  display: inline-block; margin: 0 0 var(--pf-s-4);
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pf-terracotta);
}
.pf-hero-title {
  font-size: clamp(2.1rem, 6vw, 3.4rem); line-height: 1.05; letter-spacing: -.02em;
  font-weight: 700; margin: 0 0 var(--pf-s-4); color: var(--pf-text); text-wrap: balance;
}
.pf-hero-sub {
  font-size: clamp(1.1rem, 2.4vw, 1.3rem); line-height: 1.55; color: var(--pf-muted);
  max-width: 40rem; margin: 0 auto var(--pf-s-5); text-wrap: pretty;
}
.pf-hero-cta { display: flex; flex-direction: column; align-items: center; gap: var(--pf-s-2); }
.pf-hero-cta .pf-cta { font-size: 1.05rem; padding: 0 var(--pf-s-6); }
.pf-hero-cta-note { color: var(--pf-muted); font-size: .92rem; }

/* --- content bands + rhythm --- */
.pf-band { max-width: 1040px; margin: 0 auto; padding: clamp(var(--pf-s-6), 6vw, 4.5rem) var(--pf-s-5); }
.pf-band-alt { background: var(--pf-surface); max-width: none; border-block: 1px solid var(--pf-border); }
.pf-band-alt > * { max-width: 1040px; margin-left: auto; margin-right: auto; }
.pf-band-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; letter-spacing: -.01em;
  text-align: center; margin: 0 0 var(--pf-s-2); color: var(--pf-text);
}
.pf-band-title::after {
  content: ""; display: block; width: 2.5rem; height: 3px; margin: var(--pf-s-3) auto 0;
  background: var(--pf-terracotta); border-radius: 2px;
}
.pf-band > .pf-band-title { margin-bottom: var(--pf-s-6); }
.pf-band-cta { text-align: center; margin-top: var(--pf-s-6); }

/* --- cards (features / materials / portfolio) --- */
.pf-features { display: grid; gap: var(--pf-s-5); grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }
.pf-feature {
  background: var(--pf-bg); border: 1px solid var(--pf-border); border-radius: var(--pf-r-lg);
  padding: var(--pf-s-5); box-shadow: var(--pf-shadow-1); transition: transform var(--pf-ease), box-shadow var(--pf-ease);
}
.pf-feature:hover { transform: translateY(-3px); box-shadow: var(--pf-shadow-2); }
.pf-feature h3 { margin: 0 0 var(--pf-s-2); color: var(--pf-blue); font-size: 1.1rem; font-weight: 700; }
.pf-feature p { margin: 0; color: var(--pf-text); line-height: 1.55; }

/* --- numbered steps (how it works) --- */
.pf-steps { max-width: var(--pf-measure); margin: 0 auto; padding: 0; list-style: none; counter-reset: step; display: grid; gap: var(--pf-s-4); }
.pf-steps li { position: relative; padding-left: 3rem; color: var(--pf-text); line-height: 1.55; counter-increment: step; min-height: 2rem; display: flex; align-items: center; }
.pf-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--pf-blue); color: #fff; font-weight: 700; font-size: .9rem;
  display: grid; place-items: center;
}

/* --- page head + prose --- */
.pf-page-head { max-width: 760px; margin: 0 auto; padding: clamp(var(--pf-s-6), 6vw, 4rem) var(--pf-s-5) 0; text-align: center; }
.pf-page-head h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; margin: 0 0 var(--pf-s-3); }
.pf-lede { color: var(--pf-muted); font-size: 1.15rem; line-height: 1.6; max-width: 40rem; margin: 0 auto; text-wrap: pretty; }
.pf-prose { max-width: var(--pf-measure); margin: 0 auto; }
.pf-prose h2 { color: var(--pf-blue); font-size: 1.3rem; font-weight: 700; margin: var(--pf-s-6) 0 var(--pf-s-2); }
.pf-prose p { color: var(--pf-text); line-height: 1.65; margin: 0 0 var(--pf-s-3); }

/* --- materials grid --- */
.pf-matgrid { display: grid; gap: var(--pf-s-4); grid-template-columns: repeat(auto-fit, minmax(264px, 1fr)); }
.pf-mat {
  background: var(--pf-bg); border: 1px solid var(--pf-border); border-left: 3px solid var(--pf-blue);
  border-radius: var(--pf-r-md); padding: var(--pf-s-5); box-shadow: var(--pf-shadow-1);
  transition: transform var(--pf-ease), box-shadow var(--pf-ease), border-left-color var(--pf-ease);
}
.pf-mat:hover { transform: translateY(-2px); box-shadow: var(--pf-shadow-2); border-left-color: var(--pf-terracotta); }
.pf-mat-name { margin: 0 0 var(--pf-s-1); font-size: 1.1rem; font-weight: 700; color: var(--pf-text); }
.pf-mat-blurb { margin: 0; color: var(--pf-muted); font-size: .95rem; line-height: 1.5; }
.pf-mat-help { text-align: center; color: var(--pf-muted); margin-top: var(--pf-s-6); }

/* --- portfolio --- */
.pf-portfolio { display: grid; gap: var(--pf-s-5); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pf-portfolio-item { background: var(--pf-bg); border: 1px solid var(--pf-border); border-radius: var(--pf-r-lg); padding: var(--pf-s-5); box-shadow: var(--pf-shadow-1); transition: transform var(--pf-ease), box-shadow var(--pf-ease); }
.pf-portfolio-item:hover { transform: translateY(-3px); box-shadow: var(--pf-shadow-2); }
.pf-portfolio-img { width: 100%; height: auto; border-radius: var(--pf-r-md); margin-bottom: var(--pf-s-3); }
.pf-portfolio-item h2 { font-size: 1.15rem; font-weight: 700; margin: 0 0 var(--pf-s-2); }
.pf-portfolio-problem { color: var(--pf-text); line-height: 1.55; }
.pf-portfolio-process { color: var(--pf-muted); line-height: 1.55; }
.pf-portfolio-meta { color: var(--pf-muted); font-size: .85rem; }
.pf-empty-state { text-align: center; color: var(--pf-muted); background: var(--pf-surface); border: 1px dashed var(--pf-border); border-radius: var(--pf-r-lg); padding: clamp(var(--pf-s-6), 6vw, 3.5rem) var(--pf-s-5); max-width: 42rem; margin: 0 auto; line-height: 1.6; }

/* --- FAQ --- */
.pf-faq { max-width: var(--pf-measure); margin: 0 auto; display: grid; gap: var(--pf-s-4); }
.pf-faq-item { background: var(--pf-bg); border: 1px solid var(--pf-border); border-radius: var(--pf-r-md); padding: var(--pf-s-5); box-shadow: var(--pf-shadow-1); }
.pf-faq-item h2 { font-size: 1.1rem; font-weight: 700; color: var(--pf-text); margin: 0 0 var(--pf-s-2); }
.pf-faq-item p { margin: 0; color: var(--pf-muted); line-height: 1.6; }

/* --- intake form polish --- */
.pf-pubmain .pf-card { box-shadow: var(--pf-shadow-2); border-radius: var(--pf-r-lg); padding: clamp(var(--pf-s-5), 4vw, var(--pf-s-6)); max-width: 620px; }
.pf-pubmain .pf-card h1 { font-weight: 700; letter-spacing: -.01em; }
.pf-pubmain .pf-form input, .pf-pubmain .pf-form textarea, .pf-pubmain .pf-form select { border-radius: var(--pf-r-md); transition: border-color var(--pf-ease), box-shadow var(--pf-ease); }
.pf-pubmain .pf-form input:focus, .pf-pubmain .pf-form textarea:focus, .pf-pubmain .pf-form select:focus {
  border-color: var(--pf-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf-blue) 18%, transparent); outline: none;
}
.pf-fieldgroup { display: grid; gap: var(--pf-s-4); padding: var(--pf-s-5); border: 1px solid var(--pf-border); border-radius: var(--pf-r-md); background: var(--pf-surface); }
.pf-fieldgroup-title { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pf-muted); margin: 0; }
.pf-grid-2 { display: grid; gap: var(--pf-s-4); grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.pf-confirm { text-align: left; }
.pf-pubmain .pf-prefilter { border: 1px solid var(--pf-border); border-radius: var(--pf-r-md); padding: var(--pf-s-4); display: grid; gap: var(--pf-s-2); background: var(--pf-surface); }
.pf-pubmain .pf-prefilter legend { font-weight: 700; font-size: .92rem; padding: 0 var(--pf-s-2); color: var(--pf-text); }
.pf-pubmain .pf-photo-guide { display: grid; gap: var(--pf-s-1); padding: var(--pf-s-3); border: 1px solid var(--pf-border); border-radius: var(--pf-r-md); background: #F7F9FB; color: var(--pf-text); font-size: .9rem; line-height: 1.45; }
.pf-pubmain .pf-photo-guide strong { color: var(--pf-blue); }
.pf-pubmain .pf-intake-shell {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1fr);
  grid-template-areas:
    "head meta"
    "proof panel";
  gap: clamp(var(--pf-s-5), 5vw, var(--pf-s-7));
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(var(--pf-s-5), 5vw, var(--pf-s-7)) var(--pf-s-5);
}
.pf-pubmain .pf-intake-shell > *,
.pf-pubmain .pf-intake-form > *,
.pf-pubmain .pf-condition-card {
  min-width: 0;
}
.pf-pubmain .pf-intake-head { grid-area: head; }
.pf-pubmain .pf-intake-head h1 { margin: 0 0 var(--pf-s-3); color: var(--pf-text); font-size: clamp(2rem, 4.8vw, 3.2rem); line-height: 1.06; letter-spacing: 0; }
.pf-pubmain .pf-intake-head p:not(.pf-pubeyebrow) { max-width: 38rem; color: var(--pf-muted); font-size: 1.08rem; line-height: 1.55; }
.pf-pubmain .pf-intake-quickfacts {
  grid-area: meta;
  display: grid;
  gap: var(--pf-s-3);
  align-self: end;
}
.pf-pubmain .pf-intake-quickfacts article {
  display: grid;
  gap: .2rem;
  padding: var(--pf-s-4);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-r-md);
  background: linear-gradient(145deg, #fff, #F7F9FB);
  box-shadow: var(--pf-shadow-1);
}
.pf-pubmain .pf-intake-quickfacts strong {
  color: var(--pf-blue);
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.25;
}
.pf-pubmain .pf-intake-quickfacts span {
  color: var(--pf-text);
  font-size: .88rem;
  line-height: 1.45;
}
.pf-pubmain .pf-intake-proof { grid-area: proof; overflow: hidden; border: 1px solid var(--pf-border); border-radius: var(--pf-r-md); background: #fff; box-shadow: var(--pf-shadow-1); }
.pf-pubmain .pf-intake-proof-copy { display: grid; gap: var(--pf-s-1); padding: var(--pf-s-4); border-bottom: 1px solid var(--pf-border); }
.pf-pubmain .pf-intake-proof strong { color: var(--pf-blue); }
.pf-pubmain .pf-intake-proof span { color: var(--pf-text); line-height: 1.45; }
.pf-pubmain .pf-intake-proof small { color: var(--pf-muted); line-height: 1.42; }
.pf-pubmain .pf-intake-proof-carousel { position: relative; overflow: hidden; }
.pf-pubmain .pf-intake-proof-radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pf-pubmain .pf-intake-proof-images { display: grid; gap: 1px; background: var(--pf-border); }
.pf-pubmain .pf-intake-proof figure { margin: 0; background: #fff; }
.pf-pubmain .pf-intake-proof img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pf-pubmain .pf-intake-proof figcaption { padding: .72rem var(--pf-s-4); color: var(--pf-muted); font-size: .82rem; line-height: 1.35; }
.pf-pubmain .pf-intake-proof-dots { display: none; }
.pf-pubmain .pf-intake-panel { grid-area: panel; padding: clamp(var(--pf-s-4), 3vw, var(--pf-s-6)); border: 1px solid var(--pf-border); border-radius: var(--pf-r-lg); background: linear-gradient(145deg, #fff, #F7F9FB); box-shadow: var(--pf-shadow-2); }
.pf-pubmain .pf-intake-context { margin: 0 0 var(--pf-s-4); padding: var(--pf-s-3); border-left: 3px solid var(--pf-terracotta); border-radius: var(--pf-r-sm); background: #FFF7F2; color: var(--pf-text); line-height: 1.45; }
.pf-pubmain .pf-intake-form { gap: var(--pf-s-5); }
.pf-pubmain .pf-intake-form input,
.pf-pubmain .pf-intake-form textarea,
.pf-pubmain .pf-intake-form select {
  width: 100%;
}
.pf-pubmain .pf-intake-photo { display: grid; gap: var(--pf-s-2); padding: var(--pf-s-4); border: 1px solid color-mix(in srgb, var(--pf-blue) 26%, var(--pf-border)); border-radius: var(--pf-r-md); background: #F4F8FC; }
.pf-pubmain .pf-intake-photo label { margin: 0; color: var(--pf-blue); font-size: 1rem; font-weight: 800; }
.pf-pubmain .pf-intake-photo input[type="file"] {
  min-height: 3.2rem;
  padding: var(--pf-s-3);
  border: 1px dashed color-mix(in srgb, var(--pf-blue) 34%, var(--pf-border));
  background: #fff;
  color: transparent;
  cursor: pointer;
  text-align: center;
}

.pf-pubmain .pf-intake-photo input[type="file"]::file-selector-button {
  display: block;
  margin: 0 auto;
  padding: var(--pf-s-2) var(--pf-s-4);
  border: 0;
  border-radius: var(--pf-r-sm);
  background: var(--pf-blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.pf-pubmain .pf-upload-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pf-s-2) var(--pf-s-3);
  align-items: center;
  color: var(--pf-muted);
  font-size: .84rem;
}
.pf-pubmain .pf-upload-meta .is-error {
  color: var(--pf-alert);
  font-weight: 700;
}
.pf-pubmain .pf-photo-upload-list {
  display: grid;
  gap: var(--pf-s-2);
}
.pf-pubmain .pf-photo-upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--pf-s-3);
  align-items: center;
  padding: var(--pf-s-3);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-r-sm);
  background: #fff;
}
.pf-pubmain .pf-photo-upload-main {
  display: grid;
  gap: var(--pf-s-1);
  min-width: 0;
}
.pf-pubmain .pf-photo-upload-name {
  overflow: hidden;
  color: var(--pf-text);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf-pubmain .pf-photo-upload-status {
  display: inline-flex;
  align-items: center;
  gap: var(--pf-s-1);
  color: var(--pf-muted);
  font-size: .8rem;
  font-weight: 700;
}
.pf-pubmain .pf-photo-upload-row[data-status="done"] .pf-photo-upload-status {
  color: var(--pf-success);
}
.pf-pubmain .pf-photo-upload-row[data-status="done"] .pf-photo-upload-status::before {
  content: "";
  width: .8rem;
  height: .45rem;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translateY(-1px);
}
.pf-pubmain .pf-photo-upload-row[data-status="error"] {
  border-color: color-mix(in srgb, var(--pf-alert) 32%, var(--pf-border));
  background: #FEF2F2;
}
.pf-pubmain .pf-photo-upload-row[data-status="error"] .pf-photo-upload-status {
  color: var(--pf-alert);
}
.pf-pubmain .pf-photo-progress {
  height: .45rem;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pf-blue) 12%, var(--pf-border));
}
.pf-pubmain .pf-photo-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--pf-blue);
  transition: width 120ms ease;
}
.pf-pubmain .pf-photo-upload-row[data-status="done"] .pf-photo-progress span {
  background: var(--pf-success);
}
.pf-pubmain .pf-photo-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pf-s-2);
  justify-content: flex-end;
}
.pf-pubmain .pf-condition-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pf-s-3); margin: 0; padding: 0; border: 0; }
.pf-pubmain .pf-condition-group legend { grid-column: 1 / -1; margin-bottom: var(--pf-s-1); color: var(--pf-text); font-weight: 800; }
.pf-pubmain .pf-condition-card { position: relative; min-height: 8.5rem; padding: var(--pf-s-4); border: 1px solid var(--pf-border); border-radius: var(--pf-r-md); background: #fff; cursor: pointer; transition: background var(--pf-ease), border-color var(--pf-ease), box-shadow var(--pf-ease), color var(--pf-ease), transform var(--pf-ease); }
.pf-pubmain .pf-condition-card input { position: absolute; width: 1px; height: 1px; min-height: auto; margin: 0; opacity: 0; pointer-events: none; }
.pf-pubmain .pf-condition-card span { display: block; max-width: 8rem; color: var(--pf-blue); font-size: 1rem; font-weight: 800; line-height: 1.2; }
.pf-pubmain .pf-condition-card small { display: block; margin-top: var(--pf-s-2); color: var(--pf-muted); font-size: .82rem; line-height: 1.35; }
.pf-pubmain .pf-condition-card:has(input:checked) { border-color: var(--pf-blue); background: var(--pf-blue); color: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf-blue) 18%, transparent); }
.pf-pubmain .pf-condition-card:has(input:checked) span,
.pf-pubmain .pf-condition-card:has(input:checked) small { color: #fff; }
.pf-pubmain .pf-condition-card:hover { transform: translateY(-1px); box-shadow: var(--pf-shadow-1); }
.pf-pubmain .pf-intake-description textarea { min-height: 8rem; }
.pf-contact-group { padding: var(--pf-s-4); background: #fff; }
.pf-pubmain .pf-intake-extras {
  padding: var(--pf-s-4);
  background: #fff;
}
.pf-pubmain .pf-intake-sectionhead {
  display: grid;
  gap: .2rem;
}
.pf-pubmain .pf-intake-sectionnote {
  color: var(--pf-muted);
  font-size: .84rem;
  line-height: 1.4;
}
.pf-pubmain .pf-flag-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--pf-s-3);
  align-items: center;
  padding: var(--pf-s-3) 0;
  border-top: 1px solid var(--pf-border);
}
.pf-pubmain .pf-flag-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.pf-pubmain .pf-flag-row:last-of-type {
  padding-bottom: var(--pf-s-2);
}
.pf-pubmain .pf-flag-label {
  color: var(--pf-text);
  font-weight: 600;
  line-height: 1.4;
}
.pf-pubmain .pf-flag-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .3rem;
  padding: .25rem;
  border: 1px solid var(--pf-border);
  border-radius: 999px;
  background: #fff;
}
.pf-pubmain .pf-flag-choice {
  position: relative;
  display: block;
  cursor: pointer;
}
.pf-pubmain .pf-flag-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.pf-pubmain .pf-flag-choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3.3rem;
  min-height: 2.2rem;
  padding: 0 .9rem;
  border-radius: 999px;
  color: var(--pf-muted);
  font-size: .88rem;
  font-weight: 700;
  transition: background var(--pf-ease), color var(--pf-ease), box-shadow var(--pf-ease);
}
.pf-pubmain .pf-flag-choice:has(input:checked) span {
  background: var(--pf-blue);
  color: #fff;
  box-shadow: var(--pf-shadow-1);
}
.pf-pubmain .pf-flag-choice:hover span {
  background: #F4F8FC;
  color: var(--pf-blue);
}
.pf-pubmain .pf-flag-choice:has(input:checked):hover span {
  background: var(--pf-blue);
  color: #fff;
}
.pf-pubmain .pf-intake-details { border: 1px solid var(--pf-border); border-radius: var(--pf-r-md); background: #fff; overflow: hidden; }
.pf-pubmain .pf-intake-details summary { min-height: 3.25rem; display: flex; align-items: center; justify-content: space-between; gap: var(--pf-s-3); padding: 0 var(--pf-s-4); color: var(--pf-blue); font-weight: 800; cursor: pointer; }
.pf-pubmain .pf-intake-details summary span { color: var(--pf-muted); font-size: .84rem; font-weight: 600; }
.pf-pubmain .pf-intake-details-body { display: grid; gap: var(--pf-s-4); padding: var(--pf-s-4); border-top: 1px solid var(--pf-border); background: var(--pf-surface); }
.pf-pubmain .pf-intake-checks .pf-prefilter { margin: 0; }
.pf-pubmain .pf-intake-submit { display: grid; gap: var(--pf-s-3); position: sticky; bottom: var(--pf-s-3); padding: var(--pf-s-3); border: 1px solid var(--pf-border); border-radius: var(--pf-r-md); background: rgba(255,255,255,.96); box-shadow: var(--pf-shadow-1); }
.pf-pubmain .pf-intake-submit .pf-cta { width: 100%; }
.pf-pubmain .pf-consent {
  position: relative;
  display: grid;
  justify-items: center;
  gap: var(--pf-s-2);
  padding: var(--pf-s-4);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-r-md);
  background: #fff;
  cursor: pointer;
  text-align: center;
  font-weight: 400;
}
.pf-pubmain .pf-consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: auto;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.pf-pubmain .pf-consent-mark {
  width: 1.35rem;
  height: 1.35rem;
  border: 1.5px solid color-mix(in srgb, var(--pf-blue) 30%, var(--pf-border));
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  transition: background var(--pf-ease), border-color var(--pf-ease), box-shadow var(--pf-ease);
}
.pf-pubmain .pf-consent-mark::after {
  content: "";
  width: .32rem;
  height: .62rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translate(-1px, -1px);
  opacity: 0;
}
.pf-pubmain .pf-consent-copy {
  color: var(--pf-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}
.pf-pubmain .pf-consent:hover {
  border-color: color-mix(in srgb, var(--pf-blue) 35%, var(--pf-border));
  box-shadow: var(--pf-shadow-1);
}
.pf-pubmain .pf-consent:has(input:checked) {
  border-color: color-mix(in srgb, var(--pf-blue) 50%, var(--pf-border));
  background: #F4F8FC;
}
.pf-pubmain .pf-consent:has(input:checked) .pf-consent-mark {
  background: var(--pf-blue);
  border-color: var(--pf-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf-blue) 14%, transparent);
}
.pf-pubmain .pf-consent:has(input:checked) .pf-consent-mark::after {
  opacity: 1;
}
.pf-opt { color: var(--pf-muted); font-weight: 400; font-size: .85rem; }
.pf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- footer --- */
.pf-pubfooter { background: var(--pf-dark); color: #C7D2DC; padding: clamp(var(--pf-s-6), 5vw, 3.5rem) var(--pf-s-5); text-align: center; margin-top: var(--pf-s-6); }
.pf-pubfooter-tag { font-weight: 700; color: #fff; font-size: 1.05rem; margin: 0 0 var(--pf-s-4); }
.pf-pubfooter-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--pf-s-5); margin-bottom: var(--pf-s-4); }
.pf-pubfooter-nav a { color: #C7D2DC; text-decoration: none; font-size: .9rem; transition: color var(--pf-ease); }
.pf-pubfooter-nav a:hover { color: #fff; }
.pf-pubfooter-fine { font-size: .8rem; color: #93A1AD; margin: 0; }
.pf-pubfooter-fine a { color: #C7D2DC; }

/* respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .pf-pubmain *, .pf-pubheader * { transition: none !important; }
  .pf-feature:hover, .pf-mat:hover, .pf-portfolio-item:hover, .pf-pubmain .pf-cta:hover { transform: none; }
}

/* --- public hybrid refresh: credible frame + warm proof --- */
.pf-pubmain {
  background: #fff;
}

.pf-pubheader {
  padding: .7rem clamp(var(--pf-s-4), 3vw, var(--pf-s-6));
  background: rgba(8, 18, 29, .98);
}

.pf-pubheader-inner {
  width: min(100%, 1440px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--pf-s-4);
  min-width: 0;
}

.pf-publogo {
  gap: var(--pf-s-3);
  color: #fff;
  text-decoration: none;
}

.pf-publogo img {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .22);
}

.pf-publogo-copy {
  display: grid;
  gap: 1px;
}

.pf-publogo-copy strong {
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0;
}

.pf-publogo-copy span {
  display: none;
}

.pf-pubnav {
  gap: clamp(var(--pf-s-3), 3vw, var(--pf-s-6));
  margin-left: auto;
}

.pf-pubhero {
  position: relative;
  min-height: clamp(200px, 26vh, 280px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--pf-dark);
  color: #fff;
}

.pf-pubhero-img,
.pf-pubhero-shade {
  position: absolute;
  inset: 0;
}

.pf-pubhero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 54%;
}

.pf-pubhero-shade {
  background:
    linear-gradient(90deg, rgba(8, 18, 29, .94) 0%, rgba(8, 18, 29, .78) 28%, rgba(8, 18, 29, .25) 68%, rgba(8, 18, 29, .08) 100%),
    linear-gradient(0deg, rgba(8, 18, 29, .18), rgba(8, 18, 29, .18));
}

.pf-pubhero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1480px);
  margin: 0 auto;
}

.pf-pubhero-copy {
  width: min(540px, 100%);
  padding: clamp(1rem, 2.4vw, 1.8rem) clamp(var(--pf-s-5), 5vw, 4rem);
}

.pf-pubhero-copy h1 {
  margin: 0 0 var(--pf-s-4);
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.55rem);
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}

.pf-pubhero-copy p {
  max-width: 32rem;
  margin: 0 0 var(--pf-s-4);
  color: #F4F7FA;
  font-size: clamp(.9rem, 1.3vw, 1rem);
  line-height: 1.45;
}

.pf-pubhero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--pf-s-2);
}

.pf-pubhero-actions span {
  color: #E8EEF3;
  font-size: .88rem;
}

.pf-pubhero .pf-cta {
  min-height: 44px;
  padding: 0 var(--pf-s-5);
  font-size: .95rem;
}

.pf-pubtrust {
  padding: var(--pf-s-4) clamp(var(--pf-s-5), 6vw, 9rem);
  background: var(--pf-dark);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 10px 24px rgba(15,32,48,.16);
}

.pf-pubtrust-inner {
  width: min(100%, 1480px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.pf-pubtrust-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  column-gap: var(--pf-s-3);
  align-items: center;
  min-height: 3.5rem;
  padding: 0 var(--pf-s-4);
  border-left: 1px solid rgba(255,255,255,.28);
}

.pf-pubtrust-item:first-child {
  border-left: 0;
}

.pf-pubtrust-item strong,
.pf-pubtrust-item span:last-child {
  grid-column: 2;
}

.pf-pubtrust-item strong {
  color: #fff;
  line-height: 1.15;
}

.pf-pubtrust-item span:last-child {
  color: #D4DEE7;
  font-size: .92rem;
}

.pf-pubicon {
  grid-row: 1 / span 2;
  width: 2.3rem;
  height: 2.3rem;
  border: 1.5px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.pf-pubicon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pf-pubsplit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1180px;
  margin: 0 auto;
  border-bottom: 1px solid var(--pf-border);
}

.pf-pubaudience {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: var(--pf-s-5);
  padding: clamp(var(--pf-s-6), 5vw, 3.5rem);
  min-height: 220px;
}

.pf-pubaudience + .pf-pubaudience {
  border-left: 1px solid var(--pf-border);
}

.pf-pubaudience-mark {
  width: 3.75rem;
  height: 3.75rem;
  border: 1.5px solid var(--pf-blue);
  color: var(--pf-blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .9rem;
}

.pf-pubaudience h3 {
  margin: 0 0 var(--pf-s-4);
  color: var(--pf-text);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: 0;
}

.pf-pubmini-parts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--pf-s-3);
  margin-bottom: var(--pf-s-4);
}

.pf-pubmini-tile {
  margin: 0;
  min-height: 6.1rem;
  display: grid;
  grid-template-rows: minmax(4rem, 1fr) auto;
  gap: var(--pf-s-2);
  align-items: end;
  padding: var(--pf-s-2);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-r-md);
  background: linear-gradient(145deg, #FAFBFC, #EEF3F7);
  overflow: hidden;
}

.pf-pubmini-tile img {
  width: 100%;
  height: 4.25rem;
  object-fit: contain;
  display: block;
}

.pf-pubmini-tile figcaption {
  color: var(--pf-text);
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.15;
  text-align: center;
}

.pf-pubb2b {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr);
  gap: clamp(var(--pf-s-5), 5vw, var(--pf-s-7));
  align-items: stretch;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(var(--pf-s-6), 6vw, 4rem) var(--pf-s-5);
  border-bottom: 1px solid var(--pf-border);
}

.pf-pubb2b-copy {
  min-width: 0;
}

.pf-pubb2b-copy h2 {
  margin: 0 0 var(--pf-s-3);
  color: var(--pf-text);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: 0;
  line-height: 1.1;
}

.pf-pubb2b-copy p {
  color: var(--pf-text);
  line-height: 1.6;
}

.pf-pubb2b-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--pf-s-4);
}

.pf-pubb2b-cards article {
  padding: var(--pf-s-5);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-r-md);
  background: linear-gradient(145deg, #fff, #F5F8FA);
  box-shadow: var(--pf-shadow-1);
}

.pf-pubb2b-cards strong {
  display: block;
  margin-bottom: var(--pf-s-2);
  color: var(--pf-blue);
  font-size: 1.05rem;
}

.pf-pubb2b-cards p {
  margin: 0;
  color: var(--pf-text);
  line-height: 1.5;
}

.pf-pubfeature,
.pf-pubempty-grid,
.pf-pubcontact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .85fr);
  gap: clamp(var(--pf-s-5), 5vw, var(--pf-s-7));
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(var(--pf-s-6), 6vw, 4rem) var(--pf-s-5);
}

/* Contact "digital business card" — mobile-first linktree the NFC/QR landing
   uses. Light palette, brand-navy primary, single centered column. Desktop just
   centers the column for now (a dedicated desktop pass comes later). */
.pf-vcard {
  padding: var(--pf-s-5) var(--pf-s-4) var(--pf-s-7, 48px);
  display: flex;
  justify-content: center;
  /* engineering motif: a blueprint line grid (thin navy rules every 26px) over a
     soft navy wash concentrated up top, so the techy backdrop reads behind the
     white card without competing with it. Token-based — tracks light/dark. */
  background:
    linear-gradient(color-mix(in srgb, var(--pf-blue) 13%, transparent) 1px, transparent 1px)
      0 0 / 26px 26px,
    linear-gradient(90deg, color-mix(in srgb, var(--pf-blue) 13%, transparent) 1px, transparent 1px)
      0 0 / 26px 26px,
    radial-gradient(120% 60% at 50% 0%,
      color-mix(in srgb, var(--pf-blue) 10%, transparent), transparent 60%),
    var(--pf-bg);
}

.pf-vcard-card {
  width: 100%;
  max-width: 26rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--pf-s-2);
  /* refined "digital business card" surface — hairline border, soft shadow,
     generous radius lifting the card off the grid. */
  padding: var(--pf-s-5) var(--pf-s-5) var(--pf-s-5);
  background: var(--pf-bg);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-r-lg);
  box-shadow: var(--pf-shadow-2);
}

.pf-vcard-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--pf-surface);
  border: 1px solid var(--pf-border);
  padding: var(--pf-s-2);
  box-shadow: var(--pf-shadow-1);
  object-fit: contain;
}

.pf-vcard-org {
  margin: var(--pf-s-1) 0 0;
  color: var(--pf-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pf-vcard-name {
  margin: 0;
  color: var(--pf-dark);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
}

.pf-vcard-role {
  margin: 0;
  color: var(--pf-blue);
  font-weight: 600;
}

.pf-vcard-tagline {
  margin: 0;
  color: var(--pf-muted);
  line-height: 1.5;
  max-width: 22rem;
}

/* primary CTA — full-width navy "Save Contact" with a glossy gradient + a navy-
   tinted lift so it reads as the hero action (mockup's blue button). */
.pf-vcard-save {
  margin-top: var(--pf-s-2);
  width: 100%;
  min-height: var(--pf-tap-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--pf-s-2);
  padding: var(--pf-s-4);
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--pf-blue) 86%, #fff),
      var(--pf-blue) 45%,
      color-mix(in srgb, var(--pf-blue) 88%, #000));
  color: #fff;
  font-weight: 700;
  letter-spacing: .01em;
  border-radius: var(--pf-r-md);
  text-decoration: none;
  /* inset top highlight for gloss + a navy-tinted drop shadow for depth */
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 28%, transparent),
    0 6px 16px color-mix(in srgb, var(--pf-blue) 32%, transparent),
    0 1px 2px color-mix(in srgb, var(--pf-blue) 24%, transparent);
  transition: transform var(--pf-ease), box-shadow var(--pf-ease), filter var(--pf-ease);
}
.pf-vcard-save:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 32%, transparent),
    0 10px 22px color-mix(in srgb, var(--pf-blue) 38%, transparent),
    0 2px 4px color-mix(in srgb, var(--pf-blue) 26%, transparent);
}
.pf-vcard-save:focus-visible {
  outline: 2px solid var(--pf-blue);
  outline-offset: 2px;
}

/* platform-specific "what happens after you tap" hint under the CTA */
.pf-vcard-hint {
  margin: 0;
  color: var(--pf-muted);
  font-size: .76rem;
}

/* in-app-browser warning (shown by JS only inside FB/IG/TikTok/… webviews) */
.pf-vcard-inapp {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--pf-s-2);
  padding: var(--pf-s-2) var(--pf-s-3);
  background: color-mix(in srgb, var(--pf-warning) 12%, var(--pf-bg));
  border: 1px solid color-mix(in srgb, var(--pf-warning) 35%, var(--pf-border));
  border-radius: var(--pf-r-md);
  color: var(--pf-text);
  font-size: .8rem;
  line-height: 1.4;
  text-align: left;
}
.pf-vcard-inapp svg { color: var(--pf-warning); flex: none; }

/* the `display` rules above out-specify the UA's [hidden]{display:none}, so
   restore it — these start hidden and are revealed by JS per UA / feature. */
.pf-vcard-inapp[hidden],
.pf-vcard-share[hidden] { display: none; }

/* quick-action row — circular icon buttons with a label beneath */
.pf-vcard-quick {
  list-style: none;
  margin: var(--pf-s-3) 0 var(--pf-s-1);
  padding: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--pf-s-3) var(--pf-s-4);
}
.pf-vcard-quick a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--pf-s-1);
  color: var(--pf-text);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 600;
}
/* filled brand-tinted chips (navy by default) — a glossy fill + tinted lift give
   the row the "pop" of the reference card. */
.pf-vcard-qbtn {
  width: var(--pf-tap-min);
  height: var(--pf-tap-min);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--pf-blue) 84%, #fff), var(--pf-blue));
  border: 1px solid color-mix(in srgb, var(--pf-blue) 80%, #000);
  color: #fff;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 26%, transparent),
    0 3px 8px color-mix(in srgb, var(--pf-blue) 28%, transparent);
  transition: transform var(--pf-ease), box-shadow var(--pf-ease), filter var(--pf-ease);
}
.pf-vcard-quick a:hover .pf-vcard-qbtn {
  filter: brightness(1.07);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 30%, transparent),
    0 6px 14px color-mix(in srgb, var(--pf-blue) 36%, transparent);
}
.pf-vcard-quick a:focus-visible {
  outline: none;
}
.pf-vcard-quick a:focus-visible .pf-vcard-qbtn {
  outline: 2px solid var(--pf-blue);
  outline-offset: 2px;
}
/* WhatsApp action — its own brand green so it's instantly recognizable */
.pf-vcard-qbtn-wa {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--pf-success) 82%, #fff), var(--pf-success));
  border-color: color-mix(in srgb, var(--pf-success) 80%, #000);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 26%, transparent),
    0 3px 8px color-mix(in srgb, var(--pf-success) 30%, transparent);
}
.pf-vcard-quick a:hover .pf-vcard-qbtn-wa {
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 30%, transparent),
    0 6px 14px color-mix(in srgb, var(--pf-success) 38%, transparent);
}

/* tappable detail rows + in-card nav share one list-row look */
.pf-vcard-rows,
.pf-vcard-nav {
  list-style: none;
  margin: var(--pf-s-2) 0 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--pf-s-2);
}
.pf-vcard-rows a,
.pf-vcard-rows .pf-vcard-rowstatic,
.pf-vcard-nav a {
  display: flex;
  align-items: center;
  gap: var(--pf-s-3);
  padding: var(--pf-s-3) var(--pf-s-4);
  background: var(--pf-surface);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-r-md);
  color: var(--pf-text);
  text-decoration: none;
  font-weight: 500;
  text-align: left;
}
.pf-vcard-rows a > span,
.pf-vcard-nav a > span {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}
.pf-vcard-rows a svg:first-child,
.pf-vcard-rows .pf-vcard-rowstatic svg:first-child,
.pf-vcard-nav a svg:first-child {
  color: var(--pf-blue);
  flex: none;
}
/* trailing chevron sits muted at the right edge */
.pf-vcard-rows a svg:last-child,
.pf-vcard-nav a svg:last-child {
  color: var(--pf-muted);
  flex: none;
}
.pf-vcard-rows a,
.pf-vcard-nav a { transition: border-color var(--pf-ease), box-shadow var(--pf-ease), color var(--pf-ease); }
.pf-vcard-rows a:hover,
.pf-vcard-nav a:hover {
  border-color: var(--pf-blue);
  box-shadow: var(--pf-shadow-1);
}
.pf-vcard-rows a:focus-visible,
.pf-vcard-nav a:focus-visible {
  outline: 2px solid var(--pf-blue);
  outline-offset: 2px;
}

.pf-vcard-desc {
  margin: var(--pf-s-2) 0 0;
  color: var(--pf-muted);
  line-height: 1.45;
}

/* trust badges */
.pf-vcard-badges {
  list-style: none;
  margin: var(--pf-s-2) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--pf-s-2);
}
.pf-vcard-badges li {
  display: inline-flex;
  align-items: center;
  gap: var(--pf-s-1);
  padding: var(--pf-s-1) var(--pf-s-3);
  border: 1px solid var(--pf-border);
  border-radius: 999px;
  background: var(--pf-bg);
  color: var(--pf-text);
  font-size: .76rem;
  font-weight: 600;
}
.pf-vcard-badges svg { color: var(--pf-blue); }

/* QR (secondary) */
.pf-vcard-qr {
  margin: var(--pf-s-3) 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--pf-s-2);
}
.pf-vcard-qr img {
  width: 132px;
  height: 132px;
  padding: var(--pf-s-3);
  background: #fff;
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-r-md);
  box-shadow: var(--pf-shadow-1);
}
.pf-vcard-qr figcaption {
  color: var(--pf-muted);
  font-size: .78rem;
  font-weight: 600;
}

/* share + socials footer */
.pf-vcard-foot {
  margin-top: var(--pf-s-3);
  padding-top: var(--pf-s-3);
  width: 100%;
  border-top: 1px solid var(--pf-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--pf-s-3);
}
.pf-vcard-share {
  display: inline-flex;
  align-items: center;
  gap: var(--pf-s-2);
  min-height: var(--pf-tap-min);
  background: none;
  border: 0;
  padding: 0 var(--pf-s-2);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: var(--pf-blue);
  border-radius: var(--pf-r-sm);
}
.pf-vcard-share:hover { text-decoration: underline; }
.pf-vcard-share:focus-visible { outline: 2px solid var(--pf-blue); outline-offset: 2px; }
.pf-vcard-social {
  display: flex;
  gap: var(--pf-s-3);
}
.pf-vcard-social a {
  width: var(--pf-tap-min);
  height: var(--pf-tap-min);
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--pf-border);
  background: var(--pf-surface);
  color: var(--pf-blue);
  box-shadow: var(--pf-shadow-1);
  transition: transform var(--pf-ease), border-color var(--pf-ease),
              box-shadow var(--pf-ease), background var(--pf-ease), color var(--pf-ease);
}
.pf-vcard-social svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* the Facebook mark is a filled brand glyph from _icons.html — let it fill */
.pf-vcard-social-brand svg { fill: currentColor; stroke: none; }
.pf-vcard-social a:hover {
  border-color: var(--pf-blue);
  background: var(--pf-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--pf-shadow-2);
}
.pf-vcard-social a:focus-visible {
  outline: 2px solid var(--pf-blue);
  outline-offset: 2px;
}

.pf-vcard-funnel { margin: var(--pf-s-3) 0 0; }
.pf-vcard-funnel a {
  display: inline-flex;
  align-items: center;
  gap: var(--pf-s-2);
  min-height: var(--pf-tap-min);
  padding: var(--pf-s-2) var(--pf-s-4);
  color: var(--pf-blue);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--pf-blue) 35%, var(--pf-border));
  border-radius: 999px;
  transition: border-color var(--pf-ease), background var(--pf-ease);
}
.pf-vcard-funnel a:hover {
  border-color: var(--pf-blue);
  background: color-mix(in srgb, var(--pf-blue) 6%, transparent);
}
.pf-vcard-funnel a:focus-visible { outline: 2px solid var(--pf-blue); outline-offset: 2px; }

.pf-pubworkflow {
  margin: 0;
}

.pf-pubworkflow img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--pf-r-md);
  box-shadow: var(--pf-shadow-2);
}

.pf-pubworkflow figcaption {
  margin-top: var(--pf-s-2);
  color: var(--pf-muted);
  font-size: .78rem;
}

.pf-pubcase-grid {
  max-width: 1320px;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
  gap: clamp(4rem, 7vw, 7rem);
  align-items: center;
}

.pf-pubcase-grid .pf-pubworkflow {
  min-width: 0;
}

.pf-pubcase-grid .pf-pubempty-copy {
  min-width: 0;
  padding-left: clamp(var(--pf-s-5), 3vw, var(--pf-s-7));
  border-left: 1px solid var(--pf-border);
}

.pf-pubfeature-copy h2,
.pf-pubmaterials h2,
.pf-pubhow h2,
.pf-pubempty-copy h2 {
  margin: 0 0 var(--pf-s-3);
  color: var(--pf-text);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0;
}

.pf-pubfeature-copy p,
.pf-pubempty-copy p {
  color: var(--pf-text);
  line-height: 1.6;
}

.pf-pubmaterials {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--pf-s-5) clamp(var(--pf-s-6), 5vw, 3.5rem);
}

.pf-pubmaterials-page {
  padding-top: clamp(var(--pf-s-5), 5vw, var(--pf-s-7));
}

.pf-pubsection-label,
.pf-pubeyebrow {
  margin: 0 0 var(--pf-s-2);
  color: var(--pf-terracotta);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pf-pubmaterial-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--pf-s-4);
  margin: var(--pf-s-5) 0 var(--pf-s-4);
}

.pf-pubmaterial-strip article {
  position: relative;
  min-height: 112px;
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: center;
  column-gap: var(--pf-s-3);
  padding: var(--pf-s-4);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-r-md);
  background: #F7F9FB;
  overflow: hidden;
}

.pf-pubmaterial-icon {
  grid-row: 1 / span 2;
  color: var(--pf-blue);
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
}

.pf-pubmaterial-icon svg {
  width: 2.1rem;
  height: 2.1rem;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pf-pubmaterial-strip h3,
.pf-pubmaterial-strip p {
  margin: 0;
}

.pf-pubmaterial-strip h3 {
  color: var(--pf-blue);
  font-size: 1rem;
}

.pf-pubmaterial-strip p {
  color: var(--pf-text);
  font-size: .9rem;
  line-height: 1.45;
}

.pf-pubmaterials-page .pf-pubmaterial-strip {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.pf-pubmaterials-page .pf-pubmaterial-strip article,
.pf-pubmat {
  background: linear-gradient(145deg, #fff, #F5F8FA);
}

.pf-pubhow,
.pf-pubband,
.pf-pubpage-head {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(var(--pf-s-6), 6vw, 4rem) var(--pf-s-5);
}

.pf-pubpage-head {
  max-width: 860px;
  text-align: center;
  padding-bottom: var(--pf-s-4);
}

.pf-pubpage-head h1 {
  margin: 0 0 var(--pf-s-3);
  color: var(--pf-text);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.pf-publede {
  max-width: 44rem;
  margin: 0 auto;
  color: var(--pf-muted);
  font-size: 1.15rem;
  line-height: 1.55;
}

.pf-pubband-soft {
  max-width: none;
  background: var(--pf-surface);
  border-block: 1px solid var(--pf-border);
}

.pf-pubband-soft > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.pf-pubservice-grid,
.pf-pubmatgrid,
.pf-pubportfolio,
.pf-pubfaq {
  display: grid;
  gap: var(--pf-s-4);
}

.pf-pubservice-grid,
.pf-pubmatgrid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.pf-pubservice-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pf-pubservice,
.pf-pubmat,
.pf-pubportfolio-item,
.pf-pubfaq-item {
  padding: var(--pf-s-5);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-r-md);
  background: #fff;
  box-shadow: var(--pf-shadow-1);
}

.pf-pubservice {
  display: grid;
  align-content: start;
  min-height: 16rem;
}

.pf-pubservice-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  margin-bottom: var(--pf-s-4);
  color: var(--pf-blue);
  border: 1px solid color-mix(in srgb, var(--pf-blue) 24%, transparent);
  border-radius: 50%;
  background: #F4F8FC;
}

.pf-pubservice-icon svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pf-pubservice-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(var(--pf-s-5), 5vw, var(--pf-s-7));
  align-items: start;
}

.pf-publimit-callout {
  padding: var(--pf-s-5);
  border: 1px solid color-mix(in srgb, var(--pf-terracotta) 34%, var(--pf-border));
  border-radius: var(--pf-r-md);
  background: #fff;
  box-shadow: var(--pf-shadow-1);
}

.pf-publimit-callout h2 {
  margin: 0 0 var(--pf-s-2);
  color: var(--pf-text);
  font-size: 1.35rem;
}

.pf-publimit-callout p {
  color: var(--pf-text);
  line-height: 1.6;
}

.pf-publimit-callout .pf-pubservice-icon {
  color: var(--pf-terracotta);
  border-color: color-mix(in srgb, var(--pf-terracotta) 34%, transparent);
  background: #FFF7F2;
}

.pf-pubtrustmarks {
  padding-top: clamp(var(--pf-s-5), 5vw, var(--pf-s-7));
}

.pf-pubtrustmarks h2 {
  max-width: 48rem;
  margin: 0 0 var(--pf-s-5);
  color: var(--pf-text);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.pf-pubtrustmark-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--pf-s-4);
}

.pf-pubtrustmark-grid article {
  padding: var(--pf-s-4);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-r-md);
  background: linear-gradient(145deg, #fff, #F5F8FA);
}

.pf-pubtrustmark-grid strong {
  display: block;
  margin-bottom: var(--pf-s-2);
  color: var(--pf-blue);
  font-size: .98rem;
}

.pf-pubtrustmark-grid p {
  margin: 0;
  color: var(--pf-text);
  font-size: .9rem;
  line-height: 1.5;
}

.pf-pubb2b-note {
  max-width: 1180px;
  margin: var(--pf-s-5) auto 0;
  padding: var(--pf-s-4) var(--pf-s-5);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-r-md);
  background: #fff;
}

.pf-pubb2b-note p {
  margin: 0;
  color: var(--pf-text);
  line-height: 1.55;
}

.pf-pubb2b-note .pf-pubeyebrow {
  margin-bottom: var(--pf-s-2);
  color: var(--pf-terracotta);
}

.pf-pubmat {
  position: relative;
  min-height: 13rem;
  overflow: hidden;
}

.pf-pubmat-code {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 2rem;
  margin-bottom: var(--pf-s-4);
  padding: 0 .7rem;
  border: 1px solid color-mix(in srgb, var(--pf-blue) 22%, var(--pf-border));
  border-radius: 999px;
  color: var(--pf-blue);
  background: #F4F8FC;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
}

.pf-pubservice h2,
.pf-pubmat-name,
.pf-pubportfolio-item h2,
.pf-pubfaq-item h2,
.pf-pubprose h2 {
  margin: 0 0 var(--pf-s-2);
  color: var(--pf-blue);
  font-size: 1.15rem;
  letter-spacing: 0;
}

.pf-pubservice p,
.pf-pubmat-blurb,
.pf-pubportfolio-item p,
.pf-pubfaq-item p,
.pf-pubprose p {
  color: var(--pf-text);
  line-height: 1.6;
}

.pf-pubportfolio-img {
  width: 100%;
  height: auto;
  border-radius: var(--pf-r-md);
  margin-bottom: var(--pf-s-3);
}

.pf-pubportfolio-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--pf-s-3);
  margin-top: var(--pf-s-4);
}

.pf-pubportfolio-facts section {
  padding: var(--pf-s-3);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-r-md);
  background: #F7F9FB;
}

.pf-pubportfolio-facts h3 {
  margin: 0 0 var(--pf-s-1);
  color: var(--pf-blue);
  font-size: .86rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pf-pubportfolio-facts p {
  margin: 0;
  color: var(--pf-text);
  font-size: .92rem;
  line-height: 1.5;
}

.pf-pubportfolio-meta,
.pf-pubnote {
  color: var(--pf-muted);
  font-size: .9rem;
}

.pf-pubnote {
  text-align: center;
  margin-top: var(--pf-s-5);
}

.pf-pubprose {
  max-width: var(--pf-measure);
}

.pf-pubprose h2 {
  margin-top: var(--pf-s-5);
}

.pf-pubsteps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--pf-s-4);
  margin: var(--pf-s-5) 0 0;
  padding: 0;
  list-style: none;
}

.pf-pubsteps li {
  position: relative;
  min-height: 112px;
  padding: var(--pf-s-4) var(--pf-s-4) var(--pf-s-4) 4.4rem;
  border-top: 1px solid var(--pf-border);
}

.pf-pubsteps li > span {
  position: absolute;
  left: 0;
  top: var(--pf-s-4);
  width: 3rem;
  height: 3rem;
  border: 1.5px solid var(--pf-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--pf-blue);
  font-size: 1.35rem;
  font-weight: 700;
}

.pf-pubsteps strong {
  display: block;
  color: var(--pf-text);
  margin-bottom: var(--pf-s-1);
}

.pf-pubsteps p {
  margin: 0;
  color: var(--pf-muted);
  font-size: .92rem;
  line-height: 1.45;
}

.pf-pubsteps-vertical {
  grid-template-columns: 1fr;
}

.pf-pubsteps-vertical li {
  min-height: auto;
  border-top: 0;
  border-left: 1px solid var(--pf-border);
}

.pf-pubcase-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--pf-s-3);
  margin: var(--pf-s-4) 0;
}

.pf-pubcase-steps article {
  padding: var(--pf-s-4);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-r-md);
  background: #fff;
}

.pf-pubcase-steps span {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  margin-bottom: var(--pf-s-2);
  border-radius: 50%;
  border: 1.5px solid var(--pf-blue);
  color: var(--pf-blue);
  font-weight: 700;
}

.pf-pubcase-steps strong {
  display: block;
  color: var(--pf-text);
  margin-bottom: var(--pf-s-1);
}

.pf-pubcase-steps p {
  margin: 0;
  color: var(--pf-muted);
  font-size: .9rem;
  line-height: 1.45;
}

.pf-pubfaq {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.pf-pubfaq-group {
  display: grid;
  gap: var(--pf-s-3);
}

.pf-pubfaq-group > h2 {
  margin: 0;
  color: var(--pf-terracotta);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pf-pubfaq-item {
  overflow: hidden;
}

.pf-pubfaq-item summary {
  cursor: pointer;
  color: var(--pf-blue);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.pf-pubfaq-item summary::marker {
  color: var(--pf-terracotta);
}

.pf-pubfaq-item[open] summary {
  margin-bottom: var(--pf-s-2);
}

.pf-pubtextlink {
  color: var(--pf-blue);
  font-weight: 700;
  text-decoration: none;
}

.pf-pubtextlink:hover {
  text-decoration: underline;
}

.pf-pubband-cta {
  margin-top: var(--pf-s-6);
  text-align: center;
}

.pf-pubvisually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (min-width: 921px) {
  .pf-pubheader {
    flex-wrap: nowrap;
  }

  .pf-pubsplit {
    max-width: 1320px;
  }

  .pf-pubaudience {
    grid-template-columns: 5.25rem 1fr;
    gap: var(--pf-s-6);
    min-height: 320px;
    padding: clamp(3.25rem, 4.6vw, 4.5rem);
  }

  .pf-pubaudience-mark {
    width: 4.5rem;
    height: 4.5rem;
    font-size: 1rem;
  }

  .pf-pubaudience h3 {
    font-size: clamp(1.35rem, 1.8vw, 1.75rem);
    margin-bottom: var(--pf-s-5);
  }

  .pf-pubmini-parts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--pf-s-4);
    margin-bottom: var(--pf-s-5);
  }

  .pf-pubmini-tile {
    min-height: 9.4rem;
    grid-template-rows: minmax(6.75rem, 1fr) auto;
    padding: var(--pf-s-3);
  }

  .pf-pubmini-tile img {
    height: 6.8rem;
  }

  .pf-pubmini-tile figcaption {
    font-size: .88rem;
  }

  .pf-pubaudience .pf-pubtextlink {
    font-size: 1.05rem;
  }

  .pf-pubb2b {
    grid-template-columns: minmax(0, .74fr) minmax(620px, 1.26fr);
    gap: clamp(5rem, 7vw, 7.5rem);
  }

  .pf-pubb2b-copy h2,
  .pf-pubb2b-copy p {
    max-width: 40rem;
  }

  .pf-pubb2b-cards {
    padding-left: clamp(var(--pf-s-5), 3vw, var(--pf-s-7));
    border-left: 1px solid var(--pf-border);
  }

  .pf-pubmain .pf-intake-shell {
    max-width: 1280px;
    grid-template-columns: minmax(320px, .78fr) minmax(560px, 1fr);
    grid-template-areas:
      "head meta"
      "proof panel";
    column-gap: clamp(4.5rem, 6vw, 6.5rem);
  }

  .pf-pubmain .pf-intake-proof {
    max-width: none;
  }

  .pf-pubfeature {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: clamp(3rem, 5vw, 5rem);
    max-width: 1320px;
  }

  .pf-pubworkflow {
    min-width: 0;
  }

  .pf-pubfeature-copy {
    min-width: 0;
    padding-left: clamp(var(--pf-s-4), 2vw, var(--pf-s-6));
    border-left: 1px solid var(--pf-border);
  }
}

@media (max-width: 920px) {
  .pf-pubtrust-inner,
  .pf-pubmaterial-strip,
  .pf-pubsteps,
  .pf-pubsplit,
  .pf-pubb2b,
  .pf-pubb2b-cards,
  .pf-pubfeature,
  .pf-pubservice-detail,
  .pf-pubtrustmark-grid,
  .pf-pubfaq,
  .pf-pubportfolio-facts,
  .pf-pubempty-grid,
  .pf-pubcontact-grid,
  .pf-pubmain .pf-intake-shell,
  .pf-pubmain .pf-condition-group {
    grid-template-columns: 1fr;
  }

  .pf-pubmain .pf-intake-shell {
    grid-template-areas:
      "head"
      "proof"
      "panel";
  }

  .pf-pubmain .pf-intake-quickfacts {
    display: none;
  }

  .pf-pubmain .pf-intake-proof-images {
    display: flex;
    gap: 0;
    background: #fff;
    transition: transform .22s ease;
  }

  .pf-pubmain .pf-intake-proof figure {
    flex: 0 0 100%;
  }

  .pf-pubmain #pf-proof-2:checked ~ .pf-intake-proof-images {
    transform: translateX(-100%);
  }

  .pf-pubmain #pf-proof-3:checked ~ .pf-intake-proof-images {
    transform: translateX(-200%);
  }

  .pf-pubmain .pf-intake-proof-dots {
    display: flex;
    justify-content: center;
    gap: .55rem;
    padding: var(--pf-s-3) var(--pf-s-4) var(--pf-s-4);
    background: #fff;
  }

  .pf-pubmain .pf-intake-proof-dots label {
    width: .72rem;
    height: .72rem;
    border: 1px solid color-mix(in srgb, var(--pf-blue) 45%, var(--pf-border));
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
  }

  .pf-pubmain #pf-proof-1:checked ~ .pf-intake-proof-dots label[for="pf-proof-1"],
  .pf-pubmain #pf-proof-2:checked ~ .pf-intake-proof-dots label[for="pf-proof-2"],
  .pf-pubmain #pf-proof-3:checked ~ .pf-intake-proof-dots label[for="pf-proof-3"] {
    background: var(--pf-blue);
    border-color: var(--pf-blue);
  }

  .pf-pubmain .pf-condition-group {
    gap: var(--pf-s-2);
  }

  .pf-pubmain .pf-condition-card {
    min-height: 0;
    padding: var(--pf-s-3) var(--pf-s-4);
  }

  .pf-pubmain .pf-condition-card span {
    max-width: none;
    font-size: .96rem;
  }

  .pf-pubmain .pf-condition-card small {
    margin-top: .35rem;
    font-size: .78rem;
    line-height: 1.3;
  }

  .pf-pubtrust {
    padding-inline: var(--pf-s-5);
  }

  .pf-pubtrust-item,
  .pf-pubaudience + .pf-pubaudience {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.18);
    padding-block: var(--pf-s-3);
  }

  .pf-pubtrust-item:first-child {
    border-top: 0;
  }

  .pf-pubaudience + .pf-pubaudience {
    border-top-color: var(--pf-border);
  }
}

@media (max-width: 680px) {
  .pf-pubheader {
    position: relative;
    padding: .75rem var(--pf-s-4);
  }

  .pf-pubheader-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .pf-publogo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .pf-pubnav {
    position: relative;
    flex: 0 0 auto;
    width: auto;
    margin-left: var(--pf-s-3);
    display: flex;
    align-items: center;
    gap: var(--pf-s-3);
  }

  .pf-pubnav a {
    font-size: .88rem;
  }

  .pf-pubnav-toggle-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }

  .pf-pubnav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    width: 2.7rem;
    min-width: 2.7rem;
    padding: 0;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    color: #fff;
    font-size: 0;
    cursor: pointer;
    transition: background var(--pf-ease), border-color var(--pf-ease), color var(--pf-ease);
    position: relative;
  }

  .pf-pubnav-toggle::before,
  .pf-pubnav-toggle::after {
    content: "";
    position: absolute;
    width: .95rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform var(--pf-ease), box-shadow var(--pf-ease), opacity var(--pf-ease);
  }

  .pf-pubnav-toggle::before {
    box-shadow: 0 -.32rem 0 currentColor, 0 .32rem 0 currentColor;
  }

  .pf-pubnav-toggle-input:checked + .pf-pubnav-toggle {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.22);
  }

  .pf-pubnav-toggle-input:checked + .pf-pubnav-toggle::before {
    box-shadow: none;
    transform: rotate(45deg);
  }

  .pf-pubnav-toggle-input:checked + .pf-pubnav-toggle::after {
    transform: rotate(-45deg);
  }

  .pf-pubnav-links {
    position: absolute;
    top: calc(100% + .7rem);
    right: 0;
    width: min(15rem, calc(100vw - (var(--pf-s-4) * 2)));
    display: none;
    grid-template-columns: 1fr;
    gap: .45rem;
    padding: var(--pf-s-2);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--pf-r-md);
    background: linear-gradient(180deg, rgba(23, 43, 64, .96), rgba(16, 31, 47, .98));
    box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
    z-index: 20;
  }

  .pf-pubnav-toggle-input:checked ~ .pf-pubnav-links {
    display: grid;
  }

  .pf-pubnav-links a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 2.55rem;
    padding: 0 var(--pf-s-3);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: calc(var(--pf-r-sm) + 2px);
    background: rgba(255,255,255,.02);
    min-width: 0;
    text-align: left;
    font-weight: 600;
  }

  .pf-pubheader .pf-cta-sm {
    width: auto;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0 var(--pf-s-4);
  }

  .pf-pubnav-cta {
    justify-self: end;
  }

  .pf-pubhero {
    min-height: 250px;
  }

  .pf-pubhero-img {
    object-position: 62% 64%;
  }

  .pf-pubhero-shade {
    background: linear-gradient(90deg, rgba(8, 18, 29, .96), rgba(8, 18, 29, .62));
  }

  .pf-pubmini-parts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pf-pubaudience {
    grid-template-columns: 1fr;
  }

  .pf-pubcase-steps {
    grid-template-columns: 1fr;
  }

  .pf-pubmain .pf-intake-shell {
    padding-inline: var(--pf-s-4);
    row-gap: var(--pf-s-4);
  }

  .pf-pubmain .pf-intake-head h1 {
    font-size: 1.72rem;
    margin-bottom: var(--pf-s-2);
  }

  .pf-pubmain .pf-intake-head p:not(.pf-pubeyebrow) {
    font-size: .9rem;
    line-height: 1.38;
    margin-bottom: 0;
  }

  .pf-pubmain .pf-intake-panel {
    padding: var(--pf-s-4);
  }

  .pf-pubmain .pf-photo-upload-row {
    grid-template-columns: 1fr;
  }

  .pf-pubmain .pf-photo-upload-actions {
    justify-content: flex-start;
  }

  .pf-pubmain .pf-intake-submit {
    position: static;
    bottom: auto;
    margin-top: var(--pf-s-2);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .pf-pubmain .pf-flag-row {
    grid-template-columns: 1fr;
    align-items: start;
    gap: var(--pf-s-4);
    padding: var(--pf-s-4) 0;
  }

  .pf-pubmain .pf-flag-toggle {
    width: min(100%, 12.5rem);
    justify-self: center;
  }

  .pf-pubmain .pf-flag-choice span {
    min-width: 0;
    width: 100%;
    min-height: 2.35rem;
    padding: 0 1.1rem;
  }

  .pf-pubcase-grid .pf-pubempty-copy {
    padding-left: 0;
    padding-top: var(--pf-s-5);
    border-left: 0;
    border-top: 1px solid var(--pf-border);
  }
}

@media (max-width: 420px) {
  .pf-pubnav a {
    font-size: .82rem;
  }

  .pf-pubheader .pf-cta-sm {
    min-height: 2.2rem;
    padding: 0 .78rem;
    font-size: .82rem;
  }
}

/* ===== Ninja self-enroll easter egg (item K) — /contact stealth gesture ===== */
.pf-vcard { position: relative; }
.pf-vcard-save-wrap { position: relative; display: flex; justify-content: center; }
.pf-ninja-scroll {
  border: 0; background: none; padding: 0; cursor: pointer; line-height: 0;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .28));
}
.pf-ninja-scroll img { width: min(240px, 78vw); height: auto; display: block; }
.pf-ninja-scroll.is-appearing { animation: pf-scroll-in .42s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes pf-scroll-in {
  0%   { opacity: 0; transform: scale(.4) rotate(-12deg); }
  60%  { opacity: 1; transform: scale(1.08) rotate(3deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

/* smoke — a fixed full-screen overlay of expanding, fading puffs */
.pf-ninja-smoke { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.pf-puff {
  position: absolute; width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(228, 228, 228, .92), rgba(190, 190, 190, .5) 55%, rgba(170, 170, 170, 0) 72%);
  animation: pf-puff 1s ease-out forwards;
}
.pf-puff-dense { width: 96px; height: 96px; }
@keyframes pf-puff {
  0%   { opacity: 0; transform: scale(.3); }
  25%  { opacity: .95; }
  100% { opacity: 0; transform: scale(2.1) translateY(-14px); }
}

/* card shake on the seal */
.is-ninja-shake { animation: pf-ninja-shake .55s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes pf-ninja-shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-8px); }
  40%, 60% { transform: translateX(8px); }
}

/* reward toast — overlays the slot the scroll sealed in (Save hidden beneath it),
   then fades as Save returns. Bold flame-pill so the enroll is unmistakable. */
.pf-ninja-toast {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(.7);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: linear-gradient(135deg, #1a120c, #2a160c);
  color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: .4px;
  padding: 14px 24px; border-radius: 999px; z-index: 5;
  border: 1px solid color-mix(in srgb, var(--pf-terracotta) 70%, transparent);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--pf-terracotta) 30%, transparent),
    0 10px 30px rgba(0, 0, 0, .45),
    0 0 26px 4px color-mix(in srgb, var(--pf-terracotta) 60%, transparent);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.pf-ninja-toast-ico { font-size: 1.25em; line-height: 1; }
.pf-ninja-toast.is-on {
  opacity: 1; transform: translate(-50%, -50%) scale(1);
  animation: pf-toast-pop .5s cubic-bezier(.2, 1.4, .4, 1) both,
             pf-toast-glow 1.1s ease-in-out .5s infinite alternate;
}
@keyframes pf-toast-pop {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.5); }
  60%  { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes pf-toast-glow {
  0%   { box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf-terracotta) 26%, transparent),
                     0 10px 30px rgba(0, 0, 0, .45),
                     0 0 22px 3px color-mix(in srgb, var(--pf-terracotta) 50%, transparent); }
  100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--pf-terracotta) 42%, transparent),
                     0 10px 30px rgba(0, 0, 0, .45),
                     0 0 40px 8px color-mix(in srgb, var(--pf-terracotta) 82%, transparent); }
}

/* "Nine-Tails" chakra cloak — wraps the LOGO badge. Visibility is the `is-ninja-glow`
   class (NOT enrollment): it lights once on enroll, hides on refresh, and peeks for
   ~2s when an enrolled device taps "Owner / Operator". `data-ninja-enrolled` is just
   an invisible status flag the tap-handler reads.

   Perf: the cloak layers are painted ONCE (conic gradient + blur + mask) and only
   `transform`/`opacity` animate — so the GPU spins/pulses a cached texture instead of
   re-rasterizing every frame (smooth on high-refresh desktops). No animated box-shadow. */
.pf-vcard-avatar-wrap { position: relative; display: inline-block; line-height: 0; }
.pf-vcard-avatar-wrap > .pf-vcard-avatar { position: relative; z-index: 1; }
.pf-vcard-avatar-wrap::before,
.pf-vcard-avatar-wrap::after {
  content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%;
  transform: translate(-50%, -50%); pointer-events: none; z-index: 0;
  opacity: 0; transition: opacity .35s ease; will-change: transform, opacity;
}
.pf-vcard-avatar-wrap::before {
  width: 168%; height: 168%;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    color-mix(in srgb, var(--pf-terracotta) 85%, #ff8a1e) 40deg,
    transparent 90deg,
    color-mix(in srgb, var(--pf-terracotta) 90%, #ff6a00) 150deg,
    transparent 200deg,
    color-mix(in srgb, var(--pf-terracotta) 80%, #ffae42) 270deg,
    transparent 320deg);
  filter: blur(6px);
  -webkit-mask: radial-gradient(closest-side, transparent 54%, #000 60%, #000 86%, transparent 100%);
          mask: radial-gradient(closest-side, transparent 54%, #000 60%, #000 86%, transparent 100%);
}
.pf-vcard-avatar-wrap::after {
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%,
    color-mix(in srgb, #ff8a1e 70%, var(--pf-terracotta)) 0%,
    color-mix(in srgb, var(--pf-terracotta) 60%, transparent) 34%,
    color-mix(in srgb, var(--pf-terracotta) 22%, transparent) 55%,
    transparent 70%);
  filter: blur(5px);
}
.pf-vcard-avatar { transition: filter .35s ease; }

/* lit — the only state that shows the cloak */
.pf-vcard.is-ninja-glow .pf-vcard-avatar-wrap::before {
  opacity: 1; animation: pf-cloak-spin 7s linear infinite;
}
.pf-vcard.is-ninja-glow .pf-vcard-avatar-wrap::after {
  opacity: .95; animation: pf-halo-pulse .42s ease-in-out infinite alternate;
}
.pf-vcard.is-ninja-glow .pf-vcard-avatar {
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--pf-terracotta) 75%, #ff8a1e));
}
/* spin carries a gentle breath; flicker lives in the halo's fast scale jitter — all
   transform, so it stays on the compositor. */
@keyframes pf-cloak-spin {
  0%   { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  50%  { transform: translate(-50%, -50%) rotate(180deg) scale(1.035); }
  100% { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}
@keyframes pf-halo-pulse {
  0%   { transform: translate(-50%, -50%) scale(.96); }
  100% { transform: translate(-50%, -50%) scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  .pf-ninja-scroll.is-appearing, .pf-puff, .is-ninja-shake, .pf-ninja-toast.is-on,
  .pf-vcard.is-ninja-glow .pf-vcard-avatar-wrap::before,
  .pf-vcard.is-ninja-glow .pf-vcard-avatar-wrap::after { animation: none; }
}

.pf-vcard-save[hidden], .pf-ninja-scroll[hidden],
.pf-ninja-toast[hidden] { display: none !important; }

/* ===== Demo "Sharingan / Raikiri" jutsu (item: show-off suppression) =========
   The demo gesture morphs the logo into the Sharingan eye; tapping it runs the
   raikiri lightning charge -> explosion -> arms demo mode. While armed, the eye
   stays and crackles with a small chidori (electric-blue) aura. CSP-safe; the
   bolts are SVG drawn by ninja.js. Electric blue is an effect color (not a token). */
.pf-ninja-eye {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; border: 0; background: none; box-shadow: none;
  object-fit: cover; border-radius: 50%; z-index: 2;
}
.pf-vcard-avatar-wrap.is-eye > #pf-ninja-logo { visibility: hidden; }  /* keep its box */
.pf-ninja-eye[hidden] { display: none !important; }
/* the eye pops in when the jutsu morphs it */
.pf-vcard-avatar-wrap.is-eye > .pf-ninja-eye {
  animation: pf-eye-in .4s cubic-bezier(.2, 1.4, .4, 1) both;
}
@keyframes pf-eye-in {
  0%   { opacity: 0; transform: scale(.4) rotate(-160deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

/* chidori aura — only while demo mode is ARMED. Fast electric flicker. */
.pf-chidori {
  position: absolute; inset: -22%; border-radius: 50%; z-index: 1;
  opacity: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 50%,
    rgba(150, 225, 255, .55) 0%, rgba(74, 168, 255, .35) 42%,
    rgba(74, 168, 255, 0) 70%);
  box-shadow: 0 0 14px 2px rgba(120, 210, 255, .7), 0 0 28px 6px rgba(74, 168, 255, .4);
  transition: opacity .3s ease;
}
.pf-vcard-avatar-wrap.is-armed > .pf-chidori {
  opacity: 1; animation: pf-chidori .11s steps(2) infinite;
}
@keyframes pf-chidori {
  0%   { transform: scale(.97) rotate(0deg);   opacity: .8; }
  100% { transform: scale(1.05) rotate(4deg);  opacity: 1; }
}

/* lightning bolts arcing the logo during the raikiri charge (paths drawn by JS) */
.pf-lightning {
  position: absolute; left: 50%; top: 50%; width: 230%; height: 230%;
  transform: translate(-50%, -50%); z-index: 1; pointer-events: none;
  opacity: 0; overflow: visible;
}
.pf-vcard-avatar-wrap.is-charging > .pf-lightning {
  opacity: 1; animation: pf-bolt-flicker .07s steps(2) infinite;
}
.pf-lightning path {
  fill: none; stroke: #d7f1ff; stroke-width: 2; stroke-linecap: round;
  filter: drop-shadow(0 0 3px #4aa8ff) drop-shadow(0 0 6px #2b7fff);
}
@keyframes pf-bolt-flicker { 0% { opacity: .65; } 100% { opacity: 1; } }

/* full-screen raikiri explosion — fired at the "RAIKIRI!" peak */
.pf-ninja-blast { position: fixed; inset: 0; z-index: 62; pointer-events: none; }
.pf-ninja-blast[hidden] { display: none; }
.pf-ninja-blast.is-on::before {  /* white-blue flash, epicentred on the eye */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--bx, 50%) var(--by, 42%),
    rgba(255, 255, 255, .95) 0%, rgba(160, 220, 255, .7) 18%,
    rgba(74, 168, 255, .25) 38%, transparent 60%);
  animation: pf-blast-flash .5s ease-out forwards;
}
.pf-ninja-blast.is-on::after {  /* expanding shock ring */
  content: ""; position: absolute; left: var(--bx, 50%); top: var(--by, 42%);
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  border: 6px solid rgba(200, 235, 255, .9);
  box-shadow: 0 0 30px 10px rgba(74, 168, 255, .6);
  animation: pf-blast-ring .55s cubic-bezier(.2, .7, .3, 1) forwards;
}
@keyframes pf-blast-flash { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pf-blast-ring {
  0%   { transform: scale(.2); opacity: 1; }
  100% { transform: scale(26); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pf-vcard-avatar-wrap.is-eye > .pf-ninja-eye,
  .pf-vcard-avatar-wrap.is-armed > .pf-chidori,
  .pf-vcard-avatar-wrap.is-charging > .pf-lightning,
  .pf-ninja-blast.is-on::before, .pf-ninja-blast.is-on::after { animation: none; }
}
