/* ==========================================================================
   3PEDIA DIGITAL — PERSONAL BRANDING STYLES (branding.css v4.0 · ZERO INLINE CSS)
   ========================================================================== */

body.page-branding ::selection { background: var(--gold); color: #fff; }
body.page-branding a:focus-visible,
body.page-branding button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
body.page-branding #prog { background: var(--gold); }
body.page-branding .cur-dot { background: var(--gold); }
body.page-branding.hovering .cur-ring { width: 64px; height: 64px; border-color: var(--gold); background: var(--gold-soft); }

body.page-branding .eyebrow { color: var(--gold); }
body.page-branding .eyebrow::before { background: var(--gold); }
body.page-branding .h-sec { font-family: 'Fraunces', serif; font-weight: 700; text-transform: none; letter-spacing: -0.01em; line-height: 1.08; }
body.page-branding .h-sec em { font-style: italic; color: var(--gold); }

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
  padding: 14px 28px;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px var(--gold-soft);
}

/* --- HERO MASTHEAD --- */
.pb-hero {
  min-height: auto;
  padding: 130px 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.pb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 20%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 55% at 50% 20%, #000 30%, transparent 78%);
  pointer-events: none;
}

.pb-masthead-tag {
  position: relative;
  z-index: 1;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.pb-masthead-divider {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 28px;
}

.pb-hero-in {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.pb-hero-h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(34px, 5.2vw, 64px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 auto 22px;
}

.pb-hero-h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.pb-hero-deck {
  max-width: 680px;
  margin: 0 auto 34px;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
  color: var(--ink-soft);
  font-family: 'Space Grotesk', sans-serif;
}

.pb-hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.pb-preview-row {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: wrap;
}

.pb-preview-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 24px;
  text-align: left;
  min-width: 220px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pb-preview-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.pb-preview-cat {
  font-size: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.pb-preview-title {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.pb-preview-sub {
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 4px;
}

body.page-branding .tk-track span::after {
  color: var(--gold);
}

/* --- PAIN SECTION --- */
.pain { background: var(--bg-alt); }
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.clip-list { display: flex; flex-direction: column; gap: 16px; }
.clip { background: var(--surface); border: 1px solid var(--line); padding: 22px 24px; position: relative; box-shadow: 0 8px 24px rgba(20, 18, 16, 0.05); }
.clip::before { content: '"'; position: absolute; top: 6px; left: 14px; font-family: 'Fraunces', serif; font-size: 46px; font-style: italic; color: var(--gold-soft); line-height: 1; }
.clip-n { font-family: 'Fraunces', serif; font-weight: 700; font-size: 28px; color: var(--gold); margin-bottom: 6px; padding-left: 24px; }
.clip p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; padding-left: 24px; }
.clip .src { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 9.5px; color: var(--ink-faint); margin-top: 6px; letter-spacing: 0.05em; padding-left: 24px; }

/* --- PHONE MOCKUP & AUTHORITY FRAMEWORK --- */
.pillars { background: var(--bg); }
.pl-head { max-width: 700px; margin-bottom: 60px; }

.phone-grid-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.3fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 70px;
}

.phone-wrap { display: flex; justify-content: center; perspective: 1600px; }
.phone { width: 230px; background: var(--ink); border-radius: 32px; padding: 10px; box-shadow: var(--shadow); transform: rotateY(-8deg) rotateX(3deg); transition: transform 0.5s var(--ease); }
.phone:hover { transform: rotateY(0) rotateX(0); }
.phone-screen { background: var(--surface); border-radius: 24px; padding: 16px 14px; height: 400px; overflow: hidden; position: relative; }
.ph-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ph-row-spaced { margin-top: 18px; }
.ph-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--ink)); flex-shrink: 0; }
.ph-name { font-family: 'Space Grotesk', sans-serif; font-size: 10px; font-weight: 700; }
.ph-name span { display: block; font-weight: 400; color: var(--ink-faint); font-size: 8px; }
.ph-post { font-size: 10.5px; line-height: 1.55; color: var(--ink-soft); margin-bottom: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ph-eng { display: flex; gap: 14px; font-family: 'Space Grotesk', sans-serif; font-size: 9px; color: var(--ink-faint); }
.ph-eng b { color: var(--gold); }

.pb-framework-col { display: flex; flex-direction: column; gap: 20px; }
.pb-framework-eyebrow { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.pb-framework-title { font-family: 'Archivo', sans-serif; font-stretch: 110%; font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.pb-framework-desc { font-family: 'Space Grotesk', sans-serif; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.pb-cadence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.pb-cadence-box { border: 1px solid var(--line); padding: 14px; border-radius: 6px; background: var(--bg-alt); }
.pb-cadence-box b { display: block; font-family: 'Archivo', sans-serif; font-size: 16px; }
.pb-cadence-box span { font-size: 12px; color: var(--ink-faint); }

/* --- 4 PILLAR CARDS --- */
.pl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1400px; }
.pl-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0; overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.pl-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.pl-top { background: linear-gradient(135deg, var(--gold-soft), transparent); padding: 24px 22px 18px; position: relative; }
.pl-num { position: absolute; top: 16px; right: 18px; font-family: 'Fraunces', serif; font-style: italic; font-weight: 700; font-size: 22px; color: var(--gold-soft); }
.pl-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--bg); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.pl-name { font-family: 'Fraunces', serif; font-weight: 700; font-size: 16.5px; line-height: 1.25; }
.pl-body { padding: 16px 22px 24px; }
.pl-desc { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 16px; }
.pl-hook { font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 600; color: var(--gold); padding-top: 12px; border-top: 1px dashed var(--line); font-style: italic; }

/* --- RESEARCH SIGNAL & PRESS TERMINAL --- */
.why { background: var(--bg-alt); }
.why-head { margin-bottom: 56px; max-width: 640px; }
.why-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: start; }
.wy-rows { border-bottom: 1px solid var(--line); }
.wy-row { position: relative; border-top: 1px solid var(--line); padding: 24px 16px; }
.wy-in { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.wy-n { font-family: 'Fraunces', serif; font-style: italic; font-weight: 700; font-size: 20px; color: var(--gold); }
.wy-t { font-family: 'Fraunces', serif; font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.wy-d { font-size: 13.5px; line-height: 1.65; color: var(--ink-soft); }

.press-panel { background: var(--ink); color: var(--panel-ink); padding: 28px 26px; border-radius: 4px; }
.press-bar { display: flex; align-items: center; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid rgba(244, 244, 244, 0.15); margin-bottom: 20px; font-family: 'Space Grotesk', sans-serif; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.press-live { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: blink 1.4s ease-in-out infinite; }
.press-feed { display: flex; flex-direction: column; gap: 14px; font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; min-height: 170px; }
.press-feed .pfx { color: var(--gold); margin-right: 6px; }
.caret { display: inline-block; width: 6px; height: 13px; background: var(--panel-ink); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.press-note { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(244, 244, 244, 0.12); font-size: 11.5px; color: rgba(244, 244, 244, 0.45); line-height: 1.6; }

/* --- TIMELINE GOLD OVERRIDES --- */
body.page-branding .tl-fill { background: var(--gold); }
body.page-branding .tl-dot { font-family: 'Fraunces', serif; font-style: italic; font-size: 14px; }
body.page-branding .tl-step.on .tl-dot { border-color: var(--gold); background: var(--gold); color: #ffffff; }
body.page-branding .tl-t { font-family: 'Fraunces', serif; text-transform: none; }

/* --- TARGET PROFILES --- */
.slots { background: var(--bg-alt); }
.slots-head { max-width: 680px; margin-bottom: 56px; }
.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1400px; }
.slot-card { background: var(--surface); border: 1px dashed var(--gold-soft); padding: 0; overflow: hidden; position: relative; transition: transform 0.4s var(--ease); }
.slot-card:hover { transform: translateY(-6px) rotate(-1deg); }
.slot-top { padding: 26px 24px 60px; text-align: center; position: relative; }
.slot-top::after { content: 'COVER RESERVED'; position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%) rotate(-8deg); font-family: 'Space Grotesk', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.18em; color: var(--gold); border: 1.5px solid var(--gold); padding: 6px 14px; opacity: 0.75; }
.slot-num { font-family: 'Space Grotesk', sans-serif; font-size: 9.5px; letter-spacing: 0.16em; color: var(--ink-faint); margin-bottom: 10px; text-transform: uppercase; }
.slot-t { font-family: 'Fraunces', serif; font-weight: 700; font-size: 18px; }
.slot-d { font-size: 12px; color: var(--ink-soft); line-height: 1.6; padding: 0 24px 24px; text-align: center; }

/* --- FAQ & CTA --- */
.pb-faq-container { max-width: 900px; }
.pb-faq-head { max-width: 640px; }
body.page-branding .faq-q { font-family: 'Fraunces', serif; }
body.page-branding .faq-q.open .faq-ico,
body.page-branding .faq-item.active .faq-ico { background: var(--gold); border-color: var(--gold); color: #ffffff; }
body.page-branding .cta-ey { color: var(--gold); }
body.page-branding .cta-ey::before { background: var(--gold); }
body.page-branding .cta-h { font-family: 'Fraunces', serif; text-transform: none; }
body.page-branding .cta-h em { font-style: italic; color: var(--gold); -webkit-text-stroke: 0; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .pl-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid,
  .why-grid { grid-template-columns: 1fr; gap: 50px; }
  .slots-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .phone-grid-wrap { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .pl-grid { grid-template-columns: 1fr; }
  .pb-hero-cta { flex-direction: column; align-items: center; }
  .pb-cadence-grid { grid-template-columns: 1fr; }
}