/*
 * Jett Portfolio: cards, covers, filters, and project-page content.
 * Ported from site-mockups/portfolio/portfolio.css. Changes from the mockup:
 *   1. Hover effects key off .card[data-cover="..."] instead of a project's id,
 *      so renaming a project's slug can't break its animation.
 *   2. .box-street-cover is now .archive-cover--contain (reusable).
 *   3. The preview dialog gallery and drag-to-scroll rules were not ported.
 * Base card, grid and list-head rules live in the theme's site.css.
 */

.card-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 2 / 1;
}

.card-visual svg { display: block; width: min(94%, 23rem); height: 100%; }

.attribution-visual {
  grid-template-columns: auto auto auto;
  justify-content: center;
  gap: clamp(.5rem, 2vw, 1rem);
  border-bottom: 1px solid #ffffff36;
  background: #39243c;
  font: 500 clamp(1.75rem, 3.7vw, 3rem)/1 Georgia, serif;
  font-variant-numeric: tabular-nums;
}

.attribution-visual strong { color: var(--glacier-mint, #8ee5d3); font-weight: inherit; }
.attribution-visual small {
  display: block;
  margin-top: .45rem;
  font: 650 .68rem/1 system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.attribution-arrow { color: var(--glacier-mint, #8ee5d3); font-size: .65em; }
.routing-visual { background: #d4e5d9; }
.paid-call-visual {
  aspect-ratio: auto;
  min-height: 11rem;
  padding: 1rem;
  background: repeating-linear-gradient(135deg, #ffffff09 0 1px, transparent 1px 9px), #2f2936;
}
.paid-call-receipt {
  width: min(100%, 16rem);
  padding: .65rem .8rem .8rem;
  background: #f9edda;
  color: #3e2c42;
  border-bottom: 4px dotted #2f2936;
  box-shadow: 2px 5px 14px #120f1870;
  transform: rotate(-2deg);
}
.paid-call-heading {
  display: block;
  border-bottom: 1px dashed #927c86;
  padding-bottom: .4rem;
  font-size: .65rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.paid-call-receipt div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .6rem;
  margin-top: .35rem;
  font-size: .77rem;
}
.paid-call-receipt strong { font: 500 1.5rem/1 Georgia, serif; }
.website-visual { background: #e9ddea; }
.seo-visual, .awards-visual { aspect-ratio: auto; min-height: 11rem; overflow: hidden; }
.seo-visual {
  gap: .65rem;
  padding: .85rem 1rem;
  background: radial-gradient(#ffffff26 1px, transparent 1px) 0 0 / 12px 12px, #1e5145;
  color: #fffdf7;
}
.seo-search {
  width: min(100%, 19rem);
  border: 1px solid #bddbcc;
  border-radius: 7px;
  background: #f8f5e9;
  color: #1e5145;
  box-shadow: 0 4px 12px #142c2755;
}
.seo-query { padding: .32rem .55rem; border-bottom: 1px solid #bddbcc; font-size: .78rem; font-weight: 700; }
.seo-query span { margin-right: .2rem; }
.seo-result { display: grid; grid-template-columns: 1fr auto 1.25fr; gap: .45rem; align-items: center; padding: .5rem; }
.seo-result div { background: #e1ebe1; padding: .3rem .4rem; border-radius: 3px; }
.seo-result strong, .seo-result div span { display: block; }
.seo-result div span { font-size: .61rem; }
.seo-result strong { font-size: .76rem; line-height: 1.2; }
.seo-rank { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .2rem .65rem; font-size: .68rem; }
.seo-rank strong { color: var(--glacier-mint, #8ee5d3); font-size: .95rem; }
.awards-visual {
  position: relative;
  grid-template-columns: 1fr 1fr;
  gap: .3rem;
  padding: .85rem 1rem;
  background: radial-gradient(ellipse at 90% 80%, #31566c, #172c3d 72%);
  color: #fff3d8;
}
.awards-score { justify-self: start; }
.awards-score > strong { display: block; color: #f6cf81; font: 500 3.6rem/.9 Georgia, serif; }
.awards-score > span { display: block; font: 500 1.13rem/1.3 Georgia, serif; }
.awards-score > small { display: block; margin-top: .4rem; font-size: .65rem; line-height: 1.35; }
.awards-editions { position: relative; width: min(100%, 8rem); aspect-ratio: 1; }
.awards-editions img {
  position: absolute;
  width: 70%;
  height: auto;
  top: 0;
  left: 3%;
  transform: rotate(-11deg);
  box-shadow: 1px 4px 10px #0c1729a8;
}
.awards-editions img + img { top: 7%; left: 25%; transform: rotate(8deg); }

@media (prefers-reduced-motion: no-preference) {
  .card[data-cover="seo"]:is(:hover, :focus-within) .seo-result-arrow {
    animation: seo-link-pulse 850ms ease-in-out 2;
  }
  .card[data-cover="seo"]:is(:hover, :focus-within) .seo-result div:last-child {
    animation: seo-guide-pulse 850ms ease-in-out 2;
  }
  .awards-editions img { transition: transform 650ms cubic-bezier(.2, .7, .25, 1); }
  .card[data-cover="awards"]:is(:hover, :focus-within) .awards-editions img:first-child {
    transform: translate(-4px, 1px) rotate(-16deg);
  }
  .card[data-cover="awards"]:is(:hover, :focus-within) .awards-editions img:last-child {
    transform: translate(4px, -4px) rotate(12deg);
  }

  @keyframes seo-link-pulse {
    0%, 100% { transform: translateX(0); }
    45% { transform: translateX(3px); }
  }
  @keyframes seo-guide-pulse {
    0%, 25%, 100% { background-color: #e1ebe1; }
    60% { background-color: #bfe5d5; }
  }
}

.seo-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: .45rem;
  margin: .75rem 0;
}
.seo-map div { align-self: stretch; padding: .7rem; background: #e8efe7; }
.seo-map div span { display: block; font-size: .85rem; }
.seo-map figcaption { grid-column: 1 / -1; color: var(--soft, #51605a); font-size: .85rem; }

@media (prefers-reduced-motion: no-preference) {
  .card.shelf-enter {
    animation: shelf-enter 380ms cubic-bezier(.2, .72, .25, 1) var(--shelf-delay, 0ms) both;
  }

  @keyframes shelf-enter {
    from { opacity: .35; transform: translate(10px, 8px); }
    to { opacity: 1; transform: translate(0, 0); }
  }
}

.categories[data-portfolio-filters] {
  position: sticky;
  top: 0;
  z-index: 2;
  padding-block: .75rem;
  background: var(--paper, #f6f3ec);
}

.categories button {
  border: 1px solid var(--line, #c9cec4);
  border-radius: 3rem;
  padding: .45rem .85rem;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .88rem;
  cursor: pointer;
}

.categories button:hover { border-color: var(--accent, #175648); }
.categories button[aria-pressed="true"] {
  background: var(--accent, #175648);
  border-color: var(--accent, #175648);
  color: white;
}

/* Two levels: the main filters, then a narrower row for the active one.
   Ported from site-mockups/portfolio/portfolio.css. */
.categories[data-portfolio-filters] {
  flex-direction: column;
  align-items: flex-start;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
}

/* Sub-filters read as text tabs, not chips, so they never look like a second
   set of top-level choices. The [data-portfolio-filters] selector outranks the
   per-view chip styles in portfolio-views.css. */
.categories[data-portfolio-filters] .filter-row--sub {
  gap: .25rem 1.2rem;
  padding-left: .2rem;
}

.categories[data-portfolio-filters] .filter-row--sub[hidden] { display: none; }

.filter-row-label {
  color: var(--soft, #5f655f);
  font-size: .7rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.categories[data-portfolio-filters] .filter-row--sub button {
  padding: .2rem 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--soft, #5f655f);
  font-size: .88rem;
}

.categories[data-portfolio-filters] .filter-row--sub button:hover {
  color: var(--ink, #1e2420);
  border-bottom-color: var(--line, #c9cec4);
}

.categories[data-portfolio-filters] .filter-row--sub button[aria-pressed="true"] {
  color: var(--accent, #175648);
  border-bottom-color: var(--accent, #175648);
  background: none;
  box-shadow: none;
}

.ere-cover, .stand-cover {
  aspect-ratio: 16 / 10;
  width: 100%;
}

.ere-cover {
  display: grid;
  place-items: center;
  background: white;
}

.ere-mark {
  position: relative;
  width: min(56%, 12rem);
}

.ere-mark img { display: block; width: 100%; height: auto; }

@media (prefers-reduced-motion: no-preference) {
  .ere-mark::after {
    content: "";
    position: absolute;
    left: 62.8%;
    top: 27.8%;
    width: 10%;
    aspect-ratio: 1;
    border: 2px solid #e3ad21;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
  }

  .card[data-cover="ere"]:is(:hover, :focus-within) .ere-mark::after {
    animation: ere-sun-pulse 1.5s ease-out 2;
  }

  @keyframes ere-sun-pulse {
    from { opacity: .75; transform: translate(-50%, -50%) scale(.85); }
    to { opacity: 0; transform: translate(-50%, -50%) scale(2.1); }
  }
}

.stand-cover {
  overflow: hidden;
  background: #e8e9e4;
}

.stand-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.archive-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.archive-cover--contain { object-fit: contain; background: #eae4dc; }
.writing-card {
  --book-ink: #fff0d6;
  position: relative;
  border: 0;
  border-radius: 4px 10px 10px 4px;
  background: repeating-linear-gradient(to bottom, #f4e8d0 0 2px, #d9cbb0 2px 3px);
  padding: 3px .65rem 4px 0;
  box-shadow: 1px 4px 7px #2b1e2930;
}
.writing-card .card-body {
  border-radius: 3px 5px 5px 3px;
  padding: clamp(1.25rem, 3vw, 2rem);
  padding-left: clamp(2rem, 4vw, 2.7rem);
  background:
    linear-gradient(to right, #281a29 0, #382439 .75rem, #69486a 1rem, #503451 1.13rem, transparent 1.3rem),
    repeating-linear-gradient(135deg, #ffffff05 0 1px, transparent 1px 4px),
    #4d304f;
  color: var(--book-ink);
  box-shadow: 1px 1px 2px #2b1e2945;
}
.writing-card .eyebrow { color: #f2d69f; }
.writing-card .description { color: #f3e3ec; }
.writing-card a:focus-visible { outline-color: #f2d69f; }
.writing-card--links .card-body {
  background:
    linear-gradient(to right, #112d25 0, #183e32 .75rem, #52816a 1rem, #254e3e 1.13rem, transparent 1.3rem),
    repeating-linear-gradient(135deg, #ffffff05 0 1px, transparent 1px 4px),
    #225143;
}
.writing-card--links .description { color: #e7efe8; }
.writing-card h3 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  max-width: 9ch;
  margin-block: .65rem;
}
.writing-card--links h3 { max-width: 13ch; }
.writing-byline {
  color: #f2d69f;
  font-size: .82rem;
  margin: auto 0 .9rem;
}
.writing-byline span { margin-inline: .2rem; }
.writing-action {
  width: 100%;
  border-top: 1px solid #f2d69f66;
  padding-top: .7rem;
  display: flex;
  justify-content: space-between;
  font-size: .84rem;
  font-weight: 700;
  color: var(--book-ink);
}
.writing-sample h3 { font: 500 1.65rem/1.2 Georgia, serif; }
.writing-links { display: grid; gap: .45rem; }
.crumbl-cover {
  display: grid;
  align-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #fff;
}
.crumbl-mark { position: relative; }
.crumbl-mark img { display: block; width: 100%; height: auto; }
.crumbl-crumbs { position: absolute; left: 59%; top: 20%; pointer-events: none; }
.crumbl-crumbs i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 45%;
  background: #9c6347;
  opacity: 0;
}
.crumbl-crumbs i:nth-child(2) { --crumb-x: 30px; --crumb-y: 14px; --crumb-delay: 65ms; }
.crumbl-crumbs i:nth-child(3) { --crumb-x: 18px; --crumb-y: 24px; --crumb-delay: 115ms; }

@media (prefers-reduced-motion: no-preference) {
  .card[data-cover="crumbl"]:is(:hover, :focus-within) .crumbl-crumbs i {
    animation: crumbl-crumb 680ms ease-out var(--crumb-delay, 0ms) both;
  }

  @keyframes crumbl-crumb {
    0% { opacity: 0; transform: translate(0, 0) scale(.5); }
    25% { opacity: 1; transform: translate(9px, -6px) rotate(20deg); }
    100% { opacity: 0; transform: translate(var(--crumb-x, 22px), var(--crumb-y, 4px)) rotate(85deg) scale(.6); }
  }
}
.routing-pulse { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .stand-cover img { transition: transform 1.6s cubic-bezier(.22, .65, .25, 1); }
  .card[data-cover="stand"]:is(:hover, :focus-within) .stand-cover img {
    transform: translate(-1%, 1%) scale(1.12);
  }

  .card[data-cover="routing"]:is(:hover, :focus-within) .routing-pulse {
    animation: lead-pulse 2s linear infinite;
  }

  @keyframes lead-pulse {
    0% { opacity: 0; transform: translate(0, 0); }
    7% { opacity: 1; }
    65% { transform: translate(174px, 0); }
    77% { transform: translate(174px, -30px); }
    91% { opacity: 1; transform: translate(211px, -30px); }
    100% { opacity: 0; transform: translate(222px, -30px); }
  }

  .website-beat-2 { --website-delay: .22s; }
  .website-beat-3 { --website-delay: .44s; }
  .card[data-cover="website"] .website-widget {
    animation: website-populate 7s ease-in-out var(--website-delay, 0s) infinite;
  }
  .card[data-cover="website"] .website-type {
    transform-box: fill-box;
    transform-origin: left;
    animation: website-type 7s steps(11) var(--website-delay, 0s) infinite;
  }

  @keyframes website-populate {
    0%, 32%, 76%, 100% { opacity: 1; transform: translateY(0); }
    48%, 55% { opacity: .08; transform: translateY(4px); }
  }
  @keyframes website-type {
    0%, 26%, 72%, 100% { transform: scaleX(1); }
    44%, 51% { transform: scaleX(.04); }
  }
}

.case-notes { margin-block: 1rem 1.5rem; }
.case-notes h3 { font: 750 1rem/1.4 system-ui, sans-serif; }
.case-notes p, .case-notes ol { margin-top: .35rem; }
.case-notes ol { padding-left: 1.35rem; }
.case-notes li + li { margin-top: .5rem; }
.queue-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: .75rem;
  margin: .75rem 0 1rem;
}
.queue-comparison section {
  display: flex;
  flex-direction: column;
  padding: .85rem;
  border-top: 3px solid var(--accent, #175648);
  background: #e8efe7;
}
.queue-comparison h4 { margin: 0; }
.queue-comparison .queue-path { color: var(--accent, #175648); font-size: .85rem; font-weight: 700; }
.queue-comparison .queue-result { margin: auto 0 0; padding-top: .5rem; border-top: 1px solid var(--line, #c9cec4); }
.queue-result strong { color: var(--accent, #175648); }
.case-quote {
  margin: 1rem 0;
  padding: .85rem 1rem;
  border-left: 3px solid var(--accent, #175648);
  background: #e8efe7;
}
.case-quote blockquote { margin: 0; }
.case-quote figcaption, .stand-preview figcaption {
  margin-top: .4rem;
  color: var(--soft, #51605a);
  font-size: .85rem;
}
.stand-preview { margin: 0 0 1.25rem; }
.stand-preview img { display: block; width: 100%; height: auto; }


.project-shelf .card {
  border-color: #b8c2b8;
  box-shadow: 0 3px 12px #1d302d12;
}

.three-brothers-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #203c35;
}
.three-brothers-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.three-brothers-cover span {
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem 1rem .85rem;
  color: white;
  background: linear-gradient(transparent, #122d26dc);
  font-size: .8rem;
  font-weight: 650;
}

.grid > .card { position: relative; }
.grid--filtering { align-content: start; overflow: clip; overflow-anchor: none; }
.grid > .card--overlay .card-body { position: static; z-index: 1; }
.grid > .card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}


/* WordPress additions */
.card img { max-width: 100%; }
.stand-cover img, .three-brothers-cover img, .ere-mark img, .crumbl-mark img { height: auto; }
.three-brothers-cover img, .stand-cover img { height: 100%; }
.grid > .card h3 { overflow-wrap: anywhere; }
/* Mockup fix: in site.css, .card .eyebrow (accent green) ties with and follows
   .card--overlay .eyebrow, so overlay eyebrows were green on dark green. */
.card.card--overlay .eyebrow { color: #fffdf7; }
.card.card--photo .eyebrow { color: #ffdfb8; }

/* Quote handoff portfolio cover */
.quote-card-cover {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.8rem, 4%, 1.5rem);
  padding: clamp(.65rem, 4%, 1.3rem);
  min-height: 11rem;
  background-color: #172e30;
  background-image: radial-gradient(#486163 1px, transparent 1px);
  background-size: 13px 13px;
  color: #edf3e9;
}
.quote-card-source, .quote-card-branch {
  position: relative;
  min-width: 0;
  padding: .45rem .5rem;
  border: 1px solid #7a9591;
  border-radius: .35rem;
  background: #233f40;
  line-height: 1.2;
}
.quote-card-cover strong, .quote-card-cover span { display: block; overflow-wrap: anywhere; }
.quote-card-cover strong { font-size: .81rem; }
.quote-card-cover span { font-size: .71rem; }
.quote-card-source span { margin-bottom: .28rem; color: #c8dcd4; }
.quote-card-source::after, .quote-card-branch::before {
  content: "";
  position: absolute;
  top: 50%;
  width: .45rem;
  border-top: 1px solid #8ca7a0;
}
.quote-card-source::after { left: 100%; border-color: #ffd08d; }
.quote-card-branch::before { right: 100%; }
.quote-card-branches { position: relative; display: grid; gap: .3rem; }
.quote-card-branches::before {
  content: "";
  position: absolute;
  left: -.45rem;
  top: 16%;
  bottom: 16%;
  border-left: 1px solid #8ca7a0;
}
.quote-card-match { background: #ffd08d; border-color: #ffd08d; color: #172e30; }
.quote-card-match::before { border-color: #ffd08d; }

/* Give the interactive funnel the full project width. */
.project-content.reading.prose:has(iframe.jett-conversion-funnel) {
  max-width: none;
}

.card[data-cover="conversion-funnel"] .conversion-funnel-visual {
  background: #e8efe6;
  border-bottom: 1px solid #ccdace;
}

.conversion-funnel-chart {
  display: grid;
  align-content: center;
  gap: clamp(.3rem, 1vw, .58rem);
  width: 74%;
  padding: clamp(.65rem, 2vw, 1.2rem);
  border: 1px solid #c5d5ca;
  border-radius: .75rem;
  background: #fffdf7;
}

.conversion-funnel-chart span {
  display: block;
  height: clamp(.3rem, 1vw, .65rem);
  border-radius: 1rem;
  background: #e3e8e4;
}

.conversion-funnel-chart i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #374151;
}

.conversion-funnel-chart span:nth-child(2) i { width: 78%; }
.conversion-funnel-chart span:nth-child(3) i { width: 57%; }
.conversion-funnel-chart span:nth-child(4) i { width: 40%; }
.conversion-funnel-chart span:nth-child(5) i { width: 27%; background: #185947; }

body[data-portfolio-view="vapor"] .grid > .card[data-cover="conversion-funnel"]::before {
  content: "conversion-funnel.html";
  background: #bcccb9;
}

body[data-portfolio-view="vapor"] .grid > .card[data-cover="conversion-funnel"] .conversion-funnel-visual {
  aspect-ratio: auto;
  padding: .65rem .9rem 0;
  background: transparent;
  border: 0;
}

body[data-portfolio-view="vapor"] .conversion-funnel-chart {
  width: 100%;
  padding: .65rem;
  gap: .33rem;
  border: 1px solid #9fae9e;
  border-radius: 0;
  background: #f1ecdb;
  box-shadow: inset 2px 2px #fffcf5;
}

body[data-portfolio-view="vapor"] .conversion-funnel-chart span {
  height: .4rem;
  background-color: #e4ddc8;
}

body[data-portfolio-view="vapor"] .conversion-funnel-chart i {
  background-color: #657e80;
}

body[data-portfolio-view="vapor"] .conversion-funnel-chart :is(span, i) {
  border-radius: 0;
  background-image: repeating-linear-gradient(90deg, transparent 0 11px, #f1ecdb 11px 13px);
}

body[data-portfolio-view="vapor"] .conversion-funnel-chart span:last-child i {
  background-color: #55695a;
}

.dusk-portfolio .np-group li .np-funnel-label {
  margin: 0 0 .35rem;
  color: var(--np-gold-bright);
}

.dusk-portfolio .np-funnel-motif {
  display: flex;
  gap: .25rem;
  margin-top: 1rem;
}

.dusk-portfolio .np-funnel-motif i {
  width: 1.7rem;
  height: 2px;
  background: #a4937a;
}

.dusk-portfolio .np-funnel-motif i:nth-child(2) { width: 1.33rem; }
.dusk-portfolio .np-funnel-motif i:nth-child(3) { width: .97rem; }
.dusk-portfolio .np-funnel-motif i:nth-child(4) { width: .68rem; }
.dusk-portfolio .np-funnel-motif i:last-child { width: .46rem; background: var(--np-gold-bright); }

/* Cover: noir. A title card from Enter: Noir, with rain; on hover the rain falls and the
   soundtrack's bars play. */
.noir-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: auto;
  min-height: 11rem;
  padding: 1.1rem 1.2rem;
  background: radial-gradient(120% 90% at 70% 0%, #2a2724 0%, #0d0c0b 62%), #0a0a09;
  color: #e9e4d9;
}
.noir-rain {
  position: absolute;
  inset: -40% 0 0;
  background: repeating-linear-gradient(104deg, transparent 0 13px, #e9e4d912 13px 14px, transparent 14px 31px);
  opacity: .8;
}
.noir-card { position: relative; display: grid; justify-items: center; gap: .7rem; text-align: center; }
.noir-slug { font: 500 .58rem/1 "IBM Plex Mono", ui-monospace, Consolas, monospace; letter-spacing: .18em; text-transform: uppercase; color: #a29c90; }
.noir-line { font: 400 clamp(1.15rem, 2.1vw, 1.45rem)/1.12 "Instrument Serif", Georgia, "Times New Roman", serif; }
.noir-line em { font-style: italic; color: #fff; border-bottom: 1px solid #c9443c; }
.noir-bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.noir-bars i { display: block; width: 3px; height: 25%; background: #e9e4d9; opacity: .55; }
@media (prefers-reduced-motion: no-preference) {
  .noir-rain { transition: opacity .4s ease; }
  .card[data-cover="noir"]:is(:hover, :focus-within) .noir-rain { animation: noir-rain .7s linear infinite; opacity: 1; }
  .card[data-cover="noir"]:is(:hover, :focus-within) .noir-bars i { animation: noir-bar .9s ease-in-out infinite alternate; }
  .noir-bars i:nth-child(2n) { animation-delay: -.3s; }
  .noir-bars i:nth-child(3n) { animation-delay: -.55s; animation-duration: .7s; }
  .noir-bars i:nth-child(5n) { animation-delay: -.15s; animation-duration: 1.1s; }
  @keyframes noir-rain { to { transform: translate(-7px, 31px); } }
  @keyframes noir-bar { from { height: 20%; } to { height: 100%; opacity: .9; } }
}
