/* =========================================================================
   PIQUE ECOMMERCE — Main Stylesheet
   Aesthetic: "The Authority" — warm black + forest green + lime + bone
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Space+Mono:wght@400;700&display=swap');

:root {
  --ink:            #111110;
  --ink-2:          #1a1916;
  --ink-3:          #232220;
  --bone:           #f5f2ec;
  --paper:          #fbfaf7;
  --accent:         #041f18;
  --accent-2:       #02110c;
  --pop:            #a3e635;
  --on-dark:        #f3f0ea;
  --on-dark-muted:  #98938a;
  --on-dark-faint:  #54514b;
  --on-light:       #14130f;
  --on-light-muted: #6c675c;
  --line-dark:      rgba(255,255,255,0.13);
  --line-light:     rgba(17,17,16,0.13);
  --font-display:   'Schibsted Grotesk', sans-serif;
  --font-body:      'Schibsted Grotesk', sans-serif;
  --font-mono:      'Space Mono', monospace;
  --maxw:           1240px;
  --gutter:         clamp(22px, 5vw, 72px);
  --section-y:      clamp(72px, 9vw, 132px);
  --radius:         4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--font-body);
  background: var(--bone);
  color: var(--on-light);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ---- Layout ---- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--dark  { background: var(--ink);   color: var(--on-dark); }
.section--bone  { background: var(--bone);  color: var(--on-light); }
.section--paper { background: var(--paper); color: var(--on-light); }

/* ---- Eyebrow ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: currentColor;
  display: inline-block;
}
.hero .eyebrow,
.section--dark .eyebrow { color: var(--pop); }
.hero .accent-text,
.section--dark .accent-text { color: var(--pop); }

/* ---- Headings ---- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; }
.h-display { font-size: clamp(40px, 6.4vw, 88px); line-height: 0.98; letter-spacing: -0.03em; }
.h-1 { font-size: clamp(33px, 4.6vw, 60px); }
.h-2 { font-size: clamp(26px, 3vw, 40px); }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--on-light-muted); font-weight: 400; }
.section--dark .lede { color: var(--on-dark-muted); }
.accent-text { color: var(--accent); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  padding: 16px 28px; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .2s, color .2s, box-shadow .2s;
  white-space: nowrap; line-height: 1;
}
.btn .arr { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.btn:hover .arr { transform: translateX(4px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 12px 28px -12px color-mix(in srgb, var(--accent) 60%, transparent); }
.nav .btn--accent,
.hero .btn--accent,
.section--dark .btn--accent { background: var(--pop); color: var(--ink); box-shadow: none; }
.nav .btn--accent:hover,
.hero .btn--accent:hover,
.section--dark .btn--accent:hover { background: color-mix(in srgb, var(--pop) 88%, #000); box-shadow: 0 12px 28px -14px color-mix(in srgb, var(--pop) 65%, transparent); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--line-light); color: var(--on-light); }
.section--dark .btn--ghost { border-color: var(--line-dark); color: var(--on-dark); }
.btn--ghost:hover { border-color: currentColor; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.micro { font-size: 14px; color: var(--on-light-muted); }
.section--dark .micro { color: var(--on-dark-faint); }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center;
  height: 74px;
  transition: background .35s, box-shadow .35s, height .35s, color .35s;
  color: var(--on-dark);
}
.nav__inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { font-family: var(--font-display); font-weight: 800; font-size: 23px; letter-spacing: -0.03em; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { font-size: 15px; font-weight: 500; opacity: .85; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav.scrolled {
  background: rgba(245,242,236,.86);
  backdrop-filter: blur(14px) saturate(1.4);
  color: var(--on-light);
  height: 64px;
  box-shadow: 0 1px 0 var(--line-light);
}
@media (max-width: 760px) { .nav__links a:not(.nav__cta) { display: none; } }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; background: var(--ink); color: var(--on-dark);
  padding-top: 150px; padding-bottom: clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero__glow {
  position: absolute; top: -28%; right: -12%; width: 760px; height: 760px;
  background: radial-gradient(circle, color-mix(in srgb, var(--pop) 26%, transparent), transparent 60%);
  filter: blur(8px); pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 0%, #000, transparent 72%);
}
.hero .wrap { position: relative; }
.hero h1 { max-width: 16ch; margin-bottom: 30px; }
.hero__sub { max-width: 56ch; margin-bottom: 38px; }
.hero__cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__micro { margin-top: 16px; font-style: italic; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 82px);
  padding-top: 34px; border-top: 1px solid var(--line-dark);
}
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 3.6vw, 50px); line-height: 1; letter-spacing: -0.03em; }
.stat__num span { color: var(--pop); }
.stat__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 10px; max-width: 22ch; }

/* =========================================================================
   PROOF BAR
   ========================================================================= */
.proof { padding-block: clamp(40px, 5vw, 64px); }
.proof__label { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-light-muted); text-align: center; }
.proof__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(20px, 4vw, 54px); margin-block: 30px; }
.proof__logo { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--on-light); opacity: .42; letter-spacing: -.02em; transition: opacity .25s; }
.proof__logo:hover { opacity: .85; }
.proof__logo img { max-height: 32px; width: auto; filter: grayscale(1); opacity: .5; transition: opacity .25s; }
.proof__logo img:hover { opacity: .85; }
.proof__foot { text-align: center; font-size: 14px; color: var(--on-light-muted); }

/* =========================================================================
   SECTION HEADER
   ========================================================================= */
.shead { max-width: 64ch; }
.shead.center { margin-inline: auto; text-align: center; }
.shead .lede { margin-top: 22px; }

/* =========================================================================
   PROBLEM
   ========================================================================= */
.problem__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: 10px; }
.problem__body p { margin-bottom: 20px; }
.problem__body p:last-child { margin-bottom: 0; font-weight: 600; color: var(--on-light); font-size: 21px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(40px, 5vw, 64px); }
.pcard {
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 30px 28px 32px; position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -28px rgba(0,0,0,.32); border-color: color-mix(in srgb, var(--accent) 38%, transparent); }
.pcard__idx { font-family: var(--font-mono); font-size: 13px; color: var(--accent); font-weight: 700; letter-spacing: .1em; }
.pcard__bar { position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .pcard__bar { transform: scaleX(1); }
.pcard h3 { font-size: 23px; margin: 16px 0 12px; }
.pcard p { font-size: 16px; color: var(--on-light-muted); line-height: 1.55; }
@media (max-width: 820px) { .problem__body { grid-template-columns: 1fr; } .cards-3 { grid-template-columns: 1fr; } }

/* =========================================================================
   PROCESS
   ========================================================================= */
.fw-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-dark); border: 1px solid var(--line-dark); border-radius: 100px;
  padding: 8px 16px; margin-top: 28px;
}
.fw-badge b { color: var(--pop); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: clamp(44px, 5vw, 68px);
  background: var(--line-dark); border: 1px solid var(--line-dark);
  border-radius: var(--radius); overflow: hidden;
}
.step { background: var(--ink); padding: 34px 28px 38px; transition: background .35s; }
.step:hover { background: var(--ink-2); }
.step--lead { background: var(--pop); }
.step--lead:hover { background: color-mix(in srgb, var(--pop) 92%, #000); }
.step__num { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--on-dark-muted); }
.step--lead .step__num { color: color-mix(in srgb, var(--ink) 62%, transparent); }
.step h3 { font-size: 26px; margin: 18px 0 14px; }
.step--lead h3 { color: var(--ink); }
.step p { font-size: 15.5px; color: var(--on-dark-muted); line-height: 1.6; }
.step--lead p { color: color-mix(in srgb, var(--ink) 80%, transparent); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* =========================================================================
   RESULTS
   ========================================================================= */
.results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: clamp(44px, 5vw, 64px); }
.rcard {
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.rcard:hover { transform: translateY(-4px); box-shadow: 0 26px 52px -30px rgba(0,0,0,.34); }
.rcard__media { position: relative; aspect-ratio: 16/8; background: var(--ink-2); overflow: hidden; }
.rcard__media img { width: 100%; height: 100%; object-fit: cover; }
.rcard__media-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.rcard__media-placeholder span { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--on-dark-faint); letter-spacing: -0.02em; }
.rcard__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(17,17,16,.78); color: #fff; padding: 6px 11px; border-radius: 3px; backdrop-filter: blur(4px);
}
.rcard__body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.rcard__brand { font-family: var(--font-display); font-weight: 800; font-size: 25px; letter-spacing: -.02em; }
.rcard__quote { font-size: 16px; color: var(--on-light-muted); line-height: 1.55; font-style: italic; margin: 12px 0 6px; }
.rcard__author { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-light-muted); margin-bottom: 22px; }
.rcard__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 22px; border-top: 1px solid var(--line-light); margin-top: auto; }
.metric__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); color: var(--accent); line-height: 1; letter-spacing: -.02em; }
.metric__label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--on-light-muted); margin-top: 8px; line-height: 1.3; }
.rcard__link { margin-top: 22px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--on-light); display: inline-flex; align-items: center; gap: 8px; }
.rcard__link .arr { color: var(--accent); transition: transform .25s; }
.rcard:hover .rcard__link .arr { transform: translateX(4px); }
@media (max-width: 800px) { .results-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   DIFFERENTIATORS
   ========================================================================= */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(28px, 4vw, 56px); row-gap: clamp(36px, 4vw, 52px); margin-top: clamp(44px, 5vw, 66px); }
.diff { border-top: 2px solid var(--ink); padding-top: 22px; }
.diff__num { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.diff h3 { font-size: 22px; margin: 14px 0 12px; line-height: 1.1; }
.diff p { font-size: 16px; color: var(--on-light-muted); line-height: 1.58; }
@media (max-width: 880px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .diff-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   ICP
   ========================================================================= */
.icp__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); margin-top: clamp(44px, 5vw, 60px); }
.icp__panel { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 32px 30px; background: var(--ink-2); }
.icp__panel--no { background: transparent; }
.icp__panel h3 { font-family: var(--font-mono); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.icp__panel--yes h3 { color: var(--pop); }
.icp__panel--no h3 { color: var(--on-dark-muted); }
.icp__list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.icp__list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; line-height: 1.45; }
.icp__list--yes li { color: var(--on-dark); }
.icp__list--no li { color: var(--on-dark-muted); }
.icp__mark { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; margin-top: 2px; }
.icp__list--yes .icp__mark { background: color-mix(in srgb, var(--pop) 20%, transparent); color: var(--pop); }
.icp__list--no .icp__mark { border: 1.5px solid var(--line-dark); color: var(--on-dark-faint); }
.icp__honest { margin-top: clamp(32px, 4vw, 44px); border-left: 3px solid var(--pop); padding: 6px 0 6px 26px; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.45; max-width: 70ch; color: var(--on-dark); }
.icp__honest b { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--pop); display: block; margin-bottom: 10px; font-weight: 700; }
@media (max-width: 760px) { .icp__cols { grid-template-columns: 1fr; } }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { max-width: 920px; margin-inline: auto; margin-top: clamp(40px, 5vw, 56px); }
.faq__item { border-top: 1px solid var(--line-light); }
.faq__item:last-child { border-bottom: 1px solid var(--line-light); }
.faq__q {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 4px; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(18px, 1.9vw, 23px); color: var(--on-light); letter-spacing: -.01em;
}
.faq__icon { flex-shrink: 0; width: 30px; height: 30px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.faq__icon::before { top: 50%; left: 5px; right: 5px; height: 2.5px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 5px; bottom: 5px; width: 2.5px; transform: translateX(-50%); }
.faq__item.open .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .4s cubic-bezier(.2,.7,.2,1); }
.faq__a-inner { padding: 0 56px 30px 4px; font-size: 17px; color: var(--on-light-muted); line-height: 1.65; }

/* =========================================================================
   FINAL CTA
   ========================================================================= */
.final { background: var(--accent); color: #fff; position: relative; overflow: hidden; }
.final__grain {
  position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 120%, #000, transparent 70%);
}
.final .wrap { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.final .eyebrow { color: #fff; }
.final .eyebrow::before { background: #fff; }
.final h2 { color: #fff; max-width: 20ch; margin-bottom: 24px; }
.final__body { max-width: 58ch; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.55; color: rgba(255,255,255,.9); margin-bottom: 38px; }
.final .micro { color: rgba(255,255,255,.78); margin-top: 18px; }
.final .btn--accent { background: var(--pop); color: var(--ink); font-size: 18px; padding: 18px 34px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--ink); color: var(--on-dark); padding-block: clamp(56px, 6vw, 84px) 32px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer__logo { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -.03em; margin-bottom: 16px; }
.footer__tag { color: var(--on-dark-muted); font-size: 16px; line-height: 1.55; max-width: 32ch; }
.footer__col h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-faint); margin-bottom: 18px; font-weight: 700; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 15px; color: var(--on-dark-muted); transition: color .2s; }
.footer__col a:hover { color: var(--on-dark); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-top: 28px; flex-wrap: wrap; }
.footer__bottom span { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--on-dark-faint); }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__top { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; gap: 32px; } }

/* =========================================================================
   REVEAL ANIMATIONS
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* =========================================================================
   INNER PAGES
   ========================================================================= */
.page-hero { background: var(--ink); color: var(--on-dark); padding-top: 140px; padding-bottom: clamp(56px, 7vw, 96px); }
.page-content { padding-block: var(--section-y); }
.page-content h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 20px; }
.page-content h3 { font-size: 22px; margin: 32px 0 12px; }
.page-content p { margin-bottom: 18px; color: var(--on-light-muted); }
.page-content ul, .page-content ol { padding-left: 24px; margin-bottom: 18px; }
.page-content li { margin-bottom: 8px; color: var(--on-light-muted); }

/* =========================================================================
   CASE STUDY TEMPLATE — component styles
   ========================================================================= */

/* ---- Breadcrumb / back-link ---- */
.cs-back {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em;
  color: var(--on-dark-muted); margin-bottom: 30px; transition: color .2s, gap .2s;
}
.cs-back:hover { color: var(--pop); gap: 13px; }
.cs-back .ar { transition: transform .2s; }
.cs-back:hover .ar { transform: translateX(-3px); }

/* ---- Hero client logo ---- */
.cs-hero__logo { width: 168px; height: 50px; margin-bottom: 28px; opacity: .96; }
.cs-hero__logo img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }

/* ---- Anonymous client label ---- */
.cs-anon {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-dark-muted); border: 1px solid var(--line-dark); border-radius: 100px; padding: 8px 15px;
}
.cs-anon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pop); flex-shrink: 0; }
.cs-hero h1 { max-width: 19ch; }
.cs-hero .hero__sub { max-width: 60ch; }

/* ---- Client Context ---- */
.context__grid {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: clamp(34px,4vw,52px);
}
.context__body p { font-size: clamp(17px,1.5vw,19.5px); line-height: 1.7; color: var(--on-light); margin-bottom: 22px; }
.context__body p:first-child { font-size: clamp(19px,1.8vw,23px); line-height: 1.55; color: var(--ink); font-weight: 500; }
.context__body p:last-child { margin-bottom: 0; }

/* Pull quote */
.pullquote {
  background: var(--ink); color: var(--on-dark);
  border-radius: 6px; padding: clamp(34px,4vw,48px) clamp(30px,3.5vw,42px);
  position: sticky; top: 96px;
}
.pullquote__mark {
  font-family: var(--font-display); font-weight: 800;
  font-size: 130px; line-height: .7; color: var(--pop);
  display: block; height: 64px; margin-bottom: 6px; user-select: none;
}
.pullquote__text { font-family: var(--font-display); font-weight: 600; font-size: clamp(21px,2.1vw,28px); line-height: 1.3; letter-spacing: -.01em; color: var(--on-dark); }
.pullquote__by { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.pullquote__name { font-weight: 700; font-size: 16px; color: var(--on-dark); }
.pullquote__role { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 5px; }
@media (max-width: 860px){ .context__grid { grid-template-columns: 1fr; gap: 32px; } .pullquote { position: static; } }

/* ---- Channel sections ---- */
.channel__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.channel__intro { max-width: 60ch; }
.channel__intro .h-2 { margin-bottom: 18px; }
.channel__narr { font-size: clamp(16.5px,1.5vw,19px); line-height: 1.68; color: var(--on-light-muted); }
.channel__narr strong { color: var(--ink); font-weight: 600; }
.channel__idx { font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-light-muted); white-space: nowrap; padding-bottom: 6px; }

/* 3-stat row */
.statrow { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: clamp(34px,4vw,46px); }
.statcard {
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 28px 26px 26px; display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
.section--paper .statcard { background: var(--bone); }
.statcard:hover { transform: translateY(-3px); border-color: rgba(17,17,16,.22); }
.statcard__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px,4vw,52px); line-height: 1; letter-spacing: -.03em; color: var(--accent); }
.statcard__rule { width: 42px; height: 4px; background: var(--pop); border-radius: 2px; margin: 16px 0 14px; }
.statcard__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-light-muted); line-height: 1.4; }
.statcard--hl { background: var(--pop); border-color: transparent; }
.section--paper .statcard--hl { background: var(--pop); }
.statcard--hl:hover { box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--pop) 70%, transparent); }
.statcard--hl .statcard__num { color: var(--ink); font-size: clamp(38px,4.6vw,60px); }
.statcard--hl .statcard__rule { background: var(--ink); opacity: .85; }
.statcard--hl .statcard__label { color: color-mix(in srgb, var(--ink) 78%, transparent); font-weight: 700; }
.statcard__flag { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 60%, transparent); margin-bottom: 14px; }
@media (max-width: 720px){ .statrow { grid-template-columns: 1fr; } }

/* Before / After browser windows */
.ba-group { margin-top: clamp(36px,4vw,52px); display: flex; flex-direction: column; gap: clamp(30px,3.5vw,46px); }
.ba-pair__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-light-muted); margin-bottom: 7px; display: flex; align-items: center; gap: 12px; }
.ba-pair__label::after { content: ""; flex: 1; height: 1px; background: var(--line-light); }
.ba-pair__hint { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--on-light-muted); opacity: .8; margin-bottom: 18px; }
.ba-pair__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.ba-window { border: 1px solid var(--line-light); border-radius: 9px; overflow: hidden; background: #fff; box-shadow: 0 20px 46px -32px rgba(0,0,0,.4); }
.ba-chrome { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: var(--ink); flex-shrink: 0; }
.ba-dots { display: flex; gap: 6px; flex-shrink: 0; }
.ba-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.22); }
.ba-urlbar { flex: 1; min-width: 0; height: 23px; border-radius: 6px; background: rgba(255,255,255,.08); display: flex; align-items: center; gap: 7px; padding: 0 11px; font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-muted); overflow: hidden; white-space: nowrap; }
.ba-badge { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; flex-shrink: 0; }
.ba-badge--before { background: rgba(255,255,255,.16); color: var(--on-dark); }
.ba-badge--after { background: var(--pop); color: var(--ink); }
.ba-viewport { position: relative; height: clamp(300px, 44vh, 460px); overflow-y: auto; overflow-x: hidden; background: var(--ink-2); scroll-behavior: smooth; }
.ba-viewport img { width: 100%; display: block; }
.ba-viewport::-webkit-scrollbar { width: 9px; }
.ba-viewport::-webkit-scrollbar-track { background: rgba(17,17,16,.06); }
.ba-viewport::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--accent) 55%, #888); border-radius: 5px; border: 2px solid var(--ink-2); }
.ba-viewport:hover::-webkit-scrollbar-thumb { background: var(--accent); }
.ba-viewport { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--accent) 60%, #999) transparent; }
@media (max-width: 640px){ .ba-pair__imgs { grid-template-columns: 1fr; } }

