.page-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  z-index: 2000;
  pointer-events: none;
  background: linear-gradient(90deg, var(--gold, #d4af37), var(--sage, #9aa77d));
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform .28s ease, opacity .18s ease;
}

/* Give lower-resolution laptop viewports the breathing room of a 70% browser zoom. */
@media screen and (min-width: 1041px) and (max-width: 1536px) {
  html {
    zoom: 0.7;
  }
}

.page-progress.is-visible {
  opacity: 1;
}

.section-progress {
  position: fixed;
  left: clamp(12px, 1.4vw, 22px);
  top: 50%;
  z-index: 60;
  height: min(54vh, 420px);
  width: 54px;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.section-progress.is-visible {
  opacity: 1;
  visibility: visible;
}

.section-progress-track,
.section-progress-fill {
  position: absolute;
  left: 13px;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(139, 90, 43, .18);
}

.section-progress-fill {
  height: var(--section-progress, 0%);
  background: linear-gradient(180deg, var(--gold, #d4af37), var(--sage, #9aa77d));
  box-shadow: 0 0 18px rgba(212, 175, 55, .18);
  transition: height .12s linear;
}

.section-progress-list {
  position: relative;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.section-progress-link {
  position: absolute;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  color: var(--brown, #8b5a2b);
  text-decoration: none;
  pointer-events: auto;
  transform: translateY(-50%);
}

.section-progress-dot {
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-radius: 999px;
  background: var(--paper, #f5efe4);
  border: 1px solid rgba(139, 90, 43, .55);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.section-progress-code {
  font-family: var(--mono, monospace);
  font-size: 10px;
  color: var(--brown, #8b5a2b);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap;
}

.section-progress-link:hover .section-progress-code,
.section-progress-link.active .section-progress-code {
  opacity: 1;
  transform: translateX(0);
}

.section-progress-link:hover .section-progress-dot,
.section-progress-link.active .section-progress-dot {
  transform: scale(1.55);
  background: var(--gold, #d4af37);
  border-color: var(--gold, #d4af37);
}

html.motion-ready .hero-title .hero-line,
html.motion-ready .hero-lead,
html.motion-ready .hero-cta-col,
html.motion-ready .founders-strip {
  opacity: 0;
  will-change: transform, opacity;
}

.hero-title .hero-line {
  display: block;
}

html.motion-ready.motion-run .hero-title .hero-line-primary {
  animation: hero-slam .3s cubic-bezier(.18, .96, .22, 1.08) forwards;
}

html.motion-ready.motion-run .hero-title .hero-line-secondary {
  animation: hero-slam .32s cubic-bezier(.18, .96, .22, 1.08) .08s forwards;
}

html.motion-ready.motion-run .hero-lead {
  animation: hero-follow .36s cubic-bezier(.2, .88, .22, 1) .15s forwards;
}

html.motion-ready.motion-run .hero-cta-col {
  animation: hero-follow .36s cubic-bezier(.2, .88, .22, 1) .23s forwards;
}

html.motion-ready.motion-run .founders-strip {
  animation: hero-follow .38s cubic-bezier(.2, .88, .22, 1) .31s forwards;
}

@keyframes hero-slam {
  0% { opacity: 0; transform: translateY(34px) scale(.96); filter: blur(3px); }
  72% { opacity: 1; transform: translateY(-2px) scale(1.006); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes hero-follow {
  0% { opacity: 0; transform: translateY(18px); filter: blur(2px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

html.motion-ready .about-portrait {
  opacity: 0;
  transform: translateX(42px);
  transition: opacity .58s cubic-bezier(.2, .82, .22, 1), transform .58s cubic-bezier(.2, .82, .22, 1);
}

html.motion-ready .scroll-reveal.revealed .about-portrait {
  opacity: 1;
  transform: translateX(0);
}

.services {
  border: 0;
}

.svc {
  border: 0;
  outline: 1px solid var(--rule-2, #c9b998);
  outline-offset: -1px;
}

@media (hover: hover) and (pointer: fine) {
  .svc,
  .tier,
  .plan-card {
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .25s ease;
  }

  .svc {
    will-change: transform;
    transition: transform .24s ease, box-shadow .24s ease, background .22s ease, outline-color .22s ease;
  }

  .svc:hover {
    z-index: 2;
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(28, 25, 21, .11);
    border-color: transparent;
    outline-color: rgba(139, 90, 43, .48);
  }

  .svc-arrow {
    display: inline-block;
    transition: transform .22s ease;
  }

  .svc:hover .svc-arrow {
    transform: translateX(5px);
  }

  .tier:hover,
  .plan-card:hover {
    z-index: 2;
    transform: translateY(-5px);
    border-color: rgba(139, 90, 43, .36);
    box-shadow: 0 20px 44px rgba(28, 25, 21, .13);
  }

  .tier.featured:hover,
  .plan-card.featured:hover {
    box-shadow: 0 0 0 1px rgba(212, 175, 55, .42), 0 22px 48px rgba(28, 25, 21, .28), 0 0 36px rgba(212, 175, 55, .14);
  }
}

.overlay.open .modal {
  animation: modal-spring .42s cubic-bezier(.18, .88, .22, 1.12) both;
  transform-origin: center 42%;
}

.overlay.open .quiz-modal {
  animation-duration: .46s;
}

.overlay.open .quiz-step.active {
  animation: quiz-step-spring .28s cubic-bezier(.18, .88, .22, 1.08) both;
}

@keyframes modal-spring {
  0% { opacity: 0; transform: translateY(22px) scale(.96); }
  68% { opacity: 1; transform: translateY(-2px) scale(1.012); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes quiz-step-spring {
  0% { opacity: 0; transform: translateY(10px) scale(.985); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1180px) {
  .section-progress {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-progress,
  .section-progress {
    display: none;
  }

  html.motion-ready .hero-title .hero-line,
  html.motion-ready .hero-lead,
  html.motion-ready .hero-cta-col,
  html.motion-ready .founders-strip,
  html.motion-ready .about-portrait {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
    transition: none;
  }
}

.consent-banner {
  position: fixed;
  right: clamp(16px, 2vw, 24px);
  bottom: clamp(16px, 2vw, 24px);
  z-index: 1500;
  max-width: 380px;
  background: var(--paper, #f5efe4);
  color: var(--ink, #1c1915);
  border: 1px solid var(--rule-2, #c9b998);
  box-shadow: 0 14px 36px rgba(28, 25, 21, .18);
  padding: 18px 20px;
  font-family: var(--sans, system-ui, sans-serif);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.consent-banner .consent-kicker {
  display: block;
  font-family: var(--mono, monospace);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brown, #8b5a2b);
  font-weight: 600;
  margin-bottom: 8px;
}

.consent-banner .consent-text {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2, #2b2620);
}

.consent-banner .consent-text a {
  color: var(--brown, #8b5a2b);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-banner .consent-text a:hover {
  color: var(--ink, #1c1915);
}

.consent-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.consent-btn {
  appearance: none;
  border: 1px solid var(--ink, #1c1915);
  background: transparent;
  color: var(--ink, #1c1915);
  font-family: var(--mono, monospace);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 9px 14px;
  cursor: pointer;
  border-radius: 2px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  line-height: 1;
}

.consent-btn:hover,
.consent-btn:focus-visible {
  background: var(--ink, #1c1915);
  color: var(--paper, #f5efe4);
}

.consent-btn-accept {
  background: var(--ink, #1c1915);
  color: var(--paper, #f5efe4);
}

.consent-btn-accept:hover,
.consent-btn-accept:focus-visible {
  background: var(--brown, #8b5a2b);
  border-color: var(--brown, #8b5a2b);
  color: var(--paper, #f5efe4);
}

@media (max-width: 560px) {
  .consent-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner {
    transition: none;
    transform: none;
  }
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -56px;
  z-index: 3000;
  padding: 10px 18px;
  background: var(--ink, #1c1915);
  color: var(--paper, #f5efe4);
  font-family: var(--sans, system-ui, -apple-system, sans-serif);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 3px;
  transition: top .18s ease;
}

.skip-link:focus {
  top: 8px;
  outline: 2px solid var(--gold, #d4af37);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}

/* ============================================================
   SAMPLE REPORT — preview card, deliverables list + lightbox
   Two-column showcase: report image on the left, descriptive aside
   on the right with title, description, and CTA. Stacks on mobile.
   ============================================================ */
.product-peek {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  width: 100%;
  max-width: min(960px, 100%);
  margin: clamp(12px, 1.5vw, 24px) 0 clamp(64px, 7vw, 104px);
  background: #FFFDF8;
  border: 1px solid var(--rule-2, #C9B998);
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 22px 48px -32px rgba(28, 25, 21, .38),
    0 1px 0 rgba(28, 25, 21, .04);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease, border-color .4s ease;
  -webkit-tap-highlight-color: transparent;
}

.product-peek:hover,
.product-peek:focus-visible {
  transform: translateY(-3px);
  border-color: var(--brown, #8B5A2B);
  box-shadow:
    0 30px 60px -30px rgba(28, 25, 21, .46),
    0 1px 0 rgba(28, 25, 21, .05);
}

.product-peek:focus-visible {
  outline: 2px solid var(--brown, #8B5A2B);
  outline-offset: 3px;
}

/* Pin the preview to the page content column (never centered) */
.industry-shell > .product-peek,
.service-detail-block > .product-peek,
.services-shell > .product-peek {
  margin-left: 0;
  margin-right: auto;
}

/* Image well — shows the top of the report, no harsh mask */
.product-peek picture {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2, #EDE5D6);
  border-right: 1px solid var(--rule-2, #C9B998);
}

.product-peek picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.product-peek:hover picture img,
.product-peek:focus-visible picture img {
  transform: scale(1.015);
}

/* Expand affordance — small icon-only badge in image corner */
.peek-cue {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 0;
  color: var(--brown-dk, #5D3A18);
  background: rgba(255, 253, 248, .92);
  border: 1px solid var(--rule-2, #C9B998);
  border-radius: 2px;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
  pointer-events: none;
}

.peek-cue span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.peek-cue svg {
  width: 13px;
  height: 13px;
  display: block;
}

.product-peek:hover .peek-cue,
.product-peek:focus-visible .peek-cue {
  background: var(--brown, #8B5A2B);
  color: #FFFDF8;
  border-color: var(--brown, #8B5A2B);
}

/* Aside column — eyebrow, title, description, CTA */
.product-peek figcaption {
  margin: 0;
  padding: clamp(22px, 2.4vw, 34px) clamp(22px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--sans, sans-serif);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-3, #6B6355);
  background:
    linear-gradient(180deg, rgba(245, 239, 228, .55), rgba(245, 239, 228, .25));
}

.product-peek figcaption::before {
  content: "Sample report";
  font-family: var(--mono, monospace);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brown, #8B5A2B);
}

.product-peek figcaption em {
  display: block;
  margin: 0;
  font-family: var(--serif, "Fraunces", serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.22;
  letter-spacing: -.012em;
  color: var(--ink, #1C1915);
  font-variation-settings: "opsz" 48;
}

.product-peek figcaption::after {
  content: "View full report \2192";
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--mono, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brown-dk, #5D3A18);
  border-top: 1px solid var(--rule, #D9CDB5);
  transition: color .25s ease, letter-spacing .25s ease;
}

.product-peek:hover figcaption::after,
.product-peek:focus-visible figcaption::after {
  color: var(--brown, #8B5A2B);
  letter-spacing: .18em;
}

/* Tighten the gap when the peek follows an industry intro paragraph */
.industry-intro + .product-peek,
.industry-intro:has(+ .product-peek) {
  /* intro already provides ~78px bottom margin; keep peek top small */
  margin-top: clamp(8px, 1.2vw, 18px);
}

/* ---- Sample deliverables block (home) ---- */
.deliverables {
  position: relative;
  margin-top: clamp(34px, 4vw, 52px);
  border: 1px solid var(--rule-2, #C9B998);
  background: rgba(245, 239, 228, .42);
  padding: clamp(30px, 3.2vw, 40px) clamp(24px, 2.8vw, 36px) clamp(26px, 2.6vw, 34px);
}

.deliverables-label {
  position: absolute;
  top: 0;
  left: clamp(22px, 2.6vw, 32px);
  transform: translateY(-50%);
  background: var(--paper, #F5EFE4);
  padding: 0 12px;
  font-family: var(--mono, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brown, #8B5A2B);
}

.deliverables-view {
  position: absolute;
  top: 0;
  right: clamp(22px, 2.6vw, 32px);
  transform: translateY(-50%);
  background: var(--paper, #F5EFE4);
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brown-dk, #5D3A18);
  border: 0;
  cursor: pointer;
  transition: color .2s ease, gap .2s ease;
}

.deliverables-view svg {
  width: 12px;
  height: 12px;
}

.deliverables-view:hover,
.deliverables-view:focus-visible {
  color: var(--brown, #8B5A2B);
  gap: 11px;
}

.deliverables-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px clamp(40px, 5vw, 80px);
}

.deliverables-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2, #3A342C);
}

.deliverables-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brown, #8B5A2B);
}

/* ---- Compact text trigger (pricing) ---- */
.report-link-row {
  margin: clamp(28px, 4vw, 44px) 0 0;
  text-align: center;
}

.report-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans, sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--brown-dk, #5D3A18);
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 2px 1px;
  cursor: pointer;
  transition: color .2s ease, gap .2s ease;
}

.report-link:hover,
.report-link:focus-visible {
  color: var(--brown, #8B5A2B);
  gap: 11px;
}

/* ---- Lightbox — full report on demand (reuses .overlay base) ---- */
.report-lightbox .report-lightbox-inner {
  position: relative;
  width: min(560px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: var(--paper, #F5EFE4);
  border: 1px solid var(--rule-2, #C9B998);
  border-radius: 6px;
  box-shadow: 0 40px 90px -30px rgba(28, 25, 21, .7);
  overflow: hidden;
}

.report-lightbox.open .report-lightbox-inner {
  animation: report-pop .5s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes report-pop {
  0% { opacity: 0; transform: translateY(16px) scale(.985); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.report-lightbox-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 20px;
  border-bottom: 1px solid var(--rule, #D9CDB5);
  background: #FFFDF8;
}

.report-lightbox-eyebrow {
  font-family: var(--mono, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brown, #8B5A2B);
}

.report-lightbox-close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  color: var(--ink-3, #6B6355);
  background: none;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.report-lightbox-close:hover,
.report-lightbox-close:focus-visible {
  background: var(--paper-2, #EDE5D6);
  color: var(--ink, #1C1915);
  border-color: var(--rule-2, #C9B998);
}

.report-lightbox-scroll {
  flex: 1 1 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--paper-2, #EDE5D6);
}

.report-lightbox-matte {
  padding: clamp(16px, 3vw, 28px);
}

.report-lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule-2, #C9B998);
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 14px 34px -20px rgba(28, 25, 21, .5);
}

.report-lightbox-cap {
  flex: 0 0 auto;
  padding: 13px 20px;
  font-family: var(--sans, sans-serif);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3, #6B6355);
  border-top: 1px solid var(--rule, #D9CDB5);
  background: #FFFDF8;
}

.report-lightbox-cap em {
  font-style: normal;
  font-weight: 600;
  color: var(--ink, #1C1915);
}

@media (max-width: 820px) {
  .product-peek {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .product-peek picture {
    aspect-ratio: 5 / 4;
    border-right: 0;
    border-bottom: 1px solid var(--rule-2, #C9B998);
    -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
  }
  .product-peek figcaption {
    padding: clamp(18px, 4vw, 26px) clamp(18px, 4vw, 24px);
  }
  .product-peek figcaption em {
    font-size: clamp(18px, 4.5vw, 22px);
  }
}

@media (max-width: 640px) {
  .deliverables-list {
    grid-template-columns: 1fr;
  }
  .deliverables-view {
    position: static;
    transform: none;
    margin-top: 18px;
    padding: 0;
    background: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-peek,
  .peek-cue,
  .report-link,
  .deliverables-view,
  .report-lightbox-close {
    transition: none;
  }
  .product-peek:hover,
  .product-peek:focus-visible {
    transform: none;
  }
  .report-lightbox.open .report-lightbox-inner {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-peek,
  .product-peek picture img,
  .peek-cue,
  .report-link,
  .report-lightbox-close {
    transition: none;
  }
  .product-peek,
  .product-peek:hover,
  .product-peek:focus-visible {
    transform: none;
  }
  .product-peek:hover picture img,
  .product-peek:focus-visible picture img {
    transform: none;
  }
  .report-lightbox.open .report-lightbox-inner {
    animation: none;
  }
}
