/* =========================================================
   BLACKTOP — audience personas & tag system
   ========================================================= */

.persona-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(241, 233, 216, 0.94);
  backdrop-filter: blur(14px);
}

.persona-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.persona-nav {
  display: flex;
  align-items: center;
  gap: 23px;
}

.persona-nav a {
  font-size: 11px;
  line-height: 1.5;
}

.persona-nav a:hover { color: var(--orange-deep); }

.persona-nav .back {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
}

.persona-nav .nav-tag {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.persona-hero {
  position: relative;
  overflow: hidden;
  padding: 91px 0 65px;
  border-bottom: 1px solid var(--line);
}

.persona-hero::after {
  content: "PERSONA";
  position: absolute;
  right: -22px;
  bottom: -55px;
  color: transparent;
  font-family: var(--display);
  font-size: 260px;
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(20, 21, 18, 0.09);
  pointer-events: none;
}

.persona-hero .eyebrow { position: relative; z-index: 2; }

.persona-hero h1 {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 22px 0 23px;
  font-size: clamp(50px, 6.8vw, 98px);
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 1.02;
}

.persona-hero h1 em {
  color: var(--orange);
  font-family: var(--display);
  font-size: 1.13em;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
}

.mobile-break { display: none; }

.persona-hero .lede {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.persona-hero .lede strong { color: var(--ink); font-weight: 700; }

.persona-hero .hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 690px;
  margin-top: 41px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.persona-hero .hero-stat {
  margin-right: 34px;
  padding-right: 34px;
  border-right: 1px solid var(--line);
}

.persona-hero .hero-stat:last-child { margin-right: 0; padding-right: 0; border-right: 0; }

.persona-hero .hero-stat strong {
  display: block;
  font-family: var(--display);
  font-size: 33px;
  font-weight: 600;
  line-height: 0.9;
}

.persona-hero .hero-stat span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* ---------- tag system ---------- */

.tag-section {
  padding: 85px 0 79px;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}

.tag-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 35px;
}

.tag-section-head h2 {
  margin: 16px 0 0;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.tag-section-head .lede {
  max-width: 390px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.tag-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tag-type {
  position: relative;
  min-height: 225px;
  padding: 22px 21px 19px;
  border: 1px solid var(--line);
  background: rgba(247, 241, 228, 0.35);
}

.tag-type .tt-num {
  color: var(--orange-deep);
  font-family: var(--display);
  font-size: 26px;
  line-height: 0.8;
}

.tag-type h3 {
  margin: 15px 0 6px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.tag-type p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.tag-type .tt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 16px;
}

.tag-type .tt-chip {
  padding: 4px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  line-height: 1.4;
}

.tag-usage {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  margin-top: 12px;
  padding: 19px 21px;
  border: 1px solid var(--line);
  border-top: 0;
  background: rgba(241, 233, 216, 0.55);
}

.tag-usage h4 {
  margin: 0 0 7px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tag-usage p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.tag-usage-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-usage-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(20, 21, 18, 0.14);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

.tag-usage-list b { color: var(--ink); font-weight: 700; }
.tag-usage-list li:last-child { border-bottom: 0; padding-bottom: 0; }

/* ---------- personas ---------- */

.personas-section {
  padding: 92px 0 88px;
  border-bottom: 1px solid var(--line);
}

.personas-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.personas-heading h2 {
  margin: 16px 0 0;
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1.02;
}

.personas-heading .lede {
  max-width: 355px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
}

.persona-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  align-items: start;
}

.persona-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--ink);
  background: var(--paper-soft);
}

.persona-head {
  position: relative;
  overflow: hidden;
  padding: 21px 23px 22px;
  color: var(--paper);
}

.persona-card.b .persona-head { background: var(--green); }
.persona-card.c .persona-head { background: var(--orange); color: var(--ink); }

.persona-head::after {
  content: attr(data-letter);
  position: absolute;
  right: -9px;
  bottom: -67px;
  color: transparent;
  font-family: var(--display);
  font-size: 245px;
  line-height: 0.8;
  -webkit-text-stroke: 1px currentColor;
  opacity: 0.15;
  pointer-events: none;
}

.ph-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.132em;
  line-height: 1.6;
  text-transform: uppercase;
  opacity: 0.7;
}

.ph-profile {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 17px;
}

.avatar {
  width: 98px;
  height: 113px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(241, 233, 216, 0.32);
  background: #d9cbb0;
}

.persona-card.c .avatar { border-color: rgba(20, 21, 18, 0.28); }
.avatar svg { width: 100%; height: 100%; display: block; }

