/* Scoped to the same component in the native React route and static website. */
.bc-wipe {
  --preset: 50%; margin: 0; min-width: 0; color: #eaf5ed; font-family: Arial, Helvetica, sans-serif;
}
.bc-wipe *, .bc-wipe *::before, .bc-wipe *::after { box-sizing: border-box; }
.bc-wipe:has(input[data-preset="0"]:checked) { --preset: 0%; }
.bc-wipe:has(input[data-preset="100"]:checked) { --preset: 100%; }
.bc-wipe .bc-wipe-stage {
  --split: var(--preset); position: relative; isolation: isolate; overflow: hidden;
  container-type: inline-size; color-scheme: light; border: 1px solid #829e91; border-radius: 14px;
  aspect-ratio: 1.91; background: #e9e8dc;
}
.bc-wipe .bc-wipe-stage:has(input:focus-visible) { outline: 3px solid #f2cc84; outline-offset: 4px; }
.bc-wipe .bc-wipe-before, .bc-wipe .bc-wipe-after { position: absolute; inset: 0; }
.bc-wipe .bc-wipe-before { color: #2c3b31; background: #f2f0e7; }
.bc-wipe .bc-wipe-classic-head, .bc-wipe .bc-wipe-new-head {
  position: absolute; inset: 0 0 auto; height: 16%; padding: 0 5%; display: flex;
  align-items: center; justify-content: space-between; white-space: nowrap; gap: .5em;
}
.bc-wipe .bc-wipe-classic-head { border-bottom: 1px solid #9eaa98; }
.bc-wipe .bc-wipe-classic-head b { font: 600 clamp(.8rem, 2.6cqw, 1.25rem)/1.1 Georgia, serif; }
.bc-wipe .bc-wipe-classic-head span,
.bc-wipe .bc-wipe-new-head span { font-size: clamp(.64rem, 1.6cqw, .83rem); }
.bc-wipe .bc-wipe-paper { position: absolute; inset: 23% 5% 8%; display: grid; grid-template-columns: 45% 1fr; gap: 6%; align-items: center; }
.bc-wipe .bc-wipe-paper small, .bc-wipe .bc-wipe-editorial small {
  display: block; font: 700 clamp(.62rem, 1.45cqw, .77rem)/1.2 Arial, sans-serif; letter-spacing: .09em; text-transform: uppercase;
}
.bc-wipe .bc-wipe-paper b {
  display: block; font: 500 clamp(1.45rem, 5.35cqw, 3.1rem)/1.01 Georgia, serif;
  margin: .22em 0; letter-spacing: -.045em;
}
.bc-wipe .bc-wipe-paper p, .bc-wipe .bc-wipe-editorial p {
  font: 400 clamp(.77rem, 1.95cqw, 1.05rem)/1.45 Arial, sans-serif; margin: .8em 0;
}
.bc-wipe .bc-wipe-paper i {
  font: 600 clamp(.73rem, 1.7cqw, .94rem)/1.4 Arial, sans-serif;
  text-decoration: underline; text-underline-offset: .22em;
}
.bc-wipe .bc-wipe-print {
  height: 100%; border: 6px solid #faf9f4; outline: 1px solid #c2c4b4; background: #808b77 url('/experiences/biocircuit/assets/stream.webp') 55% center/cover;
  filter: saturate(.55); box-shadow: 1px 3px 5px #1e30211f;
}
.bc-wipe .bc-wipe-after {
  color: #fff8e8; clip-path: inset(0 0 0 var(--split));
  background: linear-gradient(90deg, #081e1810 22%,#071a16a8 56%,#05140fc9 100%), url('/experiences/biocircuit/assets/woodland.webp') 42% 52%/cover;
}
.bc-wipe .bc-wipe-new-head { background: linear-gradient(#03130ed9, transparent); }
.bc-wipe .bc-wipe-new-head b { font: 600 clamp(.77rem, 2.25cqw, 1.13rem)/1 Arial, sans-serif; }
.bc-wipe .bc-wipe-new-head span { color: #f5edd1; }
.bc-wipe .bc-wipe-editorial { position: absolute; top: 23%; bottom: 6%; left: 54.4%; right: 4%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.bc-wipe .bc-wipe-editorial small { color: #f7dc92; }
.bc-wipe .bc-wipe-editorial b { display: block; color: #fff9e7; font: italic 500 clamp(1.55rem, 6.5cqw, 3.8rem)/.95 Georgia, serif; letter-spacing: -.055em; margin: .14em 0 0; }
.bc-wipe .bc-wipe-editorial p { color: #fff; margin: .5em 0 .8em; }
.bc-wipe .bc-wipe-editorial i { display: inline-block; border: 1px solid #ecdcad; color: #fff9dc; border-radius: 2em; padding: .45em .8em; font: 600 clamp(.68rem, 1.52cqw, .84rem)/1.3 Arial,sans-serif; background: #102820c2; }
.bc-wipe .bc-wipe-arrow { display:inline-block; width:.58em; height:.58em; border:solid currentColor; border-width:1px 1px 0 0; margin:0 .15em .16em .65em; position:relative; }
.bc-wipe .bc-wipe-arrow::after { content:""; position:absolute; right:0; top:0; width:.76em; height:1px; background:currentColor; transform-origin:right center; transform:rotate(-45deg); }
.bc-wipe .bc-wipe-divider { position: absolute; z-index: 1; inset: 0 auto 0 var(--split); width: 2px; transform: translateX(-50%); background: #fff8dc; box-shadow: 0 0 0 1px #14271f4d; pointer-events: none; }
.bc-wipe .bc-wipe-divider span {
  position: absolute; display: grid; place-content: center; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px;
  border: 1px solid #fff; border-radius: 50%; background: #f7eed8; color: #163529; box-shadow: 0 2px 8px #07151065;
  font: 700 20px/1 Arial,sans-serif;
}
.bc-wipe:not([data-interactive]) .bc-wipe-divider span { display:none; }
.bc-wipe:has(input:is([data-preset="0"],[data-preset="100"]):checked) .bc-wipe-divider { opacity: 0; }
.bc-wipe .bc-wipe-range {
  display: none; appearance: none; -webkit-appearance: none; position: absolute; z-index: 2; inset: 0;
  width: 100%; height: 100%; border: 0; padding: 0; margin: 0; background: transparent; opacity: 0; cursor: ew-resize; touch-action: pan-y pinch-zoom;
}
.bc-wipe[data-interactive] .bc-wipe-range { display: block; }
.bc-wipe .bc-wipe-touch { display: none; }
@media (any-pointer: coarse) {
  .bc-wipe .bc-wipe-touch {
    display: block; position: absolute; inset: 0; z-index: 3;
    touch-action: pan-y pinch-zoom; user-select: none; cursor: ew-resize;
  }
}
.bc-wipe .bc-wipe-range::-webkit-slider-runnable-track { width: 100%; height: 100%; background: transparent; }
.bc-wipe .bc-wipe-range::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 1px; height: 100%; background: transparent; border: 0; }
.bc-wipe .bc-wipe-range::-moz-range-track { width: 100%; height: 100%; background: transparent; }
.bc-wipe .bc-wipe-range::-moz-range-thumb { width: 1px; height: 100%; border: 0; }
.bc-wipe .bc-wipe-modes { position: relative; border: 1px solid #496563; padding: 3px; margin: 12px 0 0; width: fit-content; min-inline-size: 0; display: flex; background: #0b2228; border-radius: 9px; }
.bc-wipe .bc-wipe-modes legend { position:absolute; width:1px; height:1px; clip-path: inset(50%); overflow:hidden; }
.bc-wipe .bc-wipe-modes label { cursor: pointer; position: relative; margin: 0; padding: 0; }
.bc-wipe .bc-wipe-modes input { position:absolute; width:100%; height:100%; inset:0; margin:0; opacity:0; cursor:pointer; }
.bc-wipe .bc-wipe-modes span {
  display: grid; place-content: center; min-height: 44px; padding: 4px clamp(.65rem,2vw,1.3rem);
  border-radius: 6px; color: #dbebe8; font: 600 .9rem/1.25 Arial,sans-serif;
}
.bc-wipe .bc-wipe-modes input:checked + span { background: #b5eedc; color: #0c2927; }
.bc-wipe .bc-wipe-modes input:focus-visible + span { outline: 2px solid #fbd486; outline-offset: -3px; }
.bc-wipe .bc-wipe-modes input:not(:checked):hover + span { background: #203c40; }
.bc-wipe figcaption { margin: .65rem 0 0; color: #c7dbd7; font: 400 .86rem/1.45 Arial,sans-serif; }
.bc-wipe .bc-wipe-help, .bc-wipe[data-interactive] .bc-wipe-fallback { display:none; }
.bc-wipe[data-interactive] .bc-wipe-help { display:inline; }
@media (max-width: 600px) {
  .bc-wipe .bc-wipe-stage { aspect-ratio: 1.3; }
  .bc-wipe .bc-wipe-editorial { left: 54%; right: 3%; }
  .bc-wipe .bc-wipe-editorial i { padding: .45em .6em; }
  .bc-wipe .bc-wipe-divider span { width: 32px; height:32px; }
}
@media (forced-colors:active) {
  .bc-wipe .bc-wipe-modes input:checked + span { outline: 2px solid Highlight; }
  .bc-wipe .bc-wipe-divider { border-left: 2px solid CanvasText; }
}
