/* ═══════════════════════════════════════════════════════════════════════
   CAPITOL — clipping.css            (#2  Resolution clipping — outcome as newsprint)
   One CSS file + the skeleton in skeletons/clipping.html.
   Drops into the story column. Torn edge, newsprint grain, tape, coffee ring,
   slight rotation, drop shadow. Animation = transform/opacity only.
   Needs ONE shared <svg> filter in the page for the rough stamp (see skeleton; optional).
   ═══════════════════════════════════════════════════════════════════════ */

.clipping {
  --np-ink: #1b1810;
  --np-ink-soft: #3d3626;
  --np-red: #a8201e;
  --np-cream: #f2e7c6;
  --np-cream-2: #e4d3a0;
  --np-up: #1a6b32;
  --np-down: #a8201e;
  --np-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .32  0 0 0 0 .12  0 0 0 .55 -.12'/></filter><rect width='100%' height='100%' filter='url(%23p)'/></svg>");
  --tear: polygon(0.00% 0.36%,2.17% 0.90%,4.35% 1.48%,6.52% 0.75%,8.70% 0.81%,10.87% 0.94%,13.04% 0.30%,15.22% 0.82%,17.39% 1.01%,19.57% 1.27%,21.74% 0.15%,23.91% 0.49%,26.09% 0.15%,28.26% 1.30%,30.43% 1.11%,32.61% 0.07%,34.78% 1.57%,36.96% 1.54%,39.13% 1.05%,41.30% 0.98%,43.48% 0.25%,45.65% 0.02%,47.83% 0.85%,50.00% 0.10%,52.17% 0.30%,54.35% 0.39%,56.52% 0.05%,58.70% 0.74%,60.87% 0.70%,63.04% 1.35%,65.22% 0.83%,67.39% 1.02%,69.57% 0.80%,71.74% 1.06%,73.91% 0.73%,76.09% 0.45%,78.26% 1.60%,80.43% 1.59%,82.61% 1.34%,84.78% 1.13%,86.96% 0.50%,89.13% 0.37%,91.30% 0.46%,93.48% 0.11%,95.65% 1.23%,97.83% 0.64%,100.00% 0.68%,99.65% 3.33%,99.14% 6.67%,99.24% 10.00%,100.00% 13.33%,99.81% 16.67%,99.18% 20.00%,99.58% 23.33%,99.12% 26.67%,99.64% 30.00%,99.93% 33.33%,99.43% 36.67%,99.30% 40.00%,99.76% 43.33%,99.92% 46.67%,99.70% 50.00%,99.13% 53.33%,99.32% 56.67%,99.89% 60.00%,99.78% 63.33%,99.91% 66.67%,99.95% 70.00%,99.28% 73.33%,99.84% 76.67%,99.50% 80.00%,99.60% 83.33%,99.83% 86.67%,99.34% 90.00%,99.88% 93.33%,99.42% 96.67%,100.00% 99.77%,97.83% 99.16%,95.65% 99.57%,93.48% 99.46%,91.30% 98.06%,89.13% 98.39%,86.96% 99.39%,84.78% 98.23%,82.61% 99.58%,80.43% 99.21%,78.26% 98.29%,76.09% 98.72%,73.91% 99.80%,71.74% 98.02%,69.57% 99.57%,67.39% 99.48%,65.22% 98.45%,63.04% 99.34%,60.87% 99.41%,58.70% 99.85%,56.52% 99.82%,54.35% 98.83%,52.17% 99.51%,50.00% 98.80%,47.83% 99.26%,45.65% 99.09%,43.48% 98.08%,41.30% 99.03%,39.13% 98.85%,36.96% 98.27%,34.78% 99.63%,32.61% 99.69%,30.43% 98.18%,28.26% 98.36%,26.09% 99.50%,23.91% 99.62%,21.74% 98.52%,19.57% 98.12%,17.39% 99.61%,15.22% 98.10%,13.04% 98.24%,10.87% 98.79%,8.70% 99.16%,6.52% 99.79%,4.35% 99.92%,2.17% 98.07%,0.00% 99.52%,0.63% 96.67%,0.23% 93.33%,0.74% 90.00%,0.54% 86.67%,0.26% 83.33%,0.16% 80.00%,0.65% 76.67%,0.06% 73.33%,0.21% 70.00%,0.50% 66.67%,0.77% 63.33%,0.55% 60.00%,0.25% 56.67%,0.83% 53.33%,0.18% 50.00%,0.01% 46.67%,0.24% 43.33%,0.40% 40.00%,0.05% 36.67%,0.16% 33.33%,0.33% 30.00%,0.51% 26.67%,0.12% 23.33%,0.33% 20.00%,0.80% 16.67%,0.88% 13.33%,0.59% 10.00%,0.62% 6.67%,0.53% 3.33%);

  position: relative;
  margin: 22px 3px 8px;
  container-type: inline-size;
  transform: rotate(-.9deg);
  filter: drop-shadow(0 16px 16px rgba(0, 0, 0, .5)) drop-shadow(0 2px 3px rgba(0, 0, 0, .45));
  animation: clip-slap .75s cubic-bezier(.2, .9, .25, 1.06) both;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--np-ink);
}
.clipping.tear-b { --tear: polygon(0.00% 0.44%,1.92% 0.55%,3.85% 1.35%,5.77% 0.46%,7.69% 0.82%,9.62% 0.55%,11.54% 0.66%,13.46% 1.56%,15.38% 0.17%,17.31% 0.71%,19.23% 0.36%,21.15% 0.56%,23.08% 1.60%,25.00% 0.53%,26.92% 0.97%,28.85% 0.67%,30.77% 1.17%,32.69% 0.72%,34.62% 0.27%,36.54% 0.69%,38.46% 0.65%,40.38% 1.27%,42.31% 0.90%,44.23% 0.31%,46.15% 1.08%,48.08% 0.48%,50.00% 0.82%,51.92% 0.35%,53.85% 0.66%,55.77% 1.26%,57.69% 0.83%,59.62% 1.20%,61.54% 1.21%,63.46% 0.94%,65.38% 1.03%,67.31% 0.64%,69.23% 0.99%,71.15% 1.24%,73.08% 0.16%,75.00% 1.50%,76.92% 0.59%,78.85% 0.22%,80.77% 0.24%,82.69% 0.55%,84.62% 0.11%,86.54% 0.64%,88.46% 0.66%,90.38% 1.05%,92.31% 0.75%,94.23% 1.50%,96.15% 1.05%,98.08% 0.51%,100.00% 0.70%,99.37% 2.94%,99.13% 5.88%,99.34% 8.82%,99.13% 11.76%,99.82% 14.71%,99.75% 17.65%,99.12% 20.59%,99.98% 23.53%,99.17% 26.47%,99.18% 29.41%,99.88% 32.35%,99.86% 35.29%,99.18% 38.24%,99.14% 41.18%,99.22% 44.12%,99.35% 47.06%,99.32% 50.00%,99.72% 52.94%,99.99% 55.88%,99.43% 58.82%,99.21% 61.76%,99.15% 64.71%,99.54% 67.65%,99.99% 70.59%,99.84% 73.53%,99.60% 76.47%,99.79% 79.41%,99.98% 82.35%,99.83% 85.29%,99.55% 88.24%,99.89% 91.18%,99.90% 94.12%,99.85% 97.06%,100.00% 99.93%,98.08% 98.43%,96.15% 98.27%,94.23% 99.60%,92.31% 98.73%,90.38% 98.25%,88.46% 99.51%,86.54% 99.33%,84.62% 98.24%,82.69% 98.48%,80.77% 98.76%,78.85% 98.41%,76.92% 98.85%,75.00% 99.37%,73.08% 98.63%,71.15% 98.43%,69.23% 99.89%,67.31% 99.36%,65.38% 99.41%,63.46% 98.23%,61.54% 99.42%,59.62% 98.65%,57.69% 99.13%,55.77% 99.24%,53.85% 99.00%,51.92% 98.21%,50.00% 98.68%,48.08% 99.22%,46.15% 99.70%,44.23% 99.31%,42.31% 99.06%,40.38% 98.71%,38.46% 98.00%,36.54% 99.35%,34.62% 98.12%,32.69% 98.18%,30.77% 99.11%,28.85% 99.56%,26.92% 99.53%,25.00% 98.16%,23.08% 99.65%,21.15% 98.70%,19.23% 98.70%,17.31% 99.67%,15.38% 99.94%,13.46% 98.72%,11.54% 99.89%,9.62% 98.90%,7.69% 98.06%,5.77% 99.07%,3.85% 99.38%,1.92% 99.79%,0.00% 99.40%,0.29% 97.06%,0.11% 94.12%,0.63% 91.18%,0.54% 88.24%,0.65% 85.29%,0.10% 82.35%,0.23% 79.41%,0.83% 76.47%,0.01% 73.53%,0.33% 70.59%,0.74% 67.65%,0.21% 64.71%,0.20% 61.76%,0.57% 58.82%,0.23% 55.88%,0.30% 52.94%,0.35% 50.00%,0.27% 47.06%,0.59% 44.12%,0.66% 41.18%,0.68% 38.24%,0.88% 35.29%,0.07% 32.35%,0.23% 29.41%,0.89% 26.47%,0.72% 23.53%,0.68% 20.59%,0.20% 17.65%,0.12% 14.71%,0.25% 11.76%,0.80% 8.82%,0.68% 5.88%,0.33% 2.94%); transform: rotate(.7deg); }
@keyframes clip-slap {
  from { transform: translateY(34px) rotate(-5deg) scale(.93); opacity: 0; }
  60%  { opacity: 1; }
  to   { opacity: 1; }
}