/* Meta ad creatives */
.ad-creatives { display: flex; justify-content: center; gap: clamp(14px,2vw,28px); margin-top: clamp(36px,4vw,52px); flex-wrap: wrap; padding-block: 10px; }
.ad-card { width: clamp(180px, 22vw, 270px); border-radius: 8px; overflow: hidden; border: 1px solid var(--line-light); background: var(--ink-2); box-shadow: 0 20px 44px -28px rgba(0,0,0,.4); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.ad-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.ad-card:nth-child(1) { transform: rotate(-3deg) translateY(8px); }
.ad-card:nth-child(2) { transform: scale(1.06); z-index: 2; }
.ad-card:nth-child(3) { transform: rotate(3deg) translateY(8px); }
.ad-creatives:hover .ad-card { transform: rotate(0) translateY(0) scale(1); }
.ad-card:hover { box-shadow: 0 30px 60px -28px rgba(0,0,0,.55); z-index: 3; }
@media (max-width: 640px){ .ad-card { transform: none !important; width: min(78vw, 300px); } }

/* Results summary */
.result__grid { display: grid; grid-template-columns: 1fr; gap: clamp(34px,4vw,48px); margin-top: clamp(30px,3.5vw,44px); max-width: 72ch; }
.result__narr p { font-size: clamp(18px,1.7vw,22px); line-height: 1.62; color: var(--on-dark); margin-bottom: 22px; }
.result__narr p:last-child { margin-bottom: 0; }
.result__narr strong { color: var(--pop); font-weight: 600; }
.quote-dark { border-left: 3px solid var(--pop); padding-left: clamp(22px,2.5vw,32px); }
.quote-dark__mark { font-family: var(--font-display); font-weight: 800; font-size: 88px; line-height: .6; color: var(--pop); display: block; height: 44px; }
.quote-dark__text { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px,2vw,27px); line-height: 1.32; color: var(--on-dark); letter-spacing: -.01em; }
.quote-dark__by { margin-top: 22px; }
.quote-dark__name { font-weight: 700; font-size: 16px; color: var(--on-dark); }
.quote-dark__role { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 5px; }
.final .btn--cta { background: var(--pop); color: var(--ink); }
.final .btn--cta:hover { background: color-mix(in srgb, var(--pop) 88%, #000); transform: translateY(-2px); }

/* =========================================================================
   CASE STUDIES INDEX — component styles
   ========================================================================= */
.csi-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.csi-filter { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; padding: 9px 17px; border-radius: 100px; border: 1px solid var(--line-light); background: transparent; color: var(--on-light-muted); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.csi-filter:hover { border-color: var(--accent); color: var(--accent); }
.csi-filter.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.csi-count { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--on-light-muted); margin-left: auto; }
.csi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px,2.6vw,30px); margin-top: clamp(34px,4vw,48px); }
@media (max-width: 760px){ .csi-grid { grid-template-columns: 1fr; } }
.csc { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-light); border-radius: 8px; overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.csc:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -34px rgba(0,0,0,.4); border-color: rgba(17,17,16,.2); }
.csc--featured { grid-column: 1 / -1; flex-direction: row; }
.csc--featured .csc__media { width: 52%; aspect-ratio: auto; }
.csc--featured .csc__body { width: 48%; padding: clamp(30px,3.4vw,48px); }
@media (max-width: 760px){ .csc--featured { flex-direction: column; } .csc--featured .csc__media, .csc--featured .csc__body { width: 100%; } }
.csc__media { position: relative; aspect-ratio: 16/10; background: var(--ink-2); overflow: hidden; }
.csc__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.csc__badges { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; }
.csc__cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: rgba(17,17,16,.78); color: var(--on-dark); padding: 6px 11px; border-radius: 4px; backdrop-filter: blur(4px); }
.csc__feat-flag { position: absolute; top: 14px; right: 14px; z-index: 2; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--pop); color: var(--ink); padding: 6px 11px; border-radius: 4px; }
.csc__body { padding: 28px 28px 26px; display: flex; flex-direction: column; flex: 1; }
.csc__brand { font-family: var(--font-display); font-weight: 800; font-size: clamp(23px,2.4vw,34px); letter-spacing: -.02em; line-height: 1.04; }
.csc--featured .csc__brand { font-size: clamp(30px,3.4vw,46px); }
.csc__sum { font-size: 16px; color: var(--on-light-muted); line-height: 1.55; margin-top: 12px; }
.csc--featured .csc__sum { font-size: clamp(16px,1.5vw,19px); margin-top: 16px; }
.csc__metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; padding-top: 22px; border-top: 1px solid var(--line-light); margin-top: auto; }
.csc__metrics + .csc__link { margin-top: 22px; }
.csc__m-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(21px,2.2vw,30px); color: var(--accent); line-height: 1; letter-spacing: -.02em; }
.csc__m-rule { width: 30px; height: 3px; background: var(--pop); border-radius: 2px; margin: 11px 0 9px; }
.csc__m-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--on-light-muted); line-height: 1.3; }
.csc__link { margin-top: 24px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--on-light); display: inline-flex; align-items: center; gap: 9px; }
.csc__link .arr { color: var(--accent); transition: transform .25s; }
.csc:hover .csc__link .arr { transform: translateX(5px); }
.csc__hit { position: absolute; inset: 0; z-index: 3; }
.csi-subhead { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: clamp(56px,7vw,90px) 0 0; }
.csi-subhead h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px,2.6vw,34px); letter-spacing: -.02em; }
.csi-subhead p { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--on-light-muted); }
.csi-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px,2vw,22px); margin-top: clamp(28px,3.4vw,40px); }
@media (max-width: 900px){ .csi-mini { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .csi-mini { grid-template-columns: 1fr; } }
.mcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-light); border-radius: 8px; padding: 24px 24px 22px; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.mcard:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -30px rgba(0,0,0,.32); border-color: rgba(17,17,16,.18); }
.mcard__cat { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-light-muted); }
.mcard__brand { font-family: var(--font-display); font-weight: 800; font-size: clamp(19px,1.9vw,23px); letter-spacing: -.02em; line-height: 1.1; margin: 10px 0 0; }
.mcard__sum { font-size: 14.5px; color: var(--on-light-muted); line-height: 1.5; margin-top: 9px; }
.mcard__stat { margin-top: auto; padding-top: 20px; }
.mcard__big { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px,3.4vw,40px); color: var(--accent); line-height: 1; letter-spacing: -.03em; }
.mcard__rule { width: 30px; height: 3px; background: var(--pop); border-radius: 2px; margin: 12px 0 9px; }
.mcard__big-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-light-muted); }
.mcard__sec { font-size: 13px; color: var(--on-light-muted); margin-top: 14px; display: flex; gap: 16px; flex-wrap: wrap; }
.mcard__sec b { font-family: var(--font-display); color: var(--on-light); font-weight: 700; }

/* =========================================================================
   SERVICES PAGE — component styles
   ========================================================================= */
