.cs {
  --cs-t: clamp(84px, 13svh, 104px);
  --cs-b: clamp(14px, 5svh, 40px);
  --cs-x: clamp(14px, 3.2vw, 48px);
  --cs-p: clamp(18px, 2.6vw, 40px);
  --cs-band: clamp(48px, 8svh, 64px);
  --cs-strip: clamp(48px, 8svh, 64px);
  --cs-pw: clamp(120px, 15vw, 230px);
  position: relative;
  margin: -1px var(--frame, 12px) 0;
  border-radius: 0 0 var(--r, 7px) var(--r, 7px);
  overflow: clip;
  background: var(--paper, #fafafa) var(--noise);
  color: var(--ink, #0b0b0b);
  font-family: var(--f-sans);
}
.cs ol,
.cs ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cs__stage {
  position: relative;
  padding: var(--cs-t) var(--cs-x) var(--cs-b);
}
.cs__line {
  position: absolute;
  z-index: 3;
  background: rgba(11, 11, 11, .16);
  pointer-events: none;
}
.cs__line--t,
.cs__line--b {
  left: 0;
  right: 0;
  height: 1px;
}
.cs__line--l,
.cs__line--r {
  top: 0;
  bottom: 0;
  width: 1px;
}
.cs__line--t {
  top: calc(var(--cs-t) - 1px);
}
.cs__line--b {
  bottom: calc(var(--cs-b) - 1px);
}
.cs__line--l {
  left: calc(var(--cs-x) - 1px);
}
.cs__line--r {
  right: calc(var(--cs-x) - 1px);
}
.cs__box {
  position: relative;
  z-index: 2;
  isolation: isolate;
  background: #0c0c0c;
  color: #fff;
}
.cs__box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(../../assets/img/grain.png);
  opacity: .05;
  pointer-events: none;
}
.cs__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  height: var(--cs-band);
  padding: 0 var(--cs-p);
  font: 400 var(--t-label, 12px)/1.3 var(--f-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}
.cs__time {
  font-variant-numeric: tabular-nums;
}
.cs__intro {
  padding: clamp(24px, 5svh, 56px) var(--cs-p) 0;
}
.cs__title {
  margin: 0;
  max-width: 12em;
  font: 400 var(--t-h1)/.95 var(--f-display);
  letter-spacing: -.03em;
  text-wrap: balance;
}
.cs__intro .b {
  margin-top: clamp(20px, 4svh, 36px);
}
.cs .cs__sol {
  display: grid;
  max-width: min(100%, 600px);
  margin-top: clamp(20px, 4svh, 40px);
}
.cs__sol li {
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.cs .cs__sol a {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 40px);
  padding: clamp(8px, 1.5svh, 14px) 0;
  color: #fff;
  text-decoration: none;
  font: 400 clamp(17px, min(1.4vw, 2.7svh), 21px)/1.2 var(--f-display);
  letter-spacing: -.01em;
  transition: color .3s, padding .35s var(--ease);
}
.cs__sol .b__arrow {
  width: 20px;
  opacity: 1;
  color: rgba(255, 255, 255, .6);
  transition: color .3s;
}
.cs__sol .b__arrow path {
  stroke-dashoffset: 0;
}
.cs .cs__sol a:is(:hover, :focus-visible) {
  padding-left: 8px;
  color: var(--accent, #feed01);
}
.cs__sol a:is(:hover, :focus-visible) .b__arrow {
  color: inherit;
}
.cs__sol a:is(:hover, :focus-visible) .b__arrow path {
  animation: cs-draw .38s var(--ease) .08s backwards;
}
.cs__sol a:is(:hover, :focus-visible) .b__arrow .h {
  animation-duration: .26s;
  animation-delay: .34s;
}
.cs__sol a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
@keyframes cs-draw {
  from {
    stroke-dashoffset: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cs .cs__sol a {
    transition-duration: .01s;
  }
  .cs__sol .b__arrow path {
    animation: none !important;
  }
}
.cs .cs__cards {
  margin-top: clamp(32px, 6svh, 64px);
}
.cs__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cs__card--yellow {
  background: var(--accent, #feed01);
  color: var(--ink, #0b0b0b);
}
.cs__card--paper {
  background: var(--paper, #fafafa) var(--noise);
  color: var(--ink, #0b0b0b);
}
.cs__strip {
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  height: var(--cs-strip);
  padding: 0 var(--cs-p);
}
.cs__strip h3 {
  margin: 0;
  font: 400 clamp(18px, 1.7vw, 26px)/1 var(--f-display);
  letter-spacing: -.02em;
}
.cs__no {
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font: 400 var(--t-label, 12px)/1.2 var(--f-mono);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.cs__body {
  flex: 1;
  min-height: 0;
  padding: var(--cs-p);
}
.cs__say {
  margin: 0;
  max-width: 15em;
  font: 500 clamp(22px, 2.2vw, 34px)/1.12 var(--f-sans);
  letter-spacing: -.02em;
  text-wrap: pretty;
}
.cs__card--yellow .cs__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  gap: 0 var(--cs-p);
}
.cs__card--yellow .b {
  grid-column: 1;
  align-self: start;
  justify-self: start;
  margin-top: clamp(20px, 3.5svh, 32px);
}
.cs__orb {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
}
.cs__orb canvas {
  display: block;
  filter: brightness(.3);
  transition: opacity .28s var(--ease);
}
.cs__orb canvas {
  width: min(220px, 28svh) !important;
  height: min(220px, 28svh) !important;
}
.cs__orb canvas.is-swap {
  opacity: 0;
}
.cs__card--paper .cs__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.cs__big {
  margin: 0;
  max-width: 13em;
  font: 500 clamp(30px, min(4.4vw, 7svh), 64px)/1 var(--f-sans);
  letter-spacing: -.03em;
  text-wrap: balance;
}
.cs__peek,
.cs__tease,
.cs__seam {
  display: none;
}
.cs.is-run {
  height: calc(100svh + var(--cs-run, 250svh));
}
.cs.is-run .cs__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  padding: 0;
}
.cs.is-run .cs__box {
  position: absolute;
  top: var(--cs-t);
  bottom: var(--cs-b);
  left: var(--cs-x);
  right: var(--cs-x);
  overflow: hidden;
}
@supports (top: round(1.5px, 1px)) {
  .cs.is-run .cs__box {
    top: round(var(--cs-t), 1px);
    bottom: round(var(--cs-b), 1px);
    left: round(var(--cs-x), 1px);
    right: round(var(--cs-x), 1px);
  }
  .cs.is-run .cs__line--t {
    top: calc(round(var(--cs-t), 1px) - 1px);
  }
  .cs.is-run .cs__line--b {
    bottom: calc(round(var(--cs-b), 1px) - 1px);
  }
  .cs.is-run .cs__line--l {
    left: calc(round(var(--cs-x), 1px) - 1px);
  }
  .cs.is-run .cs__line--r {
    right: calc(round(var(--cs-x), 1px) - 1px);
  }
}
.cs.is-run .cs__intro {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--cs-band);
}
.cs.is-run .cs__cards {
  position: absolute;
  inset: var(--cs-band) 0 0;
  margin: 0;
  pointer-events: none;
}
.cs.is-run .cs__card {
  position: absolute;
  inset: 0;
  pointer-events: auto;
}
.cs.is-run .cs__card:first-child {
  clip-path: inset(calc(100% - var(--cs-pw)) 0 0 calc(100% - var(--cs-pw)));
}
.cs.is-run .cs__card:first-child > .cs__body {
  margin-bottom: var(--cs-tease, 0px);
}
.cs.is-run .cs__peek {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  width: var(--cs-pw);
  height: var(--cs-pw);
  padding: clamp(12px, 1.2vw, 18px);
  pointer-events: none;
}
.cs.is-run .cs__peek .cs__no {
  align-self: flex-end;
}
.cs__peek strong {
  font: 400 clamp(16px, 1.4vw, 22px)/1.05 var(--f-display);
  letter-spacing: -.01em;
}
.cs.is-run .cs__card:last-child {
  top: var(--cs-strip);
  clip-path: inset(100% 0 0 0);
}
.cs.is-run .cs__card:last-child > .cs__body {
  margin-bottom: var(--cs-tease, 0px);
}
.cs.is-run .cs__tease {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  height: var(--cs-tease, 0px);
  padding: 0 var(--cs-p);
  pointer-events: none;
}
.cs__tease strong {
  font: 400 clamp(18px, 1.7vw, 26px)/1 var(--f-display);
  letter-spacing: -.02em;
}
.cs.is-run .cs__card:is(.is-peek, .is-teaser, .is-under) {
  cursor: pointer;
}
.cs.is-run .cs__card:is(.is-peek, .is-teaser, .is-under) > :is(.cs__strip, .cs__body) {
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .cs.is-run .cs__card.is-under:hover .cs__strip h3 {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
  }
}
.cs.is-run .cs__seam {
  display: block;
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(11, 11, 11, .16) 0 var(--cs-x),
      transparent 0 calc(100% - var(--cs-x)),
      rgba(11, 11, 11, .16) 0);
}
@media (min-width: 901px) and (max-height: 660px) {
  .cs .cs__sol {
    max-width: calc(100% - var(--cs-pw));
    grid-template: repeat(3, auto) / repeat(2, minmax(0, 1fr));
    grid-auto-flow: column;
    column-gap: clamp(32px, 4vw, 64px);
  }
}
@media (max-width: 900px) {
  .cs__top > :nth-child(2) {
    display: none;
  }
}
@media (max-width: 700px) {
  .cs__place {
    display: none;
  }
  .cs__intro {
    padding-top: clamp(20px, 3svh, 32px);
  }
  .cs .cs__sol {
    max-width: none;
    margin-top: 18px;
  }
  .cs .cs__sol a {
    padding: 12px 0;
    font-size: 17px;
  }
  .cs__intro .b {
    margin-top: 22px;
  }
  .cs__strip h3,
  .cs__tease strong {
    font-size: 17px;
    line-height: 1.05;
  }
  .cs__card--yellow .cs__body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    align-content: start;
  }
  .cs__orb {
    grid-column: 1;
    grid-row: auto;
    order: -1;
    justify-self: start;
    padding: 0 0 clamp(16px, 3svh, 28px);
  }
  .cs__orb canvas {
    width: min(150px, 20svh) !important;
    height: min(150px, 20svh) !important;
  }
}