/* ── the sheet itself (clip-path gives the torn edge; shadow lives on the wrapper) ── */
.clip-sheet {
  position: relative;
  clip-path: var(--tear);
  padding: 4.6cqw 5.4cqw 6.6cqw;
  background:
    radial-gradient(ellipse at 12% 8%, rgba(170, 120, 40, .22), transparent 38%),
    radial-gradient(ellipse at 92% 96%, rgba(150, 100, 30, .28), transparent 42%),
    var(--np-grain),
    linear-gradient(180deg, #f7edcd 0%, var(--np-cream) 50%, var(--np-cream-2) 100%);
}
.clip-sheet > * { position: relative; z-index: 1; }
/* the fold crease */
.clip-sheet::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 56.8%, rgba(80, 50, 10, .16) 57.3%, rgba(255, 255, 255, .38) 57.7%, transparent 58.4%);
}

/* ── masthead + dateline ── */
.clip-mast {
  display: flex; align-items: center; justify-content: center; gap: 2.4cqw;
  font: 700 3.9cqw/1 Georgia, serif; letter-spacing: .2em; text-transform: uppercase; padding: 0 0 1.8cqw 1.2cqw; white-space: nowrap;
  border-bottom: .5cqw solid var(--np-ink);
}
.clip-mast i { font-style: normal; font-size: 3.4cqw; color: var(--np-red); }
.clip-dateline {
  display: flex; justify-content: space-between; gap: 3cqw; padding: 1.6cqw 0;
  font: 700 2.5cqw/1 Georgia, serif; letter-spacing: .2em; text-transform: uppercase; color: #52472d;
  border-bottom: .8cqw double var(--np-ink);
}