.svc-hero__nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.svc-hero__nav a { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--on-dark-muted); border: 1px solid var(--line-dark); border-radius: 100px; padding: 9px 16px; transition: color .2s, border-color .2s, background .2s; }
.svc-hero__nav a:hover { color: var(--ink); background: var(--pop); border-color: var(--pop); }
.svc-hero__nav .n { color: var(--pop); margin-right: 7px; }
.svc-hero__nav a:hover .n { color: color-mix(in srgb, var(--ink) 55%, transparent); }
.bf__head { max-width: 62ch; }
.bf__head .lede { margin-top: 20px; }
.bf-badge { display: inline-flex; align-items: center; gap: 9px; margin-top: 26px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-light); border: 1px solid var(--line-light); border-radius: 100px; padding: 8px 15px; }
.bf-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pop); }
.bf-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(40px,5vw,60px); background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.bf-step { background: var(--bone); padding: 30px 30px 34px; position: relative; transition: background .3s; }
.bf-step:hover { background: #fff; }
.bf-step__n { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.bf-step h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px,2.2vw,28px); letter-spacing: -.02em; margin: 14px 0 10px; }
.bf-step p { font-size: 15.5px; color: var(--on-light-muted); line-height: 1.55; }
.bf-step__arrow { position: absolute; top: 50%; right: -1px; transform: translate(50%,-50%); z-index: 2; width: 28px; height: 28px; border-radius: 50%; background: var(--pop); color: var(--ink); display: grid; place-items: center; font-size: 14px; font-weight: 800; }
@media (max-width: 760px){ .bf-steps { grid-template-columns: 1fr; } .bf-step__arrow { top: auto; bottom: -1px; right: 50%; transform: translate(50%,50%) rotate(90deg); } }
.bf__link, .link-arrow { display: inline-flex; align-items: center; gap: 9px; margin-top: clamp(30px,3.5vw,40px); font-family: var(--font-mono); font-size: 13.5px; letter-spacing: .04em; font-weight: 700; color: var(--accent); border-bottom: 2px solid transparent; padding-bottom: 3px; width: fit-content; transition: border-color .2s, gap .2s; }
.bf__link:hover, .link-arrow:hover { border-color: var(--accent); gap: 13px; }
.svc-intro__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px,5vw,64px); align-items: center; margin-top: 8px; }
.svc-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc-chip { display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 20px 22px; background: #fff; transition: transform .25s cubic-bezier(.2,.7,.2,1), border-color .25s, background .25s; }
.svc-chip:hover { transform: translateY(-3px); border-color: var(--accent); }
.svc-chip__n { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.svc-chip__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(17px,1.7vw,21px); letter-spacing: -.02em; margin-top: 6px; }
.svc-chip .arr { color: var(--accent); font-size: 18px; transition: transform .25s; }
.svc-chip:hover .arr { transform: translateX(4px); }
@media (max-width: 760px){ .svc-intro__grid { grid-template-columns: 1fr; } }
@media (max-width: 440px){ .svc-chips { grid-template-columns: 1fr; } }
.svc { scroll-margin-top: 86px; }
.svc__top { max-width: 70ch; }
.svc__outcome { font-family: var(--font-display); font-weight: 700; font-size: clamp(23px,2.7vw,34px); line-height: 1.18; letter-spacing: -.02em; color: var(--ink); margin-top: 18px; }
.svc__main { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px,5vw,72px); margin-top: clamp(38px,4.5vw,56px); align-items: start; }
.svc__body p { font-size: 16.5px; line-height: 1.68; color: var(--on-light-muted); margin-bottom: 18px; }
.svc__body p:last-child { margin-bottom: 0; }
.deliv { border-top: 1px solid var(--line-light); }
.deliv__item { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 20px 4px; border-bottom: 1px solid var(--line-light); transition: padding-left .25s; }
.deliv__item:hover { padding-left: 12px; }
.deliv__n { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .06em; padding-top: 3px; }
.deliv__c b { font-family: var(--font-display); font-weight: 700; font-size: 17.5px; letter-spacing: -.01em; color: var(--ink); display: block; margin-bottom: 5px; }
.deliv__c span { font-size: 15.5px; color: var(--on-light-muted); line-height: 1.55; }
@media (max-width: 760px){ .svc__main { grid-template-columns: 1fr; gap: 28px; } }
.svc-ads { display: flex; gap: 14px; }
.svc-ads .ad-card { width: 100%; }
.svc-shot { border: 1px solid var(--line-light); border-radius: 8px; overflow: hidden; background: var(--ink-2); }
.svc-shot img { width: 100%; aspect-ratio: 16/11; object-fit: cover; display: block; }
.svc-shot__cap { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-light-muted); margin-top: 12px; }
.pricing__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: start; margin-top: 6px; }
.pricing__body p { font-size: clamp(16.5px,1.5vw,18.5px); line-height: 1.68; color: var(--on-light); margin-bottom: 20px; }
.pricing__body p:last-child { margin-bottom: 0; }
.pricing__aside { border: 1px solid var(--line-light); border-radius: var(--radius); padding: clamp(28px,3.4vw,40px); background: #fff; }
.pricing__aside h3 { font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.pricing__models { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 26px; }
.pricing__models li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: var(--ink); }
.pricing__models li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--pop); margin-top: 8px; }
@media (max-width: 760px){ .pricing__grid { grid-template-columns: 1fr; } }
.proof-pull__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(20px,3vw,40px); margin-top: clamp(40px,5vw,58px); }
.proof-pull__stat { border-top: 1px solid var(--line-dark); padding-top: 26px; }
.proof-pull__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px,5.2vw,68px); line-height: .95; letter-spacing: -.03em; color: var(--pop); }
.proof-pull__label { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 14px; }
.proof-pull__src { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--on-dark-faint); margin-top: 6px; }
@media (max-width: 680px){ .proof-pull__stats { grid-template-columns: 1fr; gap: 0; } .proof-pull__stat { padding-block: 24px; } }


/* ======================================================
   BLOG INDEX — home.php
   ====================================================== */
/* =========================================================================
   PIQUE — Blog Index styles
   Extends pique.css. No new colors/fonts — uses established tokens.
   ========================================================================= */

/* ---- Hero: category filter chips ---- */
.blog-filters {
  display: flex; gap: 10px; align-items: center; flex-wrap: nowrap;
  margin-top: clamp(34px, 4vw, 48px);
  overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.blog-filters::-webkit-scrollbar { display: none; }
.bfilter {
  flex-shrink: 0;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 100px; border: 1px solid var(--line-dark);
  background: transparent; color: var(--on-dark-muted); cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.bfilter:hover { border-color: var(--pop); color: var(--on-dark); }
.bfilter.active { background: var(--pop); border-color: var(--pop); color: var(--ink); font-weight: 700; }

/* ---- Category chip (lime pill, on cards) ---- */
.bchip {
  display: inline-flex; align-items: center; align-self: flex-start;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: color-mix(in srgb, var(--pop) 16%, transparent); color: color-mix(in srgb, var(--pop) 72%, var(--ink));
  border: 1px solid color-mix(in srgb, var(--pop) 30%, transparent);
  padding: 6px 12px; border-radius: 100px;
}
/* on a white/bone card surface the lime text needs the darker forest for contrast */
.bcard .bchip, .feat .bchip {
  background: color-mix(in srgb, var(--pop) 22%, transparent);
  color: var(--accent); border-color: color-mix(in srgb, var(--accent) 22%, transparent);
}

/* ---- Featured post (full-width horizontal card) ---- */
.feat {
  position: relative; display: flex; flex-direction: row;
  background: var(--ink-2); border: 1px solid color-mix(in srgb, var(--pop) 12%, transparent);
  border-radius: 10px; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
}
.feat:hover { transform: translateY(-4px); box-shadow: 0 36px 70px -40px rgba(0,0,0,.7); border-color: color-mix(in srgb, var(--pop) 28%, transparent); }
.feat__hit { position: absolute; inset: 0; z-index: 3; }
.feat__media { width: 58%; position: relative; background: var(--ink-3); overflow: hidden; }
.feat__media image-slot { width: 100%; height: 100%; min-height: 340px; display: block; }
.feat__flag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: var(--pop); color: var(--ink); padding: 6px 12px; border-radius: 4px;
}
.feat__body { width: 42%; padding: clamp(30px, 3.4vw, 52px); display: flex; flex-direction: column; }
.feat__title {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em; line-height: 1.05;
  font-size: clamp(26px, 2.7vw, 39px); color: var(--on-dark); margin: 20px 0 0;
}
.feat__excerpt { font-size: clamp(16px, 1.4vw, 18px); color: var(--on-dark-muted); line-height: 1.6; margin-top: 18px; }
.feat__foot { margin-top: auto; padding-top: 28px; }

/* meta line (read time · date) */
.bmeta {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
  color: var(--on-dark-faint); display: flex; align-items: center; gap: 10px;
}
.bmeta::before, .bmeta i { content: ""; }
.bmeta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; display: inline-block; }

/* author chip */
.author-chip { display: flex; align-items: center; gap: 11px; margin-top: 20px; }
.author-chip__av {
  width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--ink-3); border: 1px solid var(--line-dark);
}
.author-chip__av image-slot { width: 100%; height: 100%; --image-slot-bg: var(--ink-3); }
.author-chip__name { font-size: 14px; font-weight: 600; color: var(--on-dark); }
.author-chip__sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; color: var(--on-dark-faint); margin-top: 2px; }

/* read-article link */
.blink {
  margin-top: 22px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 700; color: var(--pop); display: inline-flex; align-items: center; gap: 9px;
}
.blink .arr { transition: transform .25s; }
.feat:hover .blink .arr, .bcard:hover .blink .arr { transform: translateX(5px); }