.ph-name { min-width: 0; }

.ph-name h2 {
  margin: 0;
  font-size: 33px;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.06;
}

.ph-name .role {
  margin: 5px 0 0;
  font-size: 9px;
  line-height: 1.55;
  opacity: 0.82;
}

.ph-name .facts {
  margin: 7px 0 0;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  opacity: 0.66;
}

.ph-quote {
  position: relative;
  z-index: 2;
  margin: 16px 0 0;
  padding-top: 13px;
  border-top: 1px solid rgba(241, 233, 216, 0.22);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.7;
}

.persona-card.c .ph-quote { border-top-color: rgba(20, 21, 18, 0.25); }

.persona-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 23px 23px;
}

.dim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 17px;
}

.dim h3 {
  margin: 0 0 6px;
  color: var(--orange-deep);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.dim p,
.dim li {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.78;
}

.dim ul { margin: 0; padding-left: 13px; }
.dim li::marker { color: var(--orange); }
.dim.wide { grid-column: 1 / -1; }

.path-block {
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.path-block h3,
.tag-block h3,
.matrix h3 {
  margin: 0;
  color: var(--orange-deep);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.path-steps li {
  min-height: 65px;
  padding: 8px 7px;
  border: 1px solid var(--line);
  background: rgba(241, 233, 216, 0.5);
  color: var(--muted);
  font-size: 8px;
  line-height: 1.55;
}

.path-steps b {
  display: block;
  margin-bottom: 5px;
  color: var(--orange-deep);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  line-height: 0.8;
}

.tag-block {
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.tag-row {
  display: grid;
  grid-template-columns: 59px 1fr;
  gap: 8px;
  align-items: start;
  margin-top: 8px;
}

.tag-cat {
  padding: 4px 4px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-align: center;
}

.tag-cat.base { background: var(--ink); color: var(--paper); }
.tag-cat.behavior { background: var(--orange); color: var(--ink); }
.tag-cat.need { border: 1px solid var(--green); color: var(--green); }

.chips { display: flex; flex-wrap: wrap; gap: 4px; }

.chip {
  padding: 4px 6px;
  border: 1px solid var(--line);
  background: rgba(247, 241, 228, 0.46);
  color: #5d584d;
  font-size: 8px;
  line-height: 1.4;
}

.tag-count {
  margin-top: 11px;
  color: #988f7d;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}

.matrix {
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.matrix-row {
  display: grid;
  grid-template-columns: 60px 1fr 17px;
  gap: 7px;
  align-items: center;
  margin-top: 6px;
  color: var(--muted);
  font-size: 7.5px;
  line-height: 1.4;
}

.matrix-row i {
  position: relative;
  display: block;
  height: 3px;
  overflow: hidden;
  background: rgba(20, 21, 18, 0.1);
}

.matrix-row i::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--v);
  background: var(--orange);
}

.matrix-row b {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 400;
  text-align: right;
}

.insight {
  margin-top: 15px;
  padding: 11px 12px;
  border-left: 3px solid var(--orange);
  background: var(--ink);
  color: #d4cbb8;
  font-size: 8.5px;
  line-height: 1.7;
}

.insight b { color: var(--paper); font-weight: 700; }

/* ---------- comparison ---------- */

.compare-section {
  padding: 85px 0 88px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.compare-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 29px;
}

.compare-head h2 {
  margin: 15px 0 0;
  font-size: clamp(33px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1.03;
}

.compare-head p {
  max-width: 330px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.compare-wrap { overflow-x: auto; }

.compare-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  border: 1px solid var(--ink);
  background: var(--paper-soft);
}

.compare-table th,
.compare-table td {
  padding: 13px 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 9.5px;
  line-height: 1.75;
}

.compare-table th:last-child,
.compare-table td:last-child { border-right: 0; }
.compare-table tr:last-child td { border-bottom: 0; }

.compare-table thead th {
  background: var(--ink);
  color: var(--paper);
}

.compare-table thead th:first-child { color: #b8af9d; font-family: var(--mono); font-size: 7px; letter-spacing: 0.08em; font-weight: 400; text-transform: uppercase; }
.compare-table thead th:nth-child(2) { color: var(--paper); font-size: 12px; }
.compare-table thead th:nth-child(3) { color: var(--orange); font-size: 12px; }

.compare-table td:first-child {
  width: 145px;
  color: var(--ink);
  font-weight: 700;
  background: rgba(241, 233, 216, 0.5);
}

.compare-table .muted { color: var(--muted); }

/* ---------- footer / cta ---------- */

.persona-cta {
  padding: 62px 0;
  background: var(--orange);
  color: var(--ink);
}

.persona-cta .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.persona-cta h2 {
  margin: 12px 0 0;
  font-size: clamp(32px, 4.2vw, 55px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.persona-cta .eyebrow { color: rgba(20, 21, 18, 0.64); }
.persona-cta .eyebrow::before { background: var(--ink); }
.persona-cta-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.persona-cta .btn { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.persona-cta .btn:hover { background: transparent; color: var(--ink); }
.persona-cta .btn.secondary { background: transparent; color: var(--ink); }
.persona-cta .btn.secondary:hover { background: var(--ink); color: var(--paper); }

.persona-footer {
  padding: 45px 0 24px;
  background: var(--ink);
  color: var(--paper);
}

.persona-footer .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.persona-footer .wordmark {
  color: transparent;
  font-family: var(--display);
  font-size: 86px;
  line-height: 0.7;
  letter-spacing: -0.02em;
  -webkit-text-stroke: 1px rgba(241, 233, 216, 0.18);
}

.persona-footer p {
  margin: 0;
  color: #8e8778;
  font-size: 8px;
  line-height: 1.8;
  text-align: right;
}

.persona-footer a { color: var(--orange); }

@media (max-width: 1100px) {
  .persona-grid { grid-template-columns: 1fr; }
  .persona-card { max-width: 760px; }
  .persona-card.c { justify-self: end; }
}

@media (max-width: 900px) {
  .persona-header .container { height: 67px; }
  .persona-nav .nav-tag { display: none; }
  .persona-hero { padding: 68px 0 52px; }
  .persona-hero::after { font-size: 160px; bottom: -28px; }
  .persona-hero h1 { font-size: clamp(46px, 9vw, 74px); }
  .tag-section, .personas-section, .compare-section { padding: 62px 0; }
  .tag-section-head, .personas-heading, .compare-head { display: block; }
  .tag-section-head .lede, .personas-heading .lede, .compare-head p { margin-top: 15px; }
  .tag-types { grid-template-columns: 1fr; }
  .tag-type { min-height: 0; }
  .tag-usage { grid-template-columns: 1fr; gap: 18px; }
  .persona-card { max-width: none; }
  .persona-card.c { justify-self: stretch; }
}

@media (max-width: 700px) {
  .persona-header .container { height: 64px; }
  .persona-nav { gap: 14px; }
  .persona-nav a:not(.back) { display: none; }
  .persona-hero h1 { font-size: 42px; }
  .mobile-break { display: block; }
  .persona-hero .lede { font-size: 12px; }
  .persona-hero .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 18px;
    margin-top: 28px;
    padding-top: 15px;
  }
  .persona-hero .hero-stat {
    margin: 0;
    padding: 0;
    border-right: 0;
  }
  .persona-hero .hero-stat:nth-child(odd) {
    padding-right: 12px;
    border-right: 1px solid var(--line);
  }
  .persona-hero .hero-stat:nth-child(n+3) {
    padding-top: 13px;
    border-top: 1px solid var(--line);
  }
  .persona-hero .hero-stat strong { font-size: 27px; }
  .persona-hero .hero-stat span { font-size: 6px; }
  .tag-section-head h2, .personas-heading h2, .compare-head h2 { font-size: 34px; }
  .persona-head { padding: 18px 18px 18px; }
  .ph-profile { gap: 13px; margin-top: 13px; }
  .avatar { width: 82px; height: 95px; }
  .ph-name h2 { font-size: 28px; }
  .ph-name .role { font-size: 8px; }
  .ph-name .facts { font-size: 6px; }
  .ph-quote { font-size: 10px; }
  .persona-body { padding: 18px; }
  .dim-grid { grid-template-columns: 1fr; gap: 13px; }
  .dim.wide { grid-column: auto; }
  .path-steps { grid-template-columns: 1fr 1fr; }
  .path-steps li:last-child { grid-column: 1 / -1; }
  .tag-row { grid-template-columns: 54px 1fr; }
  .chip { font-size: 7px; }
  .compare-table { min-width: 590px; }
  .persona-cta { padding: 43px 0; }
  .persona-cta .container { display: block; }
  .persona-cta-actions { margin-top: 22px; }
  .persona-footer .container { display: block; }
  .persona-footer .wordmark { font-size: 52px; margin-bottom: 17px; }
  .persona-footer p { text-align: left; }
}
