/* AI Trimind News — the footer's word: AI TRIMIND torn out of the paper, the press room running behind its letters. */
body.atn .foot .press { position: relative; flex: 1 0 100%; aspect-ratio: 2000 / 520; margin: 8px 0 14px; }
body.paper-page .foot .press { background: #e9e5da; }
.press-win { position: absolute; inset: 0; background: #1d1c1a; -webkit-mask: url(/art/cut/word-mask.webp) center / 100% 100% no-repeat; mask: url(/art/cut/word-mask.webp) center / 100% 100% no-repeat; }
.press-win img, .press-win video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.press-loop { opacity: 0; transition: opacity .4s linear; }
.press-loop.on { opacity: 1; }
.press-rim { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }

/* The cut-outs beside the text. On a wide page they stand in the margin, level with the section they belong to; on a
   narrow one the text runs round them. Only transform and opacity move. */
body.atn .prose { position: relative; }
.prose .cut { margin: 0; }
.prose .cut img { display: block; width: 100%; height: auto; }
.cut-host { position: relative; }
.cut-host::after { content: ""; display: block; clear: both; }
.cut { transition: transform .3s var(--atn-ease); }
.cut-right { float: right; width: 34%; max-width: 170px; margin: 0 0 8px 14px !important; }
.cut-loupe { transform: rotate(5deg); }
.cut-loupe.run img { animation: cut-drift 9s ease-in-out infinite alternate; }
@keyframes cut-drift { to { transform: translate3d(-12px, 9px, 0) rotate(-4deg); } }
.cut-bundle { transform: rotate(-3deg); }
.cut-bundle.in img { animation: cut-drop .62s cubic-bezier(.3, 0, .3, 1) backwards; transform-origin: 50% 100%; }
@keyframes cut-drop { 0% { opacity: 0; transform: translate3d(0, -70px, 0) rotate(5deg); } 62% { opacity: 1; transform: translate3d(0, 0, 0) scale(1.05, .92); } 82% { transform: scale(.98, 1.03); } 100% { transform: none; } }
.cut-right.cut-phone { width: 58px; }
.cut-phone img { transform-origin: 50% 0; }
.cut-phone.run img { animation: cut-swing 3.4s ease-in-out infinite alternate; }
@keyframes cut-swing { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
/* Corrections: the red pencil strikes the line from its end to its start, then lies down under the slip; the stamp */
.cut-fix { position: relative; float: none; width: min(300px, 100%); height: 112px; margin: 18px auto 2px !important; }
.fix-slip { position: absolute; left: 0; right: 0; top: 8px; margin: 0 !important; padding: 8px 12px; background: #f1eee5; box-shadow: 0 0 0 1px rgba(29, 28, 26, .14); font: italic 400 19px/1.2 Georgia, serif; color: #1d1c1a; transform: rotate(-1deg); }
.fix-slip span { position: relative; display: inline-block; }
.fix-strike { position: absolute; left: -4px; right: -4px; top: 52%; height: 3px; background: #9e2a1f; transform-origin: 100% 50%; }
.cut-fix.in .fix-strike { animation: fix-strike .62s cubic-bezier(.45, 0, .55, 1) .2s backwards; }
@keyframes fix-strike { from { transform: scaleX(0); } }
.cut-fix img { position: absolute; left: 4%; top: 58px; width: 76%; transform: rotate(-2deg); }
.cut-fix.in img { animation: fix-pencil .95s linear .2s backwards; }
@keyframes fix-pencil {
  0% { transform: translate3d(200px, -46px, 0) rotate(-1deg); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  65% { transform: translate3d(0, -46px, 0) rotate(-1deg); animation-timing-function: cubic-bezier(.3, 0, .3, 1); }
  100% { transform: rotate(-2deg); }
}
.fix-stamp { position: absolute; right: -4px; top: -4px; padding: 6px 9px 5px; background: #e9e5da; border: 2.5px solid #9e2a1f; color: #9e2a1f; font: 900 12px/1 "Arial Black", Arial, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; transform: rotate(-8deg); }
.cut-fix.in .fix-stamp { animation: fix-stamp .3s cubic-bezier(.3, 0, .2, 1) 1.2s backwards; }
@keyframes fix-stamp { from { opacity: 0; transform: rotate(-8deg) scale(2.4); } }
/* Feed: the mailbox, its red flag a piece of its own that goes up on its bolt when the box comes on screen (site/press.js
   lowers it first, so without scripts it is simply up), and drops and rises again when the address is copied */
@font-face { font-family: Typed; src: url(/fonts/courier-prime-400.woff2) format('woff2'); font-display: swap; }
.cut-mailbox { position: relative; transform: rotate(1.5deg); }
.prose .cut-mailbox .flag { position: absolute; inset: 0; height: 100%; transform-origin: 58.1% 40.4%; }
.prose .cut-mailbox.armed .flag { transform: rotate(82deg); }
.prose .cut-mailbox.armed.in .flag { transform: none; transition: transform .62s cubic-bezier(.3, 1.55, .5, 1) .3s; }
.prose .cut-mailbox.sent .flag { animation: mail-flag .8s cubic-bezier(.4, 0, .3, 1); }
@keyframes mail-flag { 40% { transform: rotate(82deg); } }
.prose .feed-copy { min-width: 262px; }
/* in a column as wide as the screen, the pencil's run and the stamp's fall must not widen the page while they move */
@media (max-width: 1319px) {
  body.atn .prose { overflow-x: clip; }
  .cut-mailbox { float: right; width: 36%; max-width: 190px; margin: 0 0 8px 14px !important; }
}
@media (hover: hover) { .cut-right:hover { transform: translate3d(0, -4px, 0) rotate(-2deg); } }
@media (min-width: 1320px) {
  .cut-right, .cut-left { position: absolute; float: none; margin: 0 !important; }
  .cut-right { left: 100%; width: 190px; max-width: none; margin-left: 30px !important; }
  .cut-left { right: 100%; width: 270px; margin-right: 30px !important; }
  .cut-bundle { width: 230px; margin-top: 30px !important; }
  .cut-mailbox { top: -34px; }
  .feed-host { min-height: 236px; }
  .cut-right.cut-phone { width: 98px; top: auto; bottom: -30px; margin-left: 96px !important; }
}
@media (prefers-reduced-motion: reduce) { .cut, .cut * { animation: none !important; transition: none !important; } }