/* ---- Post grid (2-col) ---- */
.bgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.6vw, 30px); margin-top: clamp(24px, 3vw, 34px); }
.bcard {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line-light); border-radius: 10px; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
}
.bcard:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -34px rgba(0,0,0,.4); border-color: rgba(17,17,16,.2); }
.bcard__hit { position: absolute; inset: 0; z-index: 3; }
.bcard__media { position: relative; aspect-ratio: 16/9; background: var(--ink-2); overflow: hidden; }
.bcard__media image-slot { width: 100%; height: 100%; display: block; }
.bcard__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.bcard__title {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: 1.12;
  font-size: clamp(20px, 1.9vw, 24px); color: var(--on-light); margin: 16px 0 0;
}
.bcard__excerpt {
  font-size: 15.5px; color: var(--on-light-muted); line-height: 1.55; margin-top: 11px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bcard__foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.bcard .bmeta { color: var(--on-light-muted); }
.bcard .blink { color: var(--accent); margin-top: 0; }

@media (max-width: 760px){ .bgrid { grid-template-columns: 1fr; } }
@media (max-width: 760px){
  .feat { flex-direction: column; }
  .feat__media, .feat__body { width: 100%; }
  .feat__media image-slot { min-height: 220px; }
}

/* ---- Inline newsletter CTA strip ---- */
.nl-strip {
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 12px;
  padding: clamp(34px, 4vw, 56px) clamp(28px, 4vw, 60px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  position: relative; overflow: hidden;
}
.nl-strip__glow {
  position: absolute; top: -40%; right: -6%; width: 420px; height: 420px; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--pop) 20%, transparent), transparent 62%); filter: blur(6px);
}
.nl-strip__copy { position: relative; }
.nl-strip__copy h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; font-size: clamp(24px, 2.6vw, 34px); color: var(--on-dark); margin: 16px 0 0; line-height: 1.08; }
.nl-strip__copy p { color: var(--on-dark-muted); font-size: 16px; line-height: 1.55; margin-top: 12px; max-width: 44ch; }
.nl-strip__form { position: relative; }

/* shared optin form (used here + on optin page) */
.optin-form { display: flex; gap: 10px; flex-wrap: wrap; }
.optin-form__field {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); border-radius: var(--radius);
  color: var(--on-dark); font-family: var(--font-body); font-size: 16px; padding: 16px 18px;
  transition: border-color .2s, background .2s;
}
.optin-form__field::placeholder { color: var(--on-dark-faint); }
.optin-form__field:focus { outline: none; border-color: var(--pop); background: rgba(255,255,255,.09); }
.optin-form__btn {
  flex-shrink: 0; background: var(--pop); color: var(--ink);
  font-family: var(--font-body); font-weight: 700; font-size: 16px; border: none; border-radius: var(--radius);
  padding: 16px 26px; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; line-height: 1;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .2s, box-shadow .2s;
}
.optin-form__btn .arr { transition: transform .25s; }
.optin-form__btn:hover { background: color-mix(in srgb, var(--pop) 88%, #000); transform: translateY(-2px); box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--pop) 60%, transparent); }
.optin-form__btn:hover .arr { transform: translateX(4px); }
.optin-form__micro { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--on-dark-faint); margin-top: 14px; }
/* success state */
.optin-form.sent .optin-form__field, .optin-form.sent .optin-form__btn { display: none; }
.optin-ok { display: none; align-items: center; gap: 11px; font-size: 16px; color: var(--on-dark); }
.optin-form.sent + .optin-ok { display: flex; }
.optin-ok__tick { width: 26px; height: 26px; border-radius: 50%; background: var(--pop); color: var(--ink); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }

@media (max-width: 720px){ .nl-strip { grid-template-columns: 1fr; } }

/* ---- Pagination ---- */
.bpag { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: clamp(44px, 5vw, 64px); }
.bpag a, .bpag span {
  font-family: var(--font-mono); font-size: 14px; min-width: 44px; height: 44px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--on-dark-muted);
  transition: border-color .2s, color .2s, background .2s;
}
.bpag a:hover { border-color: var(--pop); color: var(--on-dark); }
.bpag .current { background: var(--pop); border-color: var(--pop); color: var(--ink); font-weight: 700; }
.bpag .disabled { opacity: .35; pointer-events: none; }


/* ======================================================
   LEAD MAGNET OPTIN — template-optin.php
   ====================================================== */
/* =========================================================================
   PIQUE — Lead Magnet Optin page styles
   Extends pique.css. No new colors/fonts — uses established tokens.
   Conversion page: reduced visual noise, single goal.
   ========================================================================= */

/* ---- Stripped nav: logo only, centred ---- */
.nav--optin .nav__inner { justify-content: center; }
.nav--optin .nav__links { display: none; }

/* =========================================================================
   HERO — 2 column (offer + form | mockup)
   ========================================================================= */
.optin-hero { padding-top: 132px; padding-bottom: clamp(48px, 6vw, 88px); }
.optin-hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 76px); align-items: center;
}
.optin-hero.no-image .optin-hero__grid { grid-template-columns: 1fr; max-width: 760px; }
.optin-hero.no-image .optin-hero__media { display: none; }

.optin-hero h1 { max-width: 18ch; margin-bottom: 22px; }
.optin-hero__sub { max-width: 54ch; margin-bottom: 30px; }

/* offer eyebrow as a solid lime pill */
.offer-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  background: var(--pop); color: var(--ink); padding: 8px 15px; border-radius: 100px; margin-bottom: 26px;
}
.offer-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); flex-shrink: 0; }

/* benefits checklist */
.benefits { list-style: none; display: flex; flex-direction: column; gap: 15px; margin-bottom: 34px; }
.benefits li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.45; color: var(--on-dark); }
.benefits__check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  background: color-mix(in srgb, var(--pop) 20%, transparent); color: var(--pop);
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
}

/* ---- Optin form (prominent) ---- */
.optin-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.optin-form__field {
  flex: 1; min-width: 200px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); border-radius: var(--radius);
  color: var(--on-dark); font-family: var(--font-body); font-size: 16.5px; padding: 18px 20px;
  transition: border-color .2s, background .2s;
}
.optin-form__field::placeholder { color: var(--on-dark-faint); }
.optin-form__field:focus { outline: none; border-color: var(--pop); background: rgba(255,255,255,.09); }
.optin-form__btn {
  flex-shrink: 0; background: var(--pop); color: var(--ink);
  font-family: var(--font-body); font-weight: 700; font-size: 16.5px; border: none; border-radius: var(--radius);
  padding: 18px 28px; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; line-height: 1;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .2s, box-shadow .2s;
}
.optin-form__btn .arr { transition: transform .25s; }
.optin-form__btn:hover { background: color-mix(in srgb, var(--pop) 88%, #000); transform: translateY(-2px); box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--pop) 60%, transparent); }
.optin-form__btn:hover .arr { transform: translateX(4px); }
/* full-width button variant (bottom CTA / mobile) */
.optin-form--stack { flex-direction: column; max-width: 480px; }
.optin-form--stack .optin-form__field,
.optin-form--stack .optin-form__btn { width: 100%; justify-content: center; }

.optin-micro { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--on-dark-faint); margin-top: 14px; }

/* success state */
.optin-form.sent { display: none; }
.optin-ok { display: none; align-items: center; gap: 11px; font-size: 16.5px; color: var(--on-dark); max-width: 520px; }
.optin-form.sent + .optin-ok { display: flex; }
.optin-ok__tick { width: 28px; height: 28px; border-radius: 50%; background: var(--pop); color: var(--ink); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }

/* ---- Lead magnet mockup (right column) ---- */
.optin-hero__media { display: flex; justify-content: center; align-items: center; }
.lm-mockup { position: relative; width: min(100%, 420px); }
.lm-mockup__glow {
  position: absolute; inset: -14% -10%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--pop) 32%, transparent), transparent 64%);
  filter: blur(10px);
}
.lm-mockup__inner {
  position: relative; z-index: 1; border-radius: 8px; overflow: hidden;
  transform: rotate(-3deg); transition: transform .5s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.75), 0 0 0 1px color-mix(in srgb, var(--pop) 26%, transparent);
}
.lm-mockup:hover .lm-mockup__inner { transform: rotate(-1deg) translateY(-6px); }
.lm-mockup__inner image-slot { width: 100%; aspect-ratio: 4/5; display: block; --image-slot-bg: var(--ink-2); }

