/* ==========================================================================
   BarberPing Guide layout styles (assets/css/guide.css)

   Ported from the PromptTick theme, where these rules live inside the main
   style.css: the "Part 3: Guide layout" section, plus the few archive rules
   the guide markup relies on (.pa-sc, .pa-emp, .pt-art, .copy-btn, the
   article block and the toast). Loaded only on guide category archives.
   ========================================================================== */

/* ---- PromptTick palette, scoped to the guide panel ----
   On PromptTick these variables come from the theme's :root and the .pa-pg
   archive wrapper. BarberPing has neither, so the guide carries its own
   copies. Fonts point at BarberPing's Manrope stack on purpose: Syne and
   DM Sans are not loaded on BarberPing. */
.pg {
  --pa-g: linear-gradient(180deg,#CCA450,#C09843);
  --pa-mu: #BEBEBE;
  --pt-purple: #C9A04C;
  --pt-pink: #D6B466;
  --pt-card-bg: #111111;
  --pt-prompt-bg: #1A1A1A;
  --pt-prompt-border: rgba(255,255,255,0.14);
  --pt-text: #FFFFFF;
  --pt-gradient: linear-gradient(180deg,#CCA450,#C09843);
  --pt-radius-card: 16px;
  --pt-radius-btn: 10px;
  --font-heading: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  background: #050505;
  color: #fff;
  border-radius: 30px;
  overflow: clip;
  isolation: isolate;
  max-width: 1240px;
  margin: 0 auto;
}
.pg h1, .pg h2, .pg h3 { font-family: var(--font-heading); line-height: 1.08; margin: 0; color: #fff; }

.pg {
  --pa-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---- copy button base (guide cards) ---- */
.copy-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: var(--pt-radius-btn);
  border: none;
  background: var(--pt-gradient);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
}
@media (hover: hover) and (pointer: fine){.copy-btn:hover{ opacity: 0.88; transform: scale(0.99); }}
.copy-btn svg { flex-shrink: 0; }

/* ---- article block (the "Article Content" field) ---- */
.pt-style-article {
  background: #fff;
  padding: 2.5rem 1.5rem;
  margin: 0 auto 3rem;
  border: 1px solid var(--pt-prompt-border);
  border-radius: var(--pt-radius-card);
  max-width: 820px;
}

.pt-style-article-inner {
  color: var(--pt-text);
  line-height: 1.75;
}

.pt-style-article-inner h2,
.pt-style-article-inner h3 {
  margin-top: 1.75rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

.pt-style-article-inner p {
  margin-bottom: 1.3rem;
}

.pt-style-article-inner ul,
.pt-style-article-inner ol {
  margin: 1rem 0 1.3rem 1.5rem;
  padding-left: 1.2rem;
}

.pt-style-article-inner strong,
.pt-style-article-inner b {
  font-weight: 700;
}

.pt-style-article-inner a {
  color: var(--pt-purple);
  text-decoration: underline;
}

@media (hover: hover) and (pointer: fine){.pt-style-article-inner a:hover{
  color: var(--pt-pink);
}}
.pt-style-article { background: var(--pt-card-bg); border-color: var(--pt-prompt-border); }

/* ---- toast (used by the guide script's "Use in" copy feedback) ---- */
.pt-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #111111;
  color: #fff;
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.pt-toast.show { transform: translateX(-50%) translateY(0); }
.pt-toast-check { color: #C9A04C; font-size: 16px; }

/* ---- poster art (gradient behind card images) ---- */
/* ---------- poster art (gradient shows while an image loads or when there is none) ---------- */
.pt-art { position: relative; overflow: hidden;
  background: radial-gradient(circle at 70% 30%,var(--c1) 0 8%,transparent 8.6%),radial-gradient(50% 40% at 70% 30%,color-mix(in srgb,var(--c1) 55%,transparent),transparent 72%),linear-gradient(180deg,var(--c2),var(--c3) 62%,var(--c4)); }
.pt-art::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: -12%; height: 38%; border-radius: 50% 50% 0 0/100% 100% 0 0; background: var(--c4); }
.pt-art::after { content: ""; position: absolute; inset: 0; background: var(--pa-grain); opacity: .16; }
.pt-art img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.a0 { --c1:#D6B466; --c2:#3a2f14; --c3:#C9A04C; --c4:#1a1608; } .a1 { --c1:#FFFFFF; --c2:#2a2a2a; --c3:#BEBEBE; --c4:#111111; }
.a2 { --c1:#D6B466; --c2:#2b2310; --c3:#C99A2E; --c4:#14110a; } .a3 { --c1:#E8E8E8; --c2:#1f1f1f; --c3:#8A8A8A; --c4:#0b0b0b; }
.a4 { --c1:#FFE9B0; --c2:#3a2a0c; --c3:#C9A04C; --c4:#1a1204; } .a5 { --c1:#BEBEBE; --c2:#262626; --c3:#D6B466; --c4:#0d0d0d; }

/* ---- section headers + empty state (shared with the archive) ---- */
.pa-sc { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 26px 20px 14px; }
.pa-sc h2 { font-size: 22px; font-weight: 700; }
.pa-sc span { display: block; font-size: 14px; color: var(--pa-mu); margin-top: 2px; }
.pa-emp { text-align: center; color: var(--pa-mu); padding: 28px 20px; }
.pa-emp b { display: block; font: 800 22px var(--font-heading); color: #fff; margin-bottom: 6px; }
@media (min-width: 900px) {
  .pa-sc { padding: 34px 28px 16px; }
}

/* ---- Part 3: Guide layout (from the PromptTick stylesheet) ---- */
.pg { padding: 0 0 18px; }
.pg a { color: inherit; }

/* meta line */
.pg-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 0; padding: 0 20px 4px; font-size: 13.5px; color: var(--pa-mu); }
.pg-meta b { color: #fff; font-weight: 600; }
.pg-meta a { text-decoration: underline; text-underline-offset: 3px; }

/* boxes: quick picks, how we tested, builder */
.pg-box { margin: 18px 14px 0; padding: 18px 20px; border-radius: 24px; border: 1px solid transparent;
  background: linear-gradient(#111111,#111111) padding-box, linear-gradient(140deg,rgba(255,255,255,.35),rgba(201,160,76,.35) 45%,rgba(214,180,102,.5)) border-box; }
.pg-box h2 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.pg-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: #BEBEBE; }
.pg-quick li strong { color: #D6B466; font-weight: 700; }
.pg-quick li a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.pg-how { margin: 18px 14px 0; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); transition: border-radius .25s, background .25s; }
.pg-how[open] { border-radius: 30px; border-color: transparent; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.45);
  background: linear-gradient(#111111,#111111) padding-box, linear-gradient(140deg,rgba(255,255,255,.32),rgba(201,160,76,.45) 45%,rgba(214,180,102,.6)) border-box; }
.pg-how > summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 14px; cursor: pointer; border-radius: 999px; }
.pg-how > summary::-webkit-details-marker { display: none; }
.pg-how > summary:focus-visible { outline: 2px solid #D6B466; outline-offset: 3px; }
.pg-how[open] > summary { padding: 14px 16px 14px 20px; border-bottom: 1px solid rgba(255,255,255,.10); border-radius: 0; }
.pg-how-badge { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--pa-g); display: flex; align-items: center; justify-content: center; color: #fff; }
.pg-how-t { flex: none; font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: #fff; line-height: 1.2; }
.pg-how-t.is-open { display: none; font-weight: 800; font-size: 22px; flex: 1; }
.pg-how[open] .pg-how-t.is-closed { display: none; }
.pg-how[open] .pg-how-t.is-open { display: block; }
.pg-how-sep { flex: none; width: 1px; height: 20px; background: rgba(255,255,255,.2); }
.pg-how-chips { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; padding: 0; list-style: none; font-size: 13.5px; font-weight: 600; color: #BEBEBE; }
.pg-how-chips li { padding: 5px 12px; border-radius: 999px; background: rgba(201,160,76,.28); border: 1px solid rgba(167,139,250,.35); white-space: nowrap; }
.pg-how[open] .pg-how-chips, .pg-how[open] .pg-how-sep { display: none; }
.pg-how-cta { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-weight: 700; font-size: 14px; color: #fff; transition: background .2s; }
.pg-how-cta .is-open { display: none; }
.pg-how[open] .pg-how-cta { background: rgba(255,255,255,.08); }
.pg-how[open] .pg-how-cta .is-closed { display: none; }
.pg-how[open] .pg-how-cta .is-open { display: inline; }
.pg-how-cta svg { transition: transform .3s; }
.pg-how[open] .pg-how-cta svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine){.pg-how > summary:hover .pg-how-cta{ background: rgba(255,255,255,.14); }}
.pg-how-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255,255,255,.10); }
.pg-how-c { padding: 22px 22px 24px; background: #111111; }
.pg-how-c b.pg-how-l { display: block; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #D6B466; margin-bottom: 10px; }
.pg-how-c:nth-child(3n+2) b.pg-how-l { color: #D6B466; }
.pg-how-c:nth-child(3n) b.pg-how-l { color: #fdba74; }
.pg-how-c p { margin: 0; font-size: 15.5px; line-height: 1.65; color: #BEBEBE; }
@media (max-width: 699px) {
  .pg-how > summary { flex-wrap: wrap; row-gap: 10px; }
  .pg-how:not([open]) { border-radius: 28px; }
  .pg-how:not([open]) > summary { border-radius: 28px; }
  .pg-how-chips { order: 5; flex: 1 0 100%; }
  .pg-how-sep { display: none; }
  .pg-how-t { flex: 1; min-width: 0; font-size: 16px; }
  .pg-how-cta .pg-how-cta-t { display: none; }
  .pg-how-cta { width: 44px; padding: 0; justify-content: center; }
  .pg-how-t.is-open { font-size: 19px; }
}
@media (min-width: 700px) {
  .pg-how-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
@media (min-width: 900px) {
  .pg-how { margin: 22px 28px 0; }
}
/* jump to */
.pg-toc { padding: 22px 14px 0; text-align: center; }
.pg-toc > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.pg-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #FFFFFF !important; font-weight: 600; font-size: 14px; transition: background .2s, border-color .2s; }
@media (hover: hover) and (pointer: fine){.pg-chip:hover{ background: rgba(201,160,76,.35); border-color: rgba(214,180,102,.6); color: #fff !important; }}

/* sections */
.pg-sec { scroll-margin-top: 20px; }
.pg-sec h2, .pg-faq h2, .pg-rel h2 { scroll-margin-top: 24px; }
.pg-all { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-size: 13.5px; font-weight: 600; color: #FFFFFF !important; }
@media (hover: hover) and (pointer: fine){.pg-all:hover{ background: rgba(255,255,255,.1); }}
.pg .pg-sec .pa-sc { padding-top: 34px; }

/* prompt cards */
.pg-grid { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 0 14px; }
.pg-card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #111111; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 20px 40px rgba(0,0,0,.4); transition: box-shadow .3s; scroll-margin-top: 16px; }
.pg-card:target { box-shadow: 0 0 0 2px #D6B466, 0 20px 40px rgba(201,160,76,.35); }
.pg-thumb { display: block; position: relative; aspect-ratio: 4/5; }
.pg-thumb img { transition: transform .6s; }
.pg-num { position: absolute; z-index: 3; left: 12px; bottom: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(5,5,5,.62); border: 1px solid rgba(255,255,255,.18); font-size: 12px; font-weight: 700; color: #fff; }
.pg-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px 16px 18px; }
.pg-body h3 { font-size: 18px; font-weight: 700; line-height: 1.25; }
@media (hover: hover) and (pointer: fine){.pg-body h3 a:hover{ color: #D6B466; }}
.pg-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.pg-tags li { padding: 3px 11px; border-radius: 999px; background: rgba(201,160,76,.24); border: 1px solid rgba(167,139,250,.28); font-size: 11.5px; font-weight: 600; color: #BEBEBE; }
.pg-prompt { flex: 1; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--pt-prompt-bg); border: 1px solid var(--pt-prompt-border); color: #BEBEBE; font-size: 14px; line-height: 1.6; white-space: pre-line; user-select: all; }
.pg-swap { margin: 0; font-size: 12.5px; color: var(--pa-mu); }
.pg-swap b { color: #D6B466; font-weight: 700; }
.pg-row { display: flex; gap: 8px; align-items: stretch; margin-top: 2px; }
.copy-btn.pg-copy { flex: 1; min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--pa-g); font-size: 14.5px; font-weight: 700; box-shadow: 0 10px 24px rgba(214,180,102,.28); }
@media (hover: hover) and (pointer: fine){.copy-btn.pg-copy:hover{ opacity: .92; transform: none; }}
.pg-open { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-size: 13.5px; font-weight: 600; color: #FFFFFF !important; white-space: nowrap; }
@media (hover: hover) and (pointer: fine){.pg-open:hover{ background: rgba(255,255,255,.1); }}
.pg-pagination { padding-top: 26px; }

/* builder */
.pg-sub { margin: 0 0 14px; color: var(--pa-mu); font-size: 14px; }
.pg-fields { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pg-builder label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: #BEBEBE; }
.pg-builder input, .pg-builder select, .pg-builder textarea { display: block; width: 100%; margin-top: 5px; min-height: 46px; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.2); background: #0A0A0A; color: #fff; font: 500 15px/1.4 var(--font-body); box-shadow: none; }
.pg-builder input:focus, .pg-builder select:focus, .pg-builder textarea:focus { outline: 0; border-color: #D6B466; box-shadow: 0 0 0 3px rgba(214,180,102,.2); }
.pg-builder .pg-out-l { margin-top: 18px; }
.pg-builder textarea { resize: vertical; background: var(--pt-prompt-bg); line-height: 1.6; margin-bottom: 12px; }
.pg-builder .copy-btn.pg-copy { width: 100%; flex: none; }

/* tip box */
.pg-tip { margin: 26px 14px 0; padding: 22px 24px; border-radius: 24px; background: var(--pa-g); color: #fff; box-shadow: 0 16px 40px rgba(214,180,102,.25); }
.pg-tip h3 { font-size: 20px; margin-bottom: 6px; }
.pg-tip p { margin: 0; font-size: 15.5px; line-height: 1.65; }

/* article block (the "Article Content (SEO)" field) */
.pg-article { margin-top: 10px; }
.pt-style-article-inner pre, .pt-style-article-inner code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.pt-style-article-inner pre { margin: 18px 0; padding: 14px 16px; border-radius: 14px; background: #0A0A0A; border: 1px solid rgba(255,255,255,.14); color: #BEBEBE; font-size: 13.5px; white-space: pre-wrap; }
.pt-style-article-inner th { background: rgba(201,160,76,.22); color: #fff; font-weight: 700; }
.pt-style-article-inner table { font-size: 14.5px; margin: 18px 0; }
.pt-style-article-inner .pg-vs { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 18px 0; }
.pt-style-article-inner .pg-vs > div { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border-left: 5px solid #D6B466; font-size: 14.5px; line-height: 1.6; }
.pt-style-article-inner .pg-vs > .pg-strong { border-left-color: #22c55e; }
@media (min-width: 700px) { .pt-style-article-inner .pg-vs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pt-style-article-inner table { display: block; overflow-x: auto; } }

/* FAQ */
.pg-faq-list { display: grid; gap: 10px; padding: 0 14px; max-width: 860px; margin: 0 auto; }
.pg-faq details { border-radius: 18px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); padding: 4px 18px; }
.pg-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; cursor: pointer; font-weight: 700; font-size: 16px; color: #fff; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid #D6B466; border-bottom: 2px solid #D6B466; transform: rotate(45deg); transition: transform .2s; }
.pg-faq details[open] summary::after { transform: rotate(-135deg); }
.pg-faq details p { margin: 0 0 16px; color: #BEBEBE; line-height: 1.7; }
.pg-faq .pa-sc { max-width: 860px; margin: 0 auto; }
.pg-faq { margin-top: 12px; }

/* related */
.pg-rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px; }
.pg-rel-grid a { display: block; padding: 16px; border-radius: 18px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); font-weight: 700; font-size: 15px; color: #fff !important; transition: background .2s, border-color .2s; }
@media (hover: hover) and (pointer: fine){.pg-rel-grid a:hover{ background: rgba(201,160,76,.3); border-color: rgba(214,180,102,.55); }}
.pg-rel-grid a span { display: block; margin-top: 3px; font-weight: 400; font-size: 12.5px; color: var(--pa-mu); }

@media (min-width: 640px) {
  .pg-grid { grid-template-columns: repeat(2, 1fr); }
  .pg-fields { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .pg-meta { padding-bottom: 8px; }
  .pg-box { margin: 22px 28px 0; padding: 22px 26px; }
  .pg-quick ul { grid-template-columns: 1fr 1fr; gap: 10px 26px; }
  .pg-grid { padding: 0 28px; gap: 18px; }
  .pg-fields { grid-template-columns: repeat(3, 1fr); }
  .pg-tip { margin: 30px 28px 0; padding: 26px 30px; }
  .pg-faq-list { padding: 0 28px; }
  .pg-rel-grid { grid-template-columns: repeat(3, 1fr); padding: 0 28px; }
}
@media (min-width: 1100px) {
  .pg-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (hover: hover) {
  .pg-card:hover .pg-thumb img { transform: scale(1.05); }
  .pg-card:hover { box-shadow: 0 0 0 1px rgba(214,180,102,.7), 0 24px 50px rgba(201,160,76,.3); }
}
@media (prefers-reduced-motion: reduce) {
  .pg-card, .pg-thumb img, .pg-chip, .pg-faq summary::after { transition: none !important; }
}


/* Guide cards: show only 3 lines of the prompt */
.pg-card .pg-prompt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    flex: none;
    white-space: normal;
    max-height: none;
    padding: 12px 14px;
}

/* ============================================================
   Guide jump nav  (Guide layout only: inc/guide-layout.php + assets/js/guide.js)
   Phone  (up to 819px): glass pill with reading-progress ring -> bottom sheet. Hidden on desktop.
   Desktop (820px and up): sticky glass bar with a "Jump to" label + sliding color pill.
============================================================ */
.pgn { margin: 0; }
.pgn-link { text-decoration: none; color: inherit; }
.pgn-ind, .pgn-prog, .pgn-btn, .pgn-bk, .pgn-num, .pgn-chk, .pgn-pct { display: none; }
html.pgn-lock { overflow: hidden; }

/* ---------- phone: glass pill + bottom sheet ---------- */
@media (max-width: 819px) {
  .pgn { position: fixed; inset: 0; z-index: 9990; pointer-events: none; margin: 0; }

  .pgn-bk { display: block; position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: rgba(5,5,5,.62); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; transition: opacity .35s; }
  .pgn.is-open .pgn-bk { opacity: 1; pointer-events: auto; }

  .pgn-btn { display: flex; align-items: center; gap: 10px; position: absolute; right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); height: 56px; padding: 0 16px 0 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(28,15,52,.78); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 14px 34px rgba(0,0,0,.55), 0 0 0 1px rgba(214,180,102,.18); color: #fff; font: 500 14px/1.15 var(--font-body, 'DM Sans', system-ui, sans-serif); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.96); pointer-events: none; transition: opacity .3s, transform .4s cubic-bezier(.2,.8,.2,1), visibility 0s .3s; }
  .pgn.is-on .pgn-btn { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
  .pgn.is-on.is-open .pgn-btn { opacity: 0; transform: scale(.9); pointer-events: none; }
  .pgn-btn:focus-visible { outline: 3px solid #D6B466; outline-offset: 3px; }
  .pgn-ring { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; }
  .pgn-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
  .pgn-rgt { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 3; }
  .pgn-rgc { fill: none; stroke: url(#pgn-g); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 106.81; stroke-dashoffset: 106.81; transition: stroke-dashoffset .25s ease-out; }
  .pgn-idx { position: relative; font: 700 13px/1 var(--font-heading, inherit); color: #fff; }
  .pgn-tx { display: flex; flex-direction: column; gap: 2px; }
  .pgn-tx small { font-size: 11px; color: #BEBEBE; }
  .pgn-cur { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
  .pgn-btn > svg { flex: none; color: #D6B466; }

  .pgn-bar { position: absolute; left: max(8px, env(safe-area-inset-left, 0px)); right: max(8px, env(safe-area-inset-right, 0px)); bottom: calc(8px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 2px; max-height: 78vh; max-height: 78dvh; overflow-y: auto; overscroll-behavior: contain; padding: 10px 8px 8px; border-radius: 28px; border: 1px solid rgba(255,255,255,.2); background: rgba(24,13,44,.9); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: 0 -20px 60px rgba(0,0,0,.5); transform: translateY(112%); visibility: hidden; pointer-events: none; transition: transform .5s cubic-bezier(.2,.8,.2,1), visibility 0s .5s; }
  .pgn.is-open .pgn-bar { transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .pgn-bar::before { content: ""; flex: none; align-self: center; width: 38px; height: 4px; margin-bottom: 8px; border-radius: 4px; background: rgba(255,255,255,.28); }

  .pgn-cap { display: flex; justify-content: space-between; align-items: baseline; padding: 0 12px 8px; }
  .pgn-cap-i { display: none; }
  .pgn-cap-t { font: 700 17px/1.2 var(--font-heading, inherit); color: #fff; }
  .pgn-pct { display: block; font-size: 12px; color: #BEBEBE; }

  .pgn-link { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 12px 0 8px; border-radius: 18px; color: #BEBEBE; font-size: 15px; font-weight: 500; -webkit-tap-highlight-color: transparent; }
  .pgn-num { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 12px; background: rgba(255,255,255,.09); font-size: 13px; font-weight: 700; }
  .pgn-lbl { flex: 1; }
  .pgn-chk { display: block; flex: none; color: #D6B466; opacity: 0; }
  .pgn-link.on { background: rgba(201,160,76,.28); color: #fff; }
  .pgn-link.on .pgn-num { background: linear-gradient(135deg,#C9A04C,#D6B466); color: #fff; }
  .pgn-link.on .pgn-chk { opacity: 1; }
  .pgn-link:focus-visible { outline: 3px solid #D6B466; outline-offset: -2px; }
  .pgn-dot { display: none; }

  .pg-sec h2, .pg-faq h2, .pg-rel h2, #builder, #guide { scroll-margin-top: 24px; }
}

/* ---------- desktop: sticky glass bar ---------- */
@media (min-width: 820px) {
  .pgn { position: sticky; top: 12px; z-index: 40; display: flex; justify-content: center; margin: 22px 14px 0; pointer-events: none; }
  .pgn-bar { position: relative; display: flex; align-items: center; gap: 2px; max-width: 100%; padding: 6px; border-radius: 999px; overflow-x: auto; scrollbar-width: none; pointer-events: auto; background: rgba(17,17,17,.82); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 14px 34px rgba(0,0,0,.5); }
  .pgn-bar::-webkit-scrollbar { display: none; }

  /* the "Jump to" label: gradient compass chip + text + hairline divider, stays pinned on the left */
  .pgn-cap { position: sticky; left: 0; z-index: 3; flex: none; display: flex; align-items: center; gap: 10px; min-height: 40px; margin-right: 8px; padding: 0 20px 0 4px; border-radius: 999px; background: rgba(17,17,17,.96); }
  .pgn-cap::after { content: ""; position: absolute; right: 0; top: 50%; width: 1px; height: 20px; margin-top: -10px; background: rgba(255,255,255,.18); }
  .pgn-cap-i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: var(--pa-g, linear-gradient(135deg,#C9A04C,#D6B466 62%,#C9A04C)); box-shadow: 0 6px 16px rgba(214,180,102,.38); }
  .pgn-cap-t { font: 700 13.5px/1 var(--font-heading, inherit); letter-spacing: .01em; color: #FFFFFF; white-space: nowrap; }

  .pgn-ind { display: block; position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--pa-g, linear-gradient(135deg,#C9A04C,#D6B466)); box-shadow: 0 8px 22px rgba(214,180,102,.35); transition: transform .35s cubic-bezier(.4,0,.2,1), width .35s cubic-bezier(.4,0,.2,1); }
  .pgn-prog { display: block; position: absolute; z-index: 2; left: 14px; bottom: 0; height: 2px; width: 0; border-radius: 2px; background: rgba(255,255,255,.55); }
  .pgn-link { position: relative; z-index: 1; flex: none; display: flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; color: #BEBEBE; transition: color .2s; }
  .pgn-dot { display: none; }
   .pgn-link.on{ color: #fff; }
@media (hover: hover) and (pointer: fine){.pgn-link:hover{ color: #fff; }}
  .pgn-link:focus-visible { outline: 3px solid #D6B466; outline-offset: 2px; }

  .pg-sec h2, .pg-faq h2, .pg-rel h2, #builder, #guide { scroll-margin-top: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  .pgn-ind, .pgn-bar, .pgn-btn, .pgn-bk, .pgn-rgc, .pgn-link { transition: none !important; }
}

/* ============================================================
   Guide cards: full image + Expert Insight (Aurora)
   ============================================================ */

/* image is always shown whole, never cropped */
.pg-card { min-width: 0; }
.pg-card .pg-thumb { aspect-ratio: auto; }
.pg-card .pg-thumb:not(:has(img)) { aspect-ratio: 2/3; }
.pg-card .pg-thumb img { position: relative; inset: auto; width: 100%; height: auto; object-fit: contain; display: block; }
.pg-card .pg-row { margin-top: auto; }

/* Aurora insight panel (desktop / tablet) */
.pg-ins { position: relative; overflow: hidden; padding: 14px; border-radius: 18px; border: 1px solid rgba(255,255,255,.2);
  background: radial-gradient(80% 120% at 0 0, rgba(201,160,76,.55), transparent 60%),
              radial-gradient(70% 110% at 100% 100%, rgba(201,160,76,.4), transparent 60%), #111111; }
.pg-ins-w { position: absolute; right: -16px; top: -16px; width: 100px; height: 100px; color: rgba(255,255,255,.1); pointer-events: none; }
.pg-ins-l { position: relative; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.pg-ins-i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: linear-gradient(135deg, #C9A04C, #D6B466); color: #fff; }
.pg-ins p { position: relative; margin: 8px 0 0; font-size: 13px; line-height: 1.55; color: #FFFFFF; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
/* Phone: 2-column grid, short insight */
@media (max-width: 639px) {
  .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 12px; }
  .pg-card { padding: 8px; gap: 8px; border-radius: 18px; }
  .pg-card .pg-thumb { border-radius: 12px; }
  .pg-card .pg-num { left: 8px; bottom: 8px; padding: 3px 9px; font-size: 11px; }
  .pg-card .pg-body { padding: 0; gap: 8px; }
  .pg-card .pg-body h3 { font-size: 13.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pg-card .pg-tags, .pg-card .pg-prompt, .pg-card .pg-swap, .pg-card .pg-open { display: none; }
  .pg-ins { padding: 9px 10px; border-radius: 13px; }
  .pg-ins-w { width: 70px; height: 70px; right: -12px; top: -12px; }
  .pg-ins-l { gap: 6px; font-size: 9.5px; }
  .pg-ins-i { width: 20px; height: 20px; border-radius: 7px; }
  .pg-ins p { margin-top: 5px; font-size: 11.5px; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .copy-btn.pg-copy { min-height: 36px; padding: 0 10px; font-size: 12.5px; border-radius: 12px; }
}

/* Guide cards: no waiting for the tallest card (Pinterest-style columns) */
.pg-grid { display: block; column-count: 2; column-gap: 10px; }
.pg-grid > .pg-card { display: flex; width: 100%; margin: 0 0 10px; break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; }
@media (min-width: 640px) {
  .pg-grid { column-gap: 14px; }
  .pg-grid > .pg-card { margin-bottom: 14px; }
}
@media (min-width: 900px) {
  .pg-grid { column-gap: 18px; }
  .pg-grid > .pg-card { margin-bottom: 18px; }
}
@media (min-width: 1100px) {
  .pg-grid { column-count: 3; }
}

/* Title on the image (cut after 2 lines with ...) */
.pg-media { position: relative; }
.pg-media .pg-thumb { display: block; }
.pg-media .pg-num { top: 10px; bottom: auto; left: 10px; }
.pg-ttl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; margin: 0; padding: 40px 14px 12px; font-family: var(--font-heading, inherit); font-size: 17px; line-height: 1.25; font-weight: 700;
  background: linear-gradient(to top, rgba(5,5,5,.94), rgba(5,5,5,.6) 55%, rgba(5,5,5,0)); pointer-events: none; }
.pg-ttl a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; color: #fff !important; pointer-events: auto; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
@media (hover: hover) and (pointer: fine){.pg-ttl a:hover{ color: #D6B466 !important; }}

@media (max-width: 639px) {
  .pg-media { border-radius: 12px; overflow: hidden; }
  .pg-media .pg-num { top: 6px; left: 6px; }
  .pg-ttl { padding: 28px 8px 8px; font-size: 12.5px; line-height: 1.2; }
}

/* Tool name on the image (top-right corner) */
.pg-thumb .pg-tool { position: absolute; z-index: 3; top: 10px; right: 10px; padding: 4px 11px; border-radius: 999px; background: rgba(5,5,5,.62); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 12px; font-weight: 700; color: #fff; }
@media (max-width: 639px) {
  .pg-thumb .pg-tool { top: 6px; right: 6px; padding: 2px 8px; font-size: 10.5px; }
}

/* ============================================================
   Guide: Introduction bar (open / close, light ring)
   ============================================================ */
.pg-intro { margin: 16px 14px 0; }
.pg-intro-sum { position: relative; display: block; overflow: hidden; padding: 1.5px; border-radius: 999px; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.pg-intro-sum::-webkit-details-marker { display: none; }
.pg-intro-sum::marker { content: ""; }
.pg-intro-sum::before { content: ""; position: absolute; inset: -200% -20%; background: conic-gradient(from 0deg, transparent 0 55%, #D6B466, #D6B466, #C9A04C, transparent); animation: pgi-spin 6s linear infinite; }
.pg-intro-sum:focus-visible { outline: 3px solid #D6B466; outline-offset: 3px; }
.pg-intro-in { position: relative; display: flex; align-items: center; gap: 12px; box-sizing: border-box; height: 53px; padding: 0 10px 0 9px; border-radius: 999px; background: #111111; }
.pg-intro-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(120deg, #C9A04C, #D6B466 62%, #C9A04C); }
.pg-intro-lb { flex: none; display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #D6B466; }
.pg-intro-lb i { width: 7px; height: 7px; border-radius: 50%; background: #C9A04C; box-shadow: 0 0 10px #C9A04C; animation: pgi-pulse 1.6s ease-in-out infinite; }
.pg-intro h2.pg-intro-q { flex: 1; min-width: 0; margin: 0; padding: 0; font: 600 14.5px/1.3 var(--font-body, inherit); letter-spacing: 0; text-transform: none; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-intro-pm { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); font-size: 22px; line-height: 1; color: #fff; transition: transform .25s; }
.pg-intro-pm::before { content: "+"; }
.pg-intro[open] .pg-intro-pm { transform: rotate(45deg); background: linear-gradient(135deg, #C9A04C, #D6B466); border-color: transparent; }
.pg-intro-pn { margin-top: 8px; padding: 18px 22px; border-radius: 22px; background: #111111; border: 1px solid rgba(255,255,255,.14); animation: pgi-up .5s ease both; }
.pg-intro-pn p { margin: 0 0 10px; font-size: 15px; line-height: 1.7; color: #BEBEBE; }
.pg-intro-pn p:last-of-type { margin-bottom: 0; }
.pg-intro-st { list-style: none; counter-reset: pgs; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pg-intro-st li { counter-increment: pgs; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); font-size: 13.5px; color: #FFFFFF; }
.pg-intro-st li::before { content: counter(pgs); display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #C9A04C, #D6B466); font: 800 12px var(--font-heading, inherit); color: #fff; }
@keyframes pgi-spin { to { transform: rotate(360deg); } }
@keyframes pgi-pulse { 50% { transform: scale(1.5); opacity: .6; } }
@keyframes pgi-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) { .pg-intro { margin: 18px 28px 0; } }
@media (max-width: 639px) {
  .pg-intro-sum, .pg-intro-in { border-radius: 18px; }
  .pg-intro-in { height: 49px; }
  .pg-intro-lb { display: none; }
  .pg-intro-pn { padding: 14px 16px; border-radius: 18px; }
  .pg-intro-pn p { font-size: 14px; }
  .pg-intro-st { flex-direction: column; gap: 8px; }
  .pg-intro-st li { border-radius: 16px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-intro-sum::before, .pg-intro-lb i, .pg-intro-pn { animation: none; }
}

/* Introduction bar: use the theme fonts (Syne for headings, DM Sans for text) */
.pg-intro,
.pg-intro summary,
.pg-intro p,
.pg-intro li,
.pg-intro .pg-intro-lb { font-family: var(--font-body, 'DM Sans', system-ui, sans-serif); }

.pg-intro h2.pg-intro-q { font-family: var(--font-heading, 'Syne', system-ui, sans-serif); font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.pg-intro-st li::before { font-family: var(--font-heading, 'Syne', system-ui, sans-serif); }
.pg-intro-pm { font-family: var(--font-body, 'DM Sans', system-ui, sans-serif); }
/* Guide layout: "Show more" button under each shelf */
.pg-more-wrap { display: flex; justify-content: center; padding: 22px 14px 4px; }
.pg-more { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 26px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); color: #fff; font-family: var(--font-body); font-size: 14.5px; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s; }
@media (hover: hover) and (pointer: fine){.pg-more:hover{ background: rgba(255,255,255,.12); border-color: rgba(214,180,102,.7); }}
.pg-more:disabled { opacity: .6; cursor: wait; }
.pg-more-n { color: #BEBEBE; font-weight: 600; }


/* ---- jump-nav sheet motion hooks (from the PromptTick motion section) ---- */
.pgn.pgn-motion .pgn-bar,
.pgn.pgn-motion .pgn-bk { transition: none; }
.pgn-bar { will-change: transform; }
@media (prefers-reduced-transparency: reduce) {
  .pgn-bar, .pgn-btn { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: #111111 !important; }
  .pgn-bk { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: rgba(5,5,5,.94) !important; }
}
@media (prefers-contrast: more) {
  .pgn-bar, .pgn-btn { border-color: rgba(255,255,255,.7) !important; }
  .pgn-bar { background: #050505 !important; }
}

/* ==========================================================================
   BarberPing adaptations (not in the PromptTick original)
   ========================================================================== */
/* The parent theme's navbar is position:fixed and every built-in template
   adds its own top clearance; the guide wrapper must do the same or its
   first lines slide under the header (workspace lesson, 2026-11-10). */
.pg { padding-top: 96px; }
@media (max-width: 760px) { .pg { padding-top: 84px; } }

/* The card's "before" photo: a small framed inset in the thumb's corner.
   (.pt-art img makes every image in the thumb fill it, so this rule is
   deliberately more specific.) */
.pg-thumb img.pg-before {
  position: absolute; inset: auto; z-index: 2;
  right: 12px; bottom: 12px;
  width: 27%; height: auto; aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,.85);
  box-shadow: 0 8px 20px rgba(0,0,0,.45);
}
@media (max-width: 640px) {
  .pg-thumb img.pg-before { right: 8px; bottom: 8px; border-radius: 9px; }
}

/* BarberPing hero block (printed by the guide renderer) */
.pg-hero { padding: 8px 0 18px; }
.pg-hero-badge { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border: 1px solid var(--pt-prompt-border, rgba(255,255,255,0.14)); border-radius: 999px; color: var(--pa-mu, #BEBEBE); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.pg-hero-title { margin: 0 0 10px; color: var(--pt-text, #FFFFFF); font-size: clamp(28px, 4.5vw, 44px); line-height: 1.12; }
.pg-hero-desc { margin: 0; max-width: 720px; color: var(--pa-mu, #BEBEBE); font-size: 16px; line-height: 1.55; }

/* BarberPing brand overrides: dark text on the gold gradient */
.copy-btn.pg-copy { color: #111111; }
.pg-intro-ic svg { stroke: #111111; }

/* ==========================================================================
   Hero image wall (guide hero with rows of prompt images drifting behind the text)
   ========================================================================== */
.pg-hero--wall {
  --wall-h: 150px;
  --wall-speed: 80s;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 600px;
  padding: 72px clamp(16px, 4vw, 40px);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #080808;
}
.pg-wall {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  transform: rotate(-4deg) scale(1.14);
}
.pg-wall-row {
  display: flex;
  width: max-content;
  gap: 14px;
  will-change: transform;
  animation: pgWallDrift var(--wall-speed) linear infinite;
}
.pg-wall-row:nth-child(even) { animation-direction: reverse; animation-duration: calc(var(--wall-speed) * 1.25); }
.pg-wall-row:nth-child(3n) { animation-duration: calc(var(--wall-speed) * .85); }
@keyframes pgWallDrift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pg-wall-tile {
  flex: none;
  display: block;
  height: var(--wall-h);
  border-radius: 18px;
  overflow: hidden;
  background: #1a1a1a;
}
.pg-wall-tile img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.pg-wall-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 62% 58% at 50% 50%, rgba(5,5,5,.92) 0%, rgba(5,5,5,.74) 55%, rgba(5,5,5,.4) 100%),
    linear-gradient(180deg, rgba(5,5,5,.7) 0%, transparent 22%, transparent 78%, rgba(5,5,5,.85) 100%);
}
.pg-hero--wall .pg-hero-inner { max-width: 820px; display: flex; flex-direction: column; align-items: center; }
.pg-hero--wall .pg-hero-badge { margin-bottom: 20px; background: rgba(0,0,0,.45); color: #e9e9e9; }
.pg-hero--wall .pg-hero-title { font-size: clamp(32px, 5.6vw, 60px); line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.6); margin-bottom: 18px; }
.pg-hero--wall .pg-hero-desc { margin-inline: auto; max-width: 60ch; color: #dcdcdc; font-size: 16.5px; line-height: 1.65; }
.pg-hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.pg-hero-stats div { min-width: 118px; padding: 12px 20px; border-radius: 16px; background: rgba(12,12,12,.7); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pg-hero-stats b { display: block; font-size: 24px; font-weight: 800; color: #D6B466; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pg-hero-stats span { font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: #cfcfcf; }
.pg-hero-btns { margin-top: 26px; }
.pg-hero-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 26px; border-radius: 999px; background: linear-gradient(120deg,#C9A04C,#D6B466 62%,#C9A04C); color: #111; font-size: 14.5px; font-weight: 700; text-decoration: none; }
.pg-hero-btn:focus-visible { outline: 2px solid #D6B466; outline-offset: 3px; }
@media (max-width: 640px) {
  .pg-hero--wall { --wall-h: 110px; min-height: 560px; padding-block: 52px; }
  .pg-wall-row:nth-child(4) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pg-wall-row { animation: none; } }

/* ==========================================================================
   v2.2: shorter hero, byline inside the hero, category orbs, matte gold
   ========================================================================== */
.pg-hero--wall { --wall-h: 92px; --wall-speed: 90s; min-height: 0; padding: 34px clamp(16px, 4vw, 40px) 28px; margin-bottom: 14px; }
.pg-wall { justify-content: center; }
.pg-hero--wall .pg-hero-badge { margin-bottom: 12px; font-size: 11px; padding: 4px 12px; }
.pg-hero--wall .pg-hero-title { font-size: clamp(26px, 4.6vw, 44px); margin-bottom: 10px; }
.pg-hero--wall .pg-hero-desc { font-size: 15px; line-height: 1.55; max-width: 58ch; }
.pg-hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin: 14px 0 0; padding: 0; font-size: 13px; color: #dcdcdc; }
.pg-hero-facts b { color: #D6B466; font-weight: 800; font-variant-numeric: tabular-nums; }
.pg-hero--wall .pg-meta { margin: 8px 0 0; padding: 0; justify-content: center; font-size: 12.5px; color: #c4c4c4; }
@media (max-width: 640px) {
  .pg-hero--wall { --wall-h: 74px; padding: 26px 16px 22px; }
  .pg-hero--wall .pg-hero-title { font-size: clamp(25px, 7.4vw, 32px); }
  .pg-hero--wall .pg-hero-desc { font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .pg-hero--wall .pg-meta { gap: 2px 12px; font-size: 12px; }
}

/* ---- category orbs ---- */
.pg-orbs { margin: 14px 14px 0; }
.pg-orbs-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.pg-orbs-head h2 { font-size: 15px; font-weight: 700; margin: 0; }
.pg-orbs-arrows { display: inline-flex; gap: 6px; }
.pg-orbs-arrows button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.pg-orbs-arrows button:hover { border-color: rgba(201,160,76,.7); }
.pg-orbs-arrows button:focus-visible { outline: 2px solid #D6B466; outline-offset: 2px; }
@media (hover: none) { .pg-orbs-arrows { display: none; } }
.pg-orbs-track { list-style: none; margin: 0; padding: 6px 2px 8px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent); }
.pg-orbs-track::-webkit-scrollbar { display: none; }
.pg-orbs-track li { flex: none; scroll-snap-align: start; }
.pg-orbs-track a { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 76px; color: #fff; text-decoration: none; }
.pg-orb { display: block; width: 62px; height: 62px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(201,160,76,.6); background: #1a1a1a; transition: transform .2s ease, border-color .2s ease; }
.pg-orb img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.pg-orb-name { max-width: 100%; font-size: 11.5px; font-weight: 600; text-align: center; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #d8d8d8; }
@media (hover: hover) and (pointer: fine) { .pg-orbs-track a:hover .pg-orb { transform: translateY(-2px); border-color: #D6B466; } }
.pg-orbs-track a:focus-visible { outline: 2px solid #D6B466; outline-offset: 3px; border-radius: 12px; }
@media (max-width: 640px) { .pg-orb { width: 56px; height: 56px; } .pg-orbs-track a { width: 68px; } .pg-orbs { margin-inline: 10px; } }
@media (prefers-reduced-motion: reduce) { .pg-orb { transition: none; } }

/* ---- matte gold: flat fills, no glow, dark text on gold ---- */
.copy-btn.pg-copy { box-shadow: none; color: #111; }
.pg-card:target { box-shadow: 0 0 0 2px #C9A04C; }
@media (hover: hover) and (pointer: fine) { .pg-card:hover { box-shadow: 0 0 0 1px rgba(201,160,76,.55), 0 14px 30px rgba(0,0,0,.4); } }
.pg-tip { background: #14110a; border: 1px solid rgba(201,160,76,.4); color: #e6e0d0; box-shadow: none; }
.pg-tip h3 { color: #D6B466; }
.pgn-link.on .pgn-num, .pgn-cap-i, .pg-how-badge, .pg-ins-i, .pg-intro-ic, .pg-intro-st li::before, .pg-hero-btn { color: #111; }
.pg-intro-ic svg, .pg-how-badge svg { stroke: #111; }
.pg-intro-lb i { box-shadow: none; }
.pg-intro-sum::before { opacity: .45; }

/* ==========================================================================
   v2.3: header scrolls away, no gap above the hero, chip-style hero facts
   ========================================================================== */
body.tax-prompt_category .navbar { position: relative; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }
body.tax-prompt_category .navbar.is-scrolled { padding: 22px 0; background: transparent; border-bottom-color: transparent; }
.pg { padding-top: 4px; }
.pg-sec h2, .pg-faq h2, .pg-rel h2, #builder, #guide, .pg-card { scroll-margin-top: 16px; }

.pg-hero--wall .pg-hero-facts, .pg-hero--wall .pg-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pg-hero--wall .pg-hero-facts { margin-top: 16px; }
.pg-hero--wall .pg-meta { margin-top: 8px; }
.pg-hero--wall .pg-hero-facts li, .pg-hero--wall .pg-meta li {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
  background: rgba(12,12,12,.72); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 500; color: #d6d6d6; line-height: 1.2; white-space: nowrap; }
.pg-hero--wall .pg-hero-facts li svg, .pg-hero--wall .pg-meta li svg { flex: none; color: #C9A04C; }
.pg-hero--wall .pg-hero-facts b { color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }
.pg-hero--wall .pg-meta b { color: #fff; font-weight: 700; }
.pg-hero--wall .pg-meta a { text-decoration: none; }
.pg-hero--wall .pg-meta a:hover b { color: #D6B466; }
.pg-hero--wall .pg-hero-facts li.is-free { border-color: rgba(201,160,76,.5); }
@media (max-width: 640px) {
  .pg-hero--wall .pg-hero-facts, .pg-hero--wall .pg-meta { gap: 6px; }
  .pg-hero--wall .pg-hero-facts li, .pg-hero--wall .pg-meta li { padding: 5px 11px; font-size: 12px; }
}
.pg-orb i { display: grid; place-items: center; width: 100%; height: 100%; font-style: normal; font-weight: 800; font-size: 22px; color: #D6B466; background: #1a1a1a; }

/* ---- Expert insight on prompt cards ---- */
.pg-insight { margin: 0; padding: 10px 14px 12px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09); }
.pg-insight-lb { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 5px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #D6B466; }
.pg-insight-lb svg { flex: none; }
.pg-insight p { margin: 0; font-size: 13.5px; line-height: 1.55; color: #cfcfcf; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
