/* ==========================================================================
   present.css — "Present" product page (Product ▸ Present).
   Layers on tokens + coverage-model + landing + story + home + product.
   Page-specific classes prefixed .pr-. Centerpiece: a sticky resume viewer
   that scrolls through the real Home Resume PDF as soundbites advance.
   ========================================================================== */

/* ── Hero: print-preview stack ────────────────────────────────────────── */
.pr-hero .hero-grid { align-items: center; }
.pr-supporting {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  font-family: var(--serif); font-style: italic; font-size: 22px; font-weight: 600; color: var(--brown);
}
.pr-supporting i { font-size: 20px; color: var(--gold); }

.pr-preview { position: relative; perspective: 1600px; }
.pr-stack { position: relative; }
/* paper sheets stacked behind the cover to imply "multi-page" */
.pr-stack::before, .pr-stack::after {
  content: ""; position: absolute; inset: 0; border-radius: 8px; background: #fff;
  border: 1px solid var(--line); z-index: 0;
}
.pr-stack::before { transform: translate(16px, 14px) rotate(1.4deg); box-shadow: 0 30px 60px -40px rgba(36,30,22,0.4); }
.pr-stack::after  { transform: translate(8px, 7px) rotate(0.6deg); }
.pr-cover-mini {
  position: relative; z-index: 1; background: #fff; border: 1px solid var(--line-strong);
  border-radius: 8px; overflow: hidden; box-shadow: 0 50px 100px -45px rgba(36,30,22,0.6);
}
.pr-cm-top { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 0; }
.pr-cm-brand { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--brown); }
.pr-cm-brand img { height: 18px; }
.pr-cm-kind { font-family: var(--mono); font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pr-cm-photo { margin: 16px 22px 0; height: 188px; border-radius: 5px; background-size: cover; background-position: center; position: relative; border: 1px solid var(--line); }
.pr-cm-photo .pr-cm-seal { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 7px; line-height: 1; text-align: center; color: #f3efe3; background: rgba(23,95,100,0.92); box-shadow: inset 0 0 0 1px var(--gold-soft); }
.pr-cm-body { padding: 16px 22px 4px; }
.pr-cm-eyebrow { font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.pr-cm-name { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--brown); line-height: 1.02; margin: 7px 0 0; }
.pr-cm-sub { font-size: 11px; color: var(--brown-4); margin: 7px 0 0; }
.pr-cm-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin: 16px 0 0; }
.pr-cm-stat { padding: 12px 14px; border-right: 1px solid var(--line); }
.pr-cm-stat:last-child { border-right: 0; }
.pr-cm-stat b { display: block; font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--brown); line-height: 1; }
.pr-cm-stat span { font-size: 8.5px; color: var(--brown-4); }
.pr-preview-tag {
  position: absolute; z-index: 3; left: -14px; bottom: 26px;
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #2a1d09;
  background: var(--gold-soft); padding: 9px 15px; border-radius: 100px; box-shadow: 0 14px 30px -12px rgba(157,118,55,0.7);
}
.pr-preview-tag i { font-size: 15px; }
@media (max-width: 1000px) { .pr-preview { max-width: 420px; margin: 0 auto; } }