@media (max-width: 860px){
  .optin-hero__grid { grid-template-columns: 1fr; gap: clamp(36px,6vw,52px); }
  .optin-hero__media { order: 2; }
  .lm-mockup { width: min(78%, 340px); }
}

/* =========================================================================
   SOCIAL PROOF STRIP (stats | logos)
   ========================================================================= */
.sp-strip { padding-block: clamp(36px, 4.5vw, 60px); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.sp-strip__grid { display: grid; grid-template-columns: 1.1fr 1px 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.sp-strip__div { width: 1px; height: 100%; background: var(--line-dark); }
.sp-stats { display: flex; gap: clamp(20px, 3.5vw, 44px); flex-wrap: wrap; }
.sp-stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px,3.4vw,46px); line-height: 1; letter-spacing: -.03em; color: var(--on-dark); }
.sp-stat__num span { color: var(--pop); }
.sp-stat__label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 9px; max-width: 18ch; }
.sp-logos { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.sp-logos__lab { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-faint); width: 100%; margin-bottom: 4px; }
.sp-logo { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: var(--on-dark); opacity: .4; transition: opacity .25s; }
.sp-logo:hover { opacity: .75; }
@media (max-width: 760px){
  .sp-strip__grid { grid-template-columns: 1fr; gap: 32px; }
  .sp-strip__div { display: none; }
}

/* =========================================================================
   ABOUT JARED (semi-dark, slightly lighter than ink)
   ========================================================================= */
.about { background: var(--ink-2); }
.about__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.about__photo {
  border-radius: 10px; overflow: hidden; background: var(--ink-3); border: 1px solid var(--line-dark);
  position: relative;
}
.about__photo image-slot { width: 100%; aspect-ratio: 4/5; display: block; --image-slot-bg: var(--ink-3); }
.about__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px,2.8vw,38px); letter-spacing: -.02em; color: var(--on-dark); margin: 14px 0 0; }
.about__role { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--pop); margin-top: 8px; }
.about__bio { color: var(--on-dark-muted); font-size: clamp(16.5px,1.5vw,18.5px); line-height: 1.65; margin-top: 22px; max-width: 56ch; }
.about__bio strong { color: var(--on-dark); font-weight: 600; }
.about__trust {
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--on-dark-muted);
}
.about__trust b { color: var(--pop); font-weight: 700; }
@media (max-width: 720px){ .about__grid { grid-template-columns: 1fr; } .about__photo { max-width: 320px; } }

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.tq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); margin-top: clamp(34px,4vw,48px); }
.tq {
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 10px;
  padding: clamp(28px,3vw,40px); border-left: 3px solid var(--pop);
}
.tq__mark { font-family: var(--font-display); font-weight: 800; font-size: 72px; line-height: .55; color: var(--pop); display: block; height: 38px; user-select: none; }
.tq__text { font-family: var(--font-display); font-weight: 600; font-size: clamp(19px,1.8vw,24px); line-height: 1.35; letter-spacing: -.01em; color: var(--on-dark); }
.tq__by { margin-top: 22px; }
.tq__name { font-weight: 700; font-size: 16px; color: var(--on-dark); }
.tq__role { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 5px; }
@media (max-width: 720px){ .tq-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   SECOND CTA (repeat optin, centred single column)
   ========================================================================= */
.cta2 { text-align: center; }
.cta2 .wrap { display: flex; flex-direction: column; align-items: center; }
.cta2 h2 { max-width: 20ch; margin: 16px 0 16px; }
.cta2__sub { max-width: 52ch; margin-bottom: 32px; }
.cta2 .optin-form { justify-content: center; }
.cta2 .optin-ok { justify-content: center; }
.cta2 .optin-micro { text-align: center; }

/* =========================================================================
   MINIMAL FOOTER (optin)
   ========================================================================= */
.footer--min { padding-block: clamp(36px,4vw,52px); }
.footer--min .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer--min .footer__logo { font-size: 22px; }
.footer--min .footer__copy { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--on-dark-faint); }


/* ======================================================
   BLOG POST — single.php
   ====================================================== */
/* =========================================================================
   PIQUE — Blog Post (single article) styles
   Extends pique.css + reuses pique-blog.css (.nl-strip, .optin-form, .bchip,
   .author-chip). No new colors/fonts — established tokens only.
   ========================================================================= */

/* ---- Reading progress bar (fixed, above nav) ---- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: var(--pop); transition: width .1s linear; }

/* =========================================================================
   ARTICLE HERO — text-forward on dark
   ========================================================================= */
.post-hero { padding-top: 128px; padding-bottom: clamp(36px, 4.5vw, 60px); }
.post-hero__inner { max-width: 880px; }
.post-hero__meta-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.post-hero h1 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; line-height: 1.02;
  font-size: clamp(34px, 5vw, 62px); color: var(--on-dark); max-width: 20ch;
}
.post-hero__standfirst { font-size: clamp(18px, 1.8vw, 23px); line-height: 1.5; color: var(--on-dark-muted); margin-top: 22px; max-width: 60ch; }

/* byline row */
.byline { display: flex; align-items: center; gap: 16px; margin-top: clamp(28px, 3.5vw, 40px); padding-top: 26px; border-top: 1px solid var(--line-dark); }
.byline__av { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--ink-3); border: 1px solid var(--line-dark); }
.byline__av image-slot { width: 100%; height: 100%; --image-slot-bg: var(--ink-3); }
.byline__name { font-weight: 700; font-size: 16px; color: var(--on-dark); }
.byline__sub { font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; color: var(--on-dark-muted); margin-top: 4px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.byline__sub i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; display: inline-block; }

/* back-to-blog link */
.post-back {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--on-dark-muted);
  transition: color .2s, gap .2s;
}
.post-back:hover { color: var(--pop); gap: 13px; }
.post-back .ar { transition: transform .2s; }
.post-back:hover .ar { transform: translateX(-3px); }

/* =========================================================================
   OPTIONAL BANNER / FEATURED IMAGE
   Bridges the text-forward header and the body. Collapses on the published
   page when empty (mirrors a WP if(get_field('banner')) conditional); stays
   visible & fillable inside the editor.
   ========================================================================= */
.post-body { padding-top: clamp(34px, 4vw, 54px); }   /* tighter than default section-y so there's no dead band */
.post-banner { margin-bottom: clamp(34px, 4vw, 54px); }
.post-banner__frame {
  border-radius: 10px; overflow: hidden; border: 1px solid var(--line-light);
  background: var(--ink-2); box-shadow: 0 30px 64px -38px rgba(0,0,0,.45);
  aspect-ratio: 21 / 9;
}
.post-banner__frame image-slot { width: 100%; height: 100%; display: block; --image-slot-bg: var(--ink-2); }
.post-banner__cap { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .03em; color: var(--on-light-muted); margin-top: 12px; padding-left: 2px; display: flex; gap: 9px; }
.post-banner__cap::before { content: ""; flex-shrink: 0; width: 16px; height: 1px; background: var(--accent); margin-top: .7em; }
.post-banner.is-collapsed { display: none; }
@media (max-width: 620px){ .post-banner__frame { aspect-ratio: 16 / 10; } }