/* ── headline ── */
.clip-headline {
  margin: 3.4cqw 0 2.6cqw; text-align: center; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; hyphens: auto;
  font: 900 8.2cqw/1.04 Georgia, 'Times New Roman', serif; letter-spacing: -.012em; color: #14120b;
}
.clip-headline.long { font-size: 6.6cqw; }
.clip-headline small { display: block; margin-bottom: 1.4cqw; font: 700 2.9cqw/1 Georgia, serif; letter-spacing: .3em; color: var(--np-red); }

/* ── verdict stamp (slams onto the headline) ── */
.clip-stamp-wrap { position: relative; z-index: 3; width: fit-content; margin: 0 1cqw -7cqw auto; transform-origin: 60% 60%;
  animation: clip-stamp .5s cubic-bezier(.3, .9, .3, 1) .55s both; }
.clip-stamp-wrap .rough { filter: url(#np-rough); }
.clip-stamp {
  display: block; text-align: center; padding: 1.5cqw 3.2cqw 1.2cqw; max-width: 62cqw;
  font: 900 7cqw/1.02 Impact, 'Haettenschweiler', 'Arial Black', sans-serif; letter-spacing: .07em; text-transform: uppercase;
  border: .9cqw double currentColor; border-radius: 1.4cqw; color: #33406b; mix-blend-mode: multiply; background: rgba(255, 255, 255, .08);
}
.clip-stamp.stamp-good { color: #17702f; }
.clip-stamp.stamp-bad { color: #b01c1c; }
.clip-stamp.stamp-neutral { color: #33406b; }
@keyframes clip-stamp {
  from { transform: scale(3.2) rotate(-26deg); opacity: 0; }
  55%  { transform: scale(.94) rotate(-12deg); opacity: 1; }
  to   { transform: scale(1) rotate(-11deg); opacity: 1; }
}

/* ── article body ── */
.clip-body { margin-top: 3cqw; font-size: max(14px, 3.7cqw); line-height: 1.58; text-align: justify; hyphens: auto; color: #26221a; }
.clip-body p + p { margin-top: .7em; text-indent: 1.4em; }
.clip-body p:first-child::first-letter {
  float: left; font: 900 3.35em/.78 Georgia, serif; padding: .06em .1em 0 0; color: var(--np-red);
}
@container (min-width: 520px) { .clip-body { column-count: 2; column-gap: 5cqw; column-rule: 1px solid rgba(27, 24, 16, .35); } }

/* ── "in plain words" ── */
.clip-plain {
  margin-top: 3.6cqw; padding: 2.4cqw 3cqw; font: italic max(13px, 3.4cqw)/1.5 Georgia, serif; color: #3a3322;
  border-top: 1px solid rgba(27, 24, 16, .5); border-bottom: 1px solid rgba(27, 24, 16, .5);
  background: repeating-linear-gradient(135deg, rgba(27, 24, 16, .035) 0 6px, transparent 6px 12px);
}
.clip-plain b { font: 700 2.5cqw/1 Georgia, serif; font-style: normal; letter-spacing: .26em; text-transform: uppercase; color: var(--np-red); display: block; margin-bottom: 1.2cqw; }

/* ── effect chips: little inked ticket stubs ── */
.clip-chips { display: flex; flex-wrap: wrap; gap: 2cqw; margin-top: 3.6cqw; }
.clip-chips .chip {
  display: inline-flex; align-items: center; gap: 1.4cqw; padding: 1.2cqw 2.6cqw; border: .45cqw solid currentColor; border-radius: 1cqw; transform: rotate(-.6deg);
  font: 700 max(11px, 2.9cqw)/1 Georgia, serif; letter-spacing: .1em; text-transform: uppercase; background: rgba(255, 255, 255, .22);
}
.clip-chips .chip:nth-child(even) { transform: rotate(.7deg); }
.clip-chips .chip.up { color: var(--np-up); }
.clip-chips .chip.down { color: var(--np-down); }
.clip-chips .chip.zero { color: #6a6048; border-style: dashed; }
.clip-chips .chip.up::before { content: "▲"; font-size: .8em; }
.clip-chips .chip.down::before { content: "▼"; font-size: .8em; }

/* ── The Prince lesson box (base look; polish.css adds the ink-in + quill) ── */
.clipping .prince {
  position: relative; margin-top: 4.4cqw; padding: 3.4cqw 4cqw 3.2cqw; border: .45cqw solid var(--np-ink); outline: .4cqw solid var(--np-ink); outline-offset: -1.6cqw;
  background: rgba(27, 24, 16, .045);
}
.clipping .prince-kicker { font: 700 2.4cqw/1.2 Georgia, serif; letter-spacing: .24em; text-transform: uppercase; color: #6a5d3f; }
.clipping .prince-maxim { margin-top: 1.6cqw; font: italic 700 max(16px, 4.6cqw)/1.28 Georgia, serif; color: #14120b; }
.clipping .prince-note { margin-top: 1.6cqw; font: max(12.5px, 3.2cqw)/1.5 Georgia, serif; color: #3a3322; }

.clip-after { margin-top: 3.6cqw; font: italic max(13px, 3.3cqw)/1.5 Georgia, serif; color: #3a3322; }
.clip-foot { margin-top: 4cqw; text-align: center; font: 700 2.3cqw/1 Georgia, serif; letter-spacing: .3em; color: #6c6044; }

/* ── tape + coffee ring ── */
.clip-tape {
  position: absolute; z-index: 4; top: -12px; left: 50%; width: 92px; height: 28px; margin-left: -46px; transform: rotate(-3.5deg);
  background: linear-gradient(180deg, rgba(240, 220, 120, .78), rgba(222, 198, 92, .72));
  clip-path: polygon(0 8%, 4% 0, 8% 10%, 12% 0, 16% 8%, 20% 0, 24% 10%, 28% 0, 32% 8%, 36% 0, 40% 10%, 44% 0, 48% 8%, 52% 0, 56% 10%, 60% 0, 64% 8%, 68% 0, 72% 10%, 76% 0, 80% 8%, 84% 0, 88% 10%, 92% 0, 96% 8%, 100% 0, 100% 92%, 96% 100%, 92% 90%, 88% 100%, 84% 92%, 80% 100%, 76% 90%, 72% 100%, 68% 92%, 64% 100%, 60% 90%, 56% 100%, 52% 92%, 48% 100%, 44% 90%, 40% 100%, 36% 92%, 32% 100%, 28% 90%, 24% 100%, 20% 92%, 16% 100%, 12% 90%, 8% 100%, 4% 92%, 0 100%);
}
.clip-ring {
  position: absolute !important; z-index: 0 !important; right: -3.5cqw; bottom: 9cqw; width: 23cqw; height: 23cqw; border-radius: 50%; transform: rotate(-24deg); pointer-events: none;
  border: 1.5cqw solid rgba(112, 64, 22, .2);
  box-shadow: inset 0 0 1.4cqw rgba(112, 64, 22, .22), 0 0 1.1cqw rgba(112, 64, 22, .16);
  -webkit-mask: conic-gradient(#000 0 292deg, transparent 292deg 338deg, #000 338deg);
          mask: conic-gradient(#000 0 292deg, transparent 292deg 338deg, #000 338deg);
}
.clip-ring::after { content: ""; position: absolute; right: -4cqw; bottom: 2cqw; width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: rgba(112, 64, 22, .22); }

/* tone hint: a faint ink bleed colour along the left margin */
.clipping[data-tone=good] .clip-sheet { box-shadow: inset 1.1cqw 0 0 -0.4cqw rgba(26, 107, 50, .28); }
.clipping[data-tone=bad]  .clip-sheet { box-shadow: inset 1.1cqw 0 0 -0.4cqw rgba(168, 32, 30, .3); }

@media (prefers-reduced-motion: reduce) {
  .clipping { animation: none; }
  .clip-stamp-wrap { animation: none; }
}