/* ── Scrollytelling: sticky resume viewer + soundbite steps ───────────── */
.pr-scrolly { position: relative; }
.pr-scrolly-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.pr-stage { position: sticky; top: 88px; height: calc(100vh - 130px); max-height: 760px; display: flex; flex-direction: column; }
.pr-viewer {
  flex: 1; display: flex; flex-direction: column; min-height: 0;
  background: var(--brown-2); border-radius: 14px; overflow: hidden;
  box-shadow: 0 50px 110px -50px rgba(0,0,0,0.6);
}
.pr-viewer-bar {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; flex: 0 0 auto;
  border-bottom: 1px solid rgba(246,241,230,0.12);
}
.pr-viewer-bar .pv-dots { display: inline-flex; gap: 6px; }
.pr-viewer-bar .pv-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(246,241,230,0.22); }
.pr-viewer-bar .pv-file { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: rgba(246,241,230,0.72); }
.pr-viewer-bar .pv-file i { color: var(--gold-soft); font-size: 14px; }
.pr-viewer-bar .pv-page { margin-left: auto; font-family: var(--mono); font-size: 11px; color: rgba(246,241,230,0.6); }
.pr-frame-wrap { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #d9d6cd; }
.pr-frame-wrap iframe { position: absolute; top: 0; left: 0; border: 0; pointer-events: none; background: #fff; }
/* soft edges top/bottom so page transitions feel like a viewer */
.pr-frame-wrap::before, .pr-frame-wrap::after {
  content: ""; position: absolute; left: 0; right: 0; height: 30px; z-index: 3; pointer-events: none;
}
.pr-frame-wrap::before { top: 0; background: linear-gradient(180deg, rgba(40,36,30,0.35), transparent); }
.pr-frame-wrap::after { bottom: 0; background: linear-gradient(0deg, rgba(40,36,30,0.35), transparent); }
.pr-viewer-foot {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; flex: 0 0 auto;
  border-top: 1px solid rgba(246,241,230,0.12);
}
.pr-progress { flex: 1; display: flex; gap: 6px; }
.pr-progress .pp { flex: 1; height: 3px; border-radius: 2px; background: rgba(246,241,230,0.18); transition: background .3s ease; }
.pr-progress .pp.is-on { background: var(--gold-soft); }
.pr-viewer-foot .pv-open {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: #2a1d09;
  background: var(--gold-soft); padding: 7px 13px; border-radius: 7px; white-space: nowrap;
}
.pr-viewer-foot .pv-open:hover { background: #e2bd6e; }

/* right column steps */
.pr-steps { display: flex; flex-direction: column; }
.pr-step {
  min-height: 78vh; display: flex; flex-direction: column; justify-content: center;
  padding: 20px 0;
}
.pr-step:first-child { min-height: 64vh; padding-top: 0; }
.pr-step:last-child { min-height: 64vh; }
.pr-step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--accent);
  border: 1.5px solid var(--line-strong); margin-bottom: 18px; transition: all .3s ease;
}
.pr-step.is-active .pr-step-num { background: var(--accent); color: #f3efe3; border-color: var(--accent); }
.pr-quote {
  font-family: var(--serif); font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; line-height: 1.08;
  color: var(--brown-3); letter-spacing: -.01em; text-wrap: balance; transition: color .3s ease;
}
.pr-step.is-active .pr-quote { color: var(--brown); }
.pr-step.is-active .pr-quote em { color: var(--accent); font-style: italic; }
.pr-note { font-size: 16px; line-height: 1.6; color: var(--brown-4); margin: 18px 0 0; max-width: 42ch; text-wrap: pretty; }
.pr-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pr-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: var(--brown-3); background: var(--bg); border: 1px solid var(--line); border-radius: 100px; padding: 6px 12px; }
.pr-tag i { font-size: 14px; color: var(--accent); }

@media (max-width: 1000px) {
  .pr-scrolly-inner { grid-template-columns: 1fr; gap: 0; }
  .pr-stage { position: relative; top: 0; height: 70vh; max-height: 560px; margin-bottom: 30px; }
  .pr-step { min-height: 0; padding: 26px 0; }
  .pr-step:first-child, .pr-step:last-child { min-height: 0; }
}

/* ── Who it's for (4 cards) ───────────────────────────────────────────── */
.pr-aud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 46px; }
.pr-aud-card { background: var(--bg); border: 1px solid var(--line); border-radius: 13px; padding: 24px 22px; }
.pr-aud-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); font-size: 21px; margin-bottom: 14px; }
.pr-aud-card b { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--brown); display: block; margin-bottom: 5px; }
.pr-aud-card span { font-size: 15.5px; line-height: 1.5; color: var(--brown-4); text-wrap: pretty; }
@media (max-width: 1000px) { .pr-aud { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pr-aud { grid-template-columns: 1fr; } }

/* ── How it works (3 steps) ───────────────────────────────────────────── */
.pr-steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.pr-s3 { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px; position: relative; }
.pr-s3-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 18px; color: #f5f2e7; background: radial-gradient(circle at 50% 36%, #237b80, #175f64 72%); margin-bottom: 16px; }
.pr-s3 h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 0 0 7px; color: var(--brown); }
.pr-s3 p { font-size: 16px; line-height: 1.55; color: var(--brown-3); margin: 0; text-wrap: pretty; }
.pr-s3 .pr-s3-tag { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 500; color: var(--success); }
.pr-s3 .pr-s3-tag i { font-size: 15px; }
@media (max-width: 1000px) { .pr-steps3 { grid-template-columns: 1fr; } }

/* ── reduced motion ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .pr-frame-wrap iframe { scroll-behavior: auto; }
}