/* =========================================================================
   ARTICLE BODY LAYOUT — content + sticky sidebar
   ========================================================================= */
.post-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 248px; gap: clamp(36px, 5vw, 80px); align-items: start; }
.post-wrap > .prose { grid-column: 1; grid-row: 1; }

/* sticky sidebar (TOC + share) — pinned to the right rail regardless of DOM order */
.post-aside { grid-column: 2; grid-row: 1; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 34px; }
.toc__label, .share__label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-light-muted); margin-bottom: 16px; }
.toc__list { list-style: none; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line-light); }
.toc__list a {
  display: block; font-size: 14.5px; line-height: 1.4; color: var(--on-light-muted);
  padding: 8px 0 8px 16px; margin-left: -1px; border-left: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.toc__list a:hover { color: var(--on-light); }
.toc__list a.active { color: var(--accent); border-left-color: var(--accent); font-weight: 600; }
.share { padding-top: 30px; border-top: 1px solid var(--line-light); }
.share__row { display: flex; gap: 10px; }
.share__btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-light);
  display: grid; place-items: center; color: var(--on-light-muted); cursor: pointer; background: transparent;
  transition: border-color .2s, color .2s, transform .2s;
}
.share__btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.share__btn svg { width: 17px; height: 17px; }

@media (max-width: 920px){
  .post-wrap { grid-template-columns: 1fr; }
  .post-wrap > .prose, .post-aside { grid-column: auto; grid-row: auto; }
  .post-aside { position: static; flex-direction: row; flex-wrap: wrap; gap: 28px 48px; order: -1; margin-bottom: 8px; padding-bottom: 26px; border-bottom: 1px solid var(--line-light); }
  .toc { display: none; } /* TOC redundant on narrow; keep share */
  .share { border-top: none; padding-top: 0; }
}

/* =========================================================================
   PROSE — the article content
   ========================================================================= */
.prose { max-width: 720px; font-size: 18.5px; line-height: 1.72; color: var(--on-light); }
.prose > * + * { margin-top: 26px; }
.prose p { color: var(--on-light); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose strong { font-weight: 700; color: var(--ink); }
.prose em { font-style: italic; }

/* lead paragraph */
.prose .lead { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.55; color: var(--ink); font-weight: 500; }

/* headings */
.prose h2 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: 1.1;
  font-size: clamp(26px, 2.8vw, 36px); color: var(--ink);
  margin-top: clamp(46px, 5vw, 64px); scroll-margin-top: 92px;
}
.prose h2 .n { font-family: var(--font-mono); font-size: .42em; font-weight: 700; color: var(--accent); letter-spacing: .1em; vertical-align: middle; margin-right: 14px; }
.prose h3 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; line-height: 1.18;
  font-size: clamp(21px, 2vw, 26px); color: var(--ink); margin-top: clamp(34px, 3.5vw, 44px);
}

/* lists */
.prose ul, .prose ol { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 13px; }
.prose ul li, .prose ol li { position: relative; padding-left: 34px; line-height: 1.6; }
.prose ul li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--pop); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); }
.prose ol { counter-reset: li; }
.prose ol li { counter-increment: li; }
.prose ol li::before { content: counter(li,decimal-leading-zero); position: absolute; left: 0; top: .05em; font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent); }

/* pull quote */
.prose .pquote {
  margin-block: clamp(38px, 4.5vw, 56px); padding: 4px 0 4px 30px; border-left: 3px solid var(--pop);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(23px, 2.6vw, 32px); line-height: 1.28;
  letter-spacing: -.01em; color: var(--ink); max-width: 100%;
}

/* callout / tip box */
.callout {
  margin-block: clamp(34px, 4vw, 48px); background: var(--ink); color: var(--on-dark);
  border-radius: 8px; padding: clamp(26px, 3vw, 36px); position: relative; overflow: hidden;
}
.callout__tag { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pop); margin-bottom: 14px; }
.callout__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pop); }
.callout p { color: var(--on-dark-muted); font-size: 16.5px; line-height: 1.6; margin: 0; }
.callout p strong { color: var(--on-dark); }
.callout h4 { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--on-dark); margin: 0 0 8px; letter-spacing: -.01em; }

/* inline figure (image slot + caption) */
.figure { margin-block: clamp(34px, 4vw, 52px); }
.figure__frame { border-radius: 8px; overflow: hidden; border: 1px solid var(--line-light); background: var(--ink-2); aspect-ratio: 16/9; }
.figure__frame image-slot { width: 100%; height: 100%; display: block; --image-slot-bg: var(--ink-2); }
.figure__cap { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .03em; color: var(--on-light-muted); margin-top: 12px; padding-left: 2px; display: flex; gap: 9px; }
.figure__cap::before { content: ""; flex-shrink: 0; width: 16px; height: 1px; background: var(--accent); margin-top: .7em; }
/* full-bleed-ish wide figure breaks the measure */
.figure--wide { max-width: none; width: 100%; }

/* stat highlight row */
.stat-row {
  margin-block: clamp(38px, 4.5vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-light); border: 1px solid var(--line-light); border-radius: 8px; overflow: hidden;
}
.stat-row__cell { background: var(--bone); padding: 26px 24px; }
.section--paper .stat-row__cell { background: var(--paper); }
.stat-row__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; letter-spacing: -.03em; color: var(--accent); }
.stat-row__rule { width: 34px; height: 3px; background: var(--pop); border-radius: 2px; margin: 13px 0 11px; }
.stat-row__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-light-muted); line-height: 1.4; }
@media (max-width: 620px){ .stat-row { grid-template-columns: 1fr; } }

/* divider */
.prose hr { border: none; height: 1px; background: var(--line-light); margin-block: clamp(40px, 5vw, 60px); }

/* =========================================================================
   AUTHOR BIO CARD (end of article)
   ========================================================================= */
.author-card {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(22px, 3vw, 36px); align-items: start;
  background: var(--ink); color: var(--on-dark); border-radius: 12px; padding: clamp(28px, 3.4vw, 44px);
  margin-top: clamp(48px, 6vw, 72px);
}
.author-card__photo { width: clamp(84px, 11vw, 128px); height: clamp(84px, 11vw, 128px); border-radius: 12px; overflow: hidden; background: var(--ink-3); border: 1px solid var(--line-dark); flex-shrink: 0; }
.author-card__photo image-slot { width: 100%; height: 100%; --image-slot-bg: var(--ink-3); }
.author-card__eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pop); }
.author-card__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; color: var(--on-dark); margin-top: 8px; }
.author-card__role { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--on-dark-muted); margin-top: 6px; }
.author-card__bio { color: var(--on-dark-muted); font-size: 16px; line-height: 1.62; margin-top: 16px; max-width: 60ch; }
.author-card__cta { margin-top: 20px; display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--pop); }
.author-card__cta .arr { transition: transform .25s; }
.author-card__cta:hover .arr { transform: translateX(5px); }
@media (max-width: 560px){ .author-card { grid-template-columns: 1fr; } }

/* mid-article newsletter strip spacing (reuses .nl-strip from pique-blog.css) */
.post-nl { margin-block: clamp(46px, 5.5vw, 68px); }
