/* ============================================================
   portfolio.css — UX Portfolio Sprint page
   Editorial, designer-facing layer on top of styles.css.
   Sharper type, more negative space, a portfolio-review feel.
   ============================================================ */

/* ---- editorial eyebrow: numbered section index ---- */
.pf-index {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin: 0 0 1.6rem;
}
.pf-index b {
  font-weight: 700;
  color: var(--terra-ink);
  font-variant-numeric: tabular-nums;
}
.pf-index::before {
  content: "";
  width: 30px; height: 1.5px;
  background: var(--line-strong);
}

/* thin top rule used to open editorial sections */
.pf-hr { height: 1px; background: var(--line-strong); border: 0; margin: 0 0 clamp(36px, 5vw, 60px); }

/* ---- nav: subtle cross-link to the other offer ---- */
.pf-switch {
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  white-space: nowrap;
}
.pf-switch:hover { color: var(--terra-ink); }
.pf-switch svg { transition: transform .2s ease; }
.pf-switch:hover svg { transform: translateX(3px); }

/* a quiet inline cross-link block under the hero CTAs */
.pf-crosslink {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink-2);
  margin: 2.4rem 0 0;
}
.pf-crosslink a {
  color: var(--terra-ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--terra-tint);
  padding-bottom: 1px;
  transition: border-color .18s ease;
}
.pf-crosslink a:hover { border-bottom-color: var(--terra); }

/* ============================================================
   HERO — large editorial headline
   ============================================================ */
.pf-hero { padding-top: clamp(54px, 7vw, 96px); padding-bottom: clamp(48px, 6vw, 90px); }
.pf-hero .kicker { margin-bottom: 1.8rem; }
.pf-hero-display {
  font-family: var(--display);
  font-size: clamp(2.7rem, 6.6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.pf-hero-lede {
  font-size: clamp(1.18rem, 1.9vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 1.9rem 0 0;
}
.pf-hero .cta-row { margin-top: 2.6rem; }

/* a slim launch-price ribbon shown in the hero */
.pf-pricetag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  font-family: var(--sans);
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.pf-pricetag .pt-amt { font-family: var(--display); font-size: 2rem; color: var(--ink); line-height: 1; }
.pf-pricetag .pt-was { color: var(--ink-3); }
.pf-pricetag .pt-was s { color: var(--ink-3); }
.pf-pricetag .pt-note { font-size: 0.9rem; color: var(--ink-2); letter-spacing: 0.02em; }

/* ============================================================
   POSITIONING STATEMENT — full-width editorial line
   ============================================================ */
.pf-statement { text-align: left; }
.pf-statement .pf-big {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  max-width: 24ch;
  margin: 0;
}
.pf-statement .pf-big em { font-family: var(--serif); font-style: italic; }
.pf-statement .pf-big .uline { color: var(--terra-ink); }

/* the "not a generic template" callout band */
.pf-note-card {
  margin-top: clamp(34px, 4vw, 52px);
  border-left: 3px solid var(--terra);
  padding: 0.4rem 0 0.4rem 1.6rem;
  max-width: 60ch;
}
.pf-note-card p { font-size: 1.12rem; line-height: 1.55; color: var(--ink); margin: 0; }
.pf-note-card strong { color: var(--terra-ink); font-weight: 600; }

/* ============================================================
   OFFER — copy column + sticky price card
   (reuses .price-card, .check-list, .x-list, .fit-head from home.css/styles.css)
   ============================================================ */
.pf-offer-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}
.pf-offer-copy .x-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.pf-offer-copy .x-list li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 1rem; line-height: 1.35; color: var(--ink-2); }
.pf-trust-line {
  margin: 2.4rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line);
  font-size: 0.95rem; line-height: 1.55; color: var(--ink-2); max-width: 50ch;
}

/* ============================================================
   BEFORE / AFTER — editorial comparison
   ============================================================ */
.pf-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(40px, 5vw, 60px);
}
.pf-comp-col {
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 42px);
  position: relative;
}
.pf-comp-before { background: transparent; border: 1.5px dashed var(--line-strong); }
.pf-comp-after  { background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.pf-comp-tag {
  font-family: var(--sans); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-block; padding: 0.32em 0.8em; border-radius: 999px; margin-bottom: 1.5rem;
}
.pf-comp-before .pf-comp-tag { color: var(--ink-2); background: var(--paper-2); }
.pf-comp-after .pf-comp-tag { color: #fff; background: var(--terra); }
.pf-comp-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.pf-comp-col li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 1.05rem; line-height: 1.4; }
.pf-comp-before li { color: var(--ink-2); }
.pf-comp-before li .pf-dot { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 0.18em; color: var(--ink-3); }
.pf-comp-before li .pf-dot path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

/* ============================================================
   START / INTAKE
   ============================================================ */
.pf-start-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.pf-how { list-style: none; margin: 2rem 0 2rem; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.pf-how li { display: flex; gap: 1rem; align-items: center; font-family: var(--sans); font-size: 1.02rem; color: var(--on-dark); }
.pf-how span {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--terra); color: #E9A07C; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
}
.pf-form { padding: clamp(28px, 3.4vw, 42px); color: var(--ink); }
.pf-form .h3 { color: var(--ink); }
.pf-form-rows { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); }
.pf-form-foot { display: flex; align-items: center; gap: 1.2rem; margin-top: var(--gut); flex-wrap: wrap; }
.pf-form-success { font-family: var(--serif); font-style: italic; color: var(--terra-ink); margin: 1.2rem 0 0; font-size: 1.05rem; }

.pf-backlink {
  text-align: center;
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--on-dark-2);
  margin-top: clamp(40px, 5vw, 60px);
}
.pf-backlink a { color: #E9A07C; text-decoration: none; border-bottom: 1px solid rgba(233,160,124,0.4); }
.pf-backlink a:hover { border-bottom-color: #E9A07C; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .pf-offer-grid, .pf-start-grid { grid-template-columns: 1fr; }
  .price-card { position: static; }
}
@media (max-width: 680px) {
  .pf-compare, .pf-form-rows { grid-template-columns: 1fr; }
  .pf-switch { display: none; }
}
