/* Crew room and gear locker. Loaded after wall.css and page.css. */

.cr-head__text {
  margin-top: var(--s-2);
  font-size: 1rem;
  color: var(--label-muted);
}

.cr-text {
  margin-top: var(--s-3);
  max-width: 36rem;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--label);
}

.cr-small {
  display: block;
  margin-top: var(--s-2);
  font-family: var(--f-mono);
  font-size: .75rem;
  line-height: 1.45;
  color: var(--label-muted);
}

.cr-voice {
  max-width: 36rem;
  margin-top: var(--s-3);
  font-size: 1.0625rem;
  color: #EDE6D7;
}

.cr-h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.1875rem;
  line-height: 1.1;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #EDE6D7;
}

.cr-off {
  font-weight: 600;
  color: var(--accent);
}

/* wayfinding sign */

.cr-way {
  margin-top: calc(var(--s-5) * -1);
}

.cr-way__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cr-way__key {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  min-height: var(--hit);
  padding: 0 var(--s-3);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
  background: linear-gradient(to bottom, #1E1C19, #141210);
  border: 2px solid var(--accent);
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
}

.cr-way__key .ic {
  width: 1.125rem;
  height: 1.125rem;
}

.cr-way__key .cr-way__go {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-left: auto;
  transform: rotate(90deg);
}

.cr-way__key:hover,
.cr-way__key:focus-visible {
  color: var(--on-accent);
  background: var(--accent);
}

@media (min-width: 37.5em) {
  .cr-way__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 64em) {
  .cr-way__list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* the room: board-formed concrete wall */

.cr-room {
  --label-muted: #BCB4A5;
  position: relative;
  display: grid;
  gap: 4.5rem;
  margin: var(--s-5) calc(var(--gutter) * -1) 0;
  padding: var(--s-6) var(--gutter) var(--s-7);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 30% at 50% 0%, rgba(255, 214, 150, .12), transparent 70%),
    radial-gradient(circle, rgba(0, 0, 0, .5) 0 3px, rgba(255, 255, 255, .07) 3.5px 4.5px, transparent 5px) 3rem 2.25rem / 6rem 4.5rem,
    linear-gradient(to bottom, rgba(0, 0, 0, .3) 0 2px, rgba(255, 255, 255, .03) 2px 3px, transparent 3px) 0 0 / 100% 9rem,
    linear-gradient(to right, rgba(0, 0, 0, .22) 0 2px, transparent 2px) 0 0 / 12rem 100%,
    linear-gradient(to bottom, #42403B, #383632 55%, #2B2A27);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04), inset 0 24px 50px rgba(0, 0, 0, .4), 0 18px 40px rgba(0, 0, 0, .4);
}

.cr-room::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--noise);
  opacity: .12;
  mix-blend-mode: overlay;
}

[data-light="night"] .cr-room::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, transparent, rgba(0, 0, 0, .28));
}

.cr-stencil {
  position: absolute;
  top: var(--s-2);
  right: var(--s-3);
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: .8;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(225, 165, 39, .1);
  pointer-events: none;
  user-select: none;
}

@media (max-width: 47.99em) {
  .cr-stencil {
    position: static;
    grid-column: 1 / -1;
    justify-self: end;
    margin: calc(var(--s-3) * -1) calc(var(--s-2) * -1) calc(var(--s-6) * -1) 0;
    font-size: clamp(2.75rem, 13vw, 6rem);
  }
}

.cr-room__skirt {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: .875rem;
  border-radius: 0;
}

.cr-st {
  position: relative;
  z-index: 1;
  min-width: 0;
  scroll-margin-top: var(--s-4);
  container-type: inline-size;
}

@media (min-width: 48em) {
  .cr-room {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5rem var(--s-6);
    margin-inline: 0;
    padding: var(--s-6) var(--s-6) var(--s-7);
    border-radius: 4px;
  }

  .cr-st--pass,
  .cr-st--gear,
  .cr-st--board {
    grid-column: 1 / -1;
  }
}

@media (min-width: 64em) {
  .cr-room {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .cr-st--pass {
    grid-column: 1 / -1;
  }

  .cr-st--radio {
    grid-column: span 5;
  }

  .cr-st--night {
    grid-column: span 7;
  }

  .cr-st--gear {
    grid-column: 1 / -1;
  }

  .cr-st--board {
    grid-column: 1 / -1;
  }
}

/* station sign: enamel plate */

.cr-sign {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  color: var(--on-accent);
  background: linear-gradient(to bottom, #F2C24F, var(--accent) 60%, #D49A20);
  border-radius: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .15), 0 6px 14px rgba(0, 0, 0, .45);
}

.cr-sign::after {
  content: '';
  position: absolute;
  top: 0;
  right: .45rem;
  bottom: 0;
  width: 7px;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 40%, #FFF2C4 0 1px, #7A5512 2px, transparent 3.5px) 0 .45rem / 7px 7px no-repeat,
    radial-gradient(circle at 50% 40%, #FFF2C4 0 1px, #7A5512 2px, transparent 3.5px) 0 calc(100% - .45rem) / 7px 7px no-repeat;
}

.cr-sign__ic {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 3rem;
  color: var(--accent);
  background: #1F1C17;
  border-radius: 5px 0 0 5px;
}

.cr-sign__ic .ic {
  width: 1.5rem;
  height: 1.5rem;
}

.cr-sign__txt {
  min-width: 0;
  padding: .45rem 1.75rem .5rem .8rem;
}

.cr-sign__label {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: var(--t-osd);
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(31, 28, 23, .75);
}

.cr-sign__h {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.375rem, 5.5vw, 1.875rem);
  line-height: 1;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #1F1C17;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

/* bell plate next to the time clock sign: site alerts on / off */

.cr-signrow {
  display: flex;
  align-items: stretch;
  gap: var(--s-3);
  max-width: 100%;
}

.cr-signrow > .cr-sign {
  min-width: 0;
}

.cr-bell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 3.5rem;
  min-height: 2.75rem;
  padding: 0;
  color: #1F1C17;
  background: linear-gradient(to bottom, #F2C24F, var(--accent) 60%, #D49A20);
  border: 0;
  border-radius: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .15), 0 6px 14px rgba(0, 0, 0, .45);
  transition: transform .12s ease, filter .12s ease;
}

.cr-bell::after {
  content: '';
  position: absolute;
  inset: .3rem;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 40%, #FFF2C4 0 1px, #7A5512 2px, transparent 3.5px) 0 0 / 7px 7px no-repeat,
    radial-gradient(circle at 50% 40%, #FFF2C4 0 1px, #7A5512 2px, transparent 3.5px) 100% 0 / 7px 7px no-repeat,
    radial-gradient(circle at 50% 40%, #FFF2C4 0 1px, #7A5512 2px, transparent 3.5px) 0 100% / 7px 7px no-repeat,
    radial-gradient(circle at 50% 40%, #FFF2C4 0 1px, #7A5512 2px, transparent 3.5px) 100% 100% / 7px 7px no-repeat;
}

.cr-bell .ic {
  width: 1.5rem;
  height: 1.5rem;
}

.cr-bell[aria-pressed="true"] .ic:last-child,
.cr-bell[aria-pressed="false"] .ic:first-child {
  display: none;
}

.cr-bell[aria-pressed="false"] {
  color: #4A463E;
  filter: grayscale(1) brightness(.78);
}

.cr-bell:hover {
  filter: brightness(1.06);
}

.cr-bell[aria-pressed="false"]:hover {
  filter: grayscale(1) brightness(.9);
}

.cr-bell:active {
  transform: translateY(1px);
}

.cr-h3,
.cr-note,
.cr-note__big,
.cr-tag__name {
  text-wrap: balance;
}

.cr-text,
.cr-small,
.cr-voice,
.cr-tag__text,
.cr-consent {
  text-wrap: pretty;
}

.cr-card :focus-visible,
.cr-note :focus-visible,
.cr-tag :focus-visible {
  outline-color: var(--ink-blue);
}

.cr-door.is-poke {
  cursor: pointer;
}

/* ---------- hard hat number ---------- */

.cr-pass {
  display: grid;
  gap: var(--s-6);
  margin-top: var(--s-5);
}

@media (min-width: 48em) {
  .cr-pass {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
  }

  .cr-perks {
    grid-column: 1 / -1;
  }
}

@media (min-width: 64em) {
  .cr-pass {
    grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
    gap: var(--s-6);
  }

  .cr-perks {
    grid-column: auto;
  }
}

/* with a pass on this device the pass itself hangs here: the badge on its lanyard, a slip with the tools, the crew plate */
.cr-badgefig {
  display: none;
  margin: 0;
}

.cr-pass.is-crew {
  gap: var(--s-5);
}

.cr-pass.is-crew .cr-clock,
.cr-pass.is-crew .cr-form {
  display: none;
}

/* the hard hat with the number stays: it hangs above the pass */
.cr-pass.is-crew .cr-pass__rig {
  padding-top: 0;
}

/* the pass hangs a little crooked: the hat sits over the V of the lanyard, not over the card */
.cr-pass.is-crew .cr-hat {
  left: -.5rem;
  max-width: 12rem;
  margin-bottom: calc(var(--s-5) * -1);
}

.cr-pass.is-crew .cr-badgefig {
  display: block;
  width: min(100%, 17rem);
  margin: 0 auto;
}

.cr-badgefig__cv {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 6%);
  mask-image: linear-gradient(to bottom, transparent, #000 6%);
}

.cr-pass.is-crew .cr-card {
  width: min(100%, 18rem);
  margin: var(--s-2) auto 0;
  padding: var(--s-2) var(--s-4);
  transform: rotate(-.6deg);
}

.cr-pass.is-crew .cr-card::after {
  display: none;
}

.cr-pass.is-crew .cr-next {
  margin-top: 0;
}

.cr-pass.is-crew .cr-tools {
  padding-top: 0;
  border-top: 0;
}

.cr-pass.is-crew .cr-next__fresh {
  margin-top: var(--s-3);
}

.cr-pass.is-crew .cr-key__value {
  font-size: 1.25rem;
  white-space: nowrap;
}

@media (min-width: 48em) {
  .cr-pass.is-crew {
    grid-template-columns: minmax(0, 22rem) minmax(0, 30rem);
    justify-content: center;
    align-items: center;
    column-gap: var(--s-7);
  }

  .cr-pass.is-crew .cr-pass__rig {
    grid-column: 1;
    grid-row: 1;
  }

  .cr-pass.is-crew .cr-pass__main {
    grid-column: 1;
    grid-row: 2;
  }

  .cr-pass.is-crew .cr-perks {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

.cr-pass__rig {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: var(--s-2);
}

.cr-hat {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 14.5rem;
  height: auto;
  margin-bottom: -2.8rem;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
}

.cr-pass__rig:has(.cr-clock.is-punch) .cr-hat {
  animation: cr-thunk .32s var(--ease);
}

.cr-hat__shadow {
  fill: #000;
  opacity: .45;
}

.cr-hat__crew {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 8.5px;
  letter-spacing: .22em;
  fill: #1F1C17;
}

.cr-hat__no {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  fill: #1F1C17;
}

.cr-hat__tape {
  fill: #ECE2C6;
  stroke: rgba(0, 0, 0, .1);
  stroke-width: 1;
}

.cr-hat__nick {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: .03em;
  fill: #1F1C17;
}

.cr-hat__nick.is-empty {
  fill: rgba(31, 28, 23, .32);
}

/* time recorder */

.cr-clock {
  --cr-lid: 2.6rem;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 14rem;
  padding: calc(var(--cr-lid) + 1.1rem) var(--s-4) var(--s-3);
  background: var(--brushed), linear-gradient(to bottom, #807D75, #63615A 55%, #4C4A45);
  border-radius: 1.6rem 1.6rem .6rem .6rem / 1rem 1rem .6rem .6rem;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .3), 0 16px 28px rgba(0, 0, 0, .5);
}

.cr-clock::before {
  content: '';
  position: absolute;
  inset: var(--cr-lid) 0 0;
  pointer-events: none;
  background: var(--screws);
}

.cr-clock::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--cr-lid);
  pointer-events: none;
  border-radius: 1.6rem / 1rem;
  background:
    linear-gradient(to right, rgba(255, 255, 255, .1), transparent 45%, rgba(0, 0, 0, .14)),
    linear-gradient(to bottom, #7E7B73, #A29F95 75%, #ADAAA0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -1.5px 0 rgba(255, 255, 255, .45), 0 1.5px 0 rgba(0, 0, 0, .35);
}

.cr-clock__face {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin: .6rem 0 var(--s-4);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #FDF9EF, #E9E1CD 68%, #D2C8B0);
  box-shadow: 0 0 0 .45rem #1F1D1A, 0 0 0 .6rem #9A978D, inset 0 4px 10px rgba(0, 0, 0, .35);
}

.cr-clock__face::before,
.cr-clock__face::after {
  content: '';
  position: absolute;
  inset: 5%;
  border-radius: 50%;
}

.cr-clock__face::before {
  background: repeating-conic-gradient(from -1.5deg, #1F1C17 0 3deg, transparent 3deg 30deg);
  -webkit-mask: radial-gradient(circle, transparent 0 79%, #000 80%);
  mask: radial-gradient(circle, transparent 0 79%, #000 80%);
}

.cr-clock__face::after {
  background: repeating-conic-gradient(from -.4deg, rgba(31, 28, 23, .65) 0 .8deg, transparent .8deg 6deg);
  -webkit-mask: radial-gradient(circle, transparent 0 89%, #000 90%);
  mask: radial-gradient(circle, transparent 0 89%, #000 90%);
}

.cr-clock__brand {
  position: absolute;
  top: 29%;
  left: 0;
  right: 0;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: .5625rem;
  letter-spacing: .2em;
  text-align: center;
  text-transform: uppercase;
  color: #9A3A22;
}

.cr-clock__n {
  position: absolute;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1;
  color: #1F1C17;
}

.cr-clock__n--12 {
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
}

.cr-clock__n--3 {
  top: 50%;
  right: 16%;
  transform: translateY(-50%);
}

.cr-clock__n--6 {
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
}

.cr-clock__n--9 {
  top: 50%;
  left: 16%;
  transform: translateY(-50%);
}

.cr-clock__hand {
  position: absolute;
  left: 50%;
  bottom: 50%;
  transform-origin: 50% 100%;
  border-radius: 2px 2px 1px 1px;
  background: #1F1C17;
}

.cr-clock__hand--h {
  width: 5px;
  height: 25%;
  margin-left: -2.5px;
  transform: rotate(305deg);
}

.cr-clock__hand--m {
  width: 3px;
  height: 35%;
  margin-left: -1.5px;
  transform: rotate(60deg);
}

.cr-clock__hand--s {
  width: 1.5px;
  height: 39%;
  margin-left: -.75px;
  background: #C2331F;
}

.cr-clock__cap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: .6rem;
  height: .6rem;
  margin: -.3rem 0 0 -.3rem;
  border-radius: 50%;
  background: radial-gradient(circle, #C2331F 0 30%, #1F1C17 35%);
}

.cr-clock__lcd {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: .35rem .5rem;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: var(--t-data);
  line-height: 1.2;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-bg);
  border-radius: 3px;
  text-shadow: 0 0 6px rgba(140, 242, 166, .5);
  box-shadow: inset 0 0 0 1px #000, inset 0 0 12px rgba(0, 0, 0, .8), 0 0 0 2px #2B2925, 0 1px 0 2px rgba(255, 255, 255, .12);
}

.cr-clock__slot {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-3);
}

.cr-clock__mouth {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 1.75rem;
  background: linear-gradient(to bottom, #050504, #1C1A17);
  border-radius: 3px;
  box-shadow: inset 0 3px 6px #000, 0 1px 0 rgba(255, 255, 255, .18);
}

.cr-clock__mouth span {
  font-family: var(--f-mono);
  font-size: .5625rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #8C877C;
}

.cr-clock__lamp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: .5625rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ECE6D8;
}

.cr-clock__lamp::before {
  content: '';
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  background: #23342A;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6), 0 0 0 2px #2B2925;
}

.cr-clock__lamp--out::before {
  background: #4A2420;
}

.cr-clock__lamp.is-on::before {
  background: var(--green);
  box-shadow: 0 0 10px var(--green), 0 0 0 2px #2B2925;
}

.cr-clock__plate {
  display: block;
  margin-top: var(--s-3);
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: .5625rem;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
  color: #24221F;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .22);
}

.cr-clock.is-punch {
  animation: cr-thunk .32s var(--ease);
}

@keyframes cr-thunk {
  40% {
    transform: translateY(3px);
  }
}

/* time card */

.cr-card {
  color-scheme: only light;
  background:
    repeating-linear-gradient(to bottom, transparent 0 1.9rem, rgba(29, 59, 143, .06) 1.9rem calc(1.9rem + 1px)),
    linear-gradient(rgba(255, 255, 255, .22), rgba(0, 0, 0, .03)),
    #EADFC2;
  transform: rotate(.5deg);
}

.cr-card::after {
  content: '';
  position: absolute;
  top: .55rem;
  left: 50%;
  width: .85rem;
  height: .85rem;
  margin-left: -.425rem;
  border-radius: 50%;
  background: #34322E;
  box-shadow: inset 0 1px 2px #000, 0 0 0 2px rgba(31, 28, 23, .15);
}

.cr-card.is-punch {
  animation: cr-card-in .4s var(--ease);
}

@keyframes cr-card-in {
  35% {
    transform: rotate(.5deg) translateY(-6px);
  }
}

.cr-form .pg-formhead span span {
  color: var(--ink-red);
}

.cr-field {
  margin-top: var(--s-4);
}

.cr-field__label {
  display: block;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: var(--t-data);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.cr-field__input {
  display: block;
  width: 100%;
  min-height: var(--hit);
  margin-top: .25rem;
  padding: .35rem .6rem;
  font-family: var(--f-mono);
  font-size: 1.0625rem;
  color: var(--paper-ink);
  background: rgba(255, 255, 255, .5);
  border: 0;
  border-bottom: 2px solid var(--paper-ink);
  border-radius: 3px 3px 0 0;
}

.cr-field__input:focus-visible {
  outline: 3px solid var(--ink-blue);
  outline-offset: 1px;
  background: rgba(255, 255, 255, .8);
}

.cr-field__input:disabled {
  color: var(--paper-muted);
  background: repeating-linear-gradient(-45deg, rgba(31, 28, 23, .07) 0 .45rem, transparent .45rem .9rem), rgba(255, 255, 255, .18);
  border-bottom-style: dashed;
  cursor: not-allowed;
}

.cr-proto {
  margin-top: var(--s-3);
}

#cr-nick {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cr-field__hint {
  margin-top: .3rem;
  font-size: .8125rem;
  line-height: 1.4;
  color: var(--paper-muted);
}

.cr-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 .35rem;
  margin-top: var(--s-3);
  padding: .6rem .75rem;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: var(--t-data);
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--label);
  background: linear-gradient(to bottom, #221F1B, #141210);
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 0 0 3px rgba(31, 28, 23, .12);
}

.cr-form__fields[hidden] + .cr-badge {
  margin-top: var(--s-4);
}

.cr-badge__crew {
  color: var(--accent);
}

.cr-badge__sep {
  color: var(--label-muted);
}

.cr-badge__nick {
  min-width: 0;
  color: #F2EEE6;
  overflow-wrap: anywhere;
}

.cr-badge__nick--empty {
  color: var(--label-muted);
}

.cr-badge__tail {
  font-family: var(--f-text);
  font-weight: 400;
  font-style: italic;
  font-size: .875rem;
  letter-spacing: 0;
  text-transform: none;
}



.cr-consent {
  margin-top: var(--s-2);
  font-size: .8125rem;
  line-height: 1.45;
  color: var(--paper-muted);
}

.cr-punch {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  margin-top: var(--s-5);
  border: 2px solid var(--paper-ink);
}

.cr-punch__cell {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-height: 3.25rem;
  padding: .4rem .6rem;
}

.cr-punch__cell + .cr-punch__cell {
  border-left: 2px solid var(--paper-ink);
}

/* room for the stamp on the right */
.cr-punch__cell--out {
  padding-right: 5.75rem;
}

.cr-punch__k {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: var(--t-osd);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.cr-punch__v {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--ink-red);
}

.cr-punch__v--out {
  font-family: var(--f-serif);
  font-weight: 400;
  font-style: italic;
  font-size: .9375rem;
  color: var(--ink-blue);
}

.cr-punch__v.is-stamped {
  animation: cr-stamp .35s var(--ease) both;
}

@keyframes cr-stamp {
  from {
    opacity: 0;
    transform: scale(1.7) rotate(-6deg);
  }
}

.cr-punch__stamp {
  position: absolute;
  top: 50%;
  right: .6rem;
  font-size: 1rem;
  transform: translateY(-50%) rotate(-6deg);
}

.cr-clockin {
  width: 100%;
  min-height: 3.25rem;
  margin-top: var(--s-4);
  font-size: 1.125rem;
}

.cr-alerts {
  margin-top: var(--s-2);
  font-size: .8125rem;
  line-height: 1.45;
  color: var(--paper-muted);
  text-wrap: pretty;
}

.cr-next {
  margin-top: var(--s-4);
  outline: none;
}

.cr-next__fresh {
  margin-bottom: var(--s-3);
}

/* key, badge, card: one fold on the time card */
.cr-tools {
  padding-top: var(--s-2);
  border-top: 1px solid var(--paper-line);
}

.cr-tools__sum {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  min-height: var(--hit);
  font-weight: 600;
  color: var(--ink-blue);
  cursor: pointer;
}

.cr-tools__sum::after {
  content: '';
  width: .5rem;
  height: .5rem;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-.15rem) rotate(45deg);
}

.cr-tools[open] > .cr-tools__sum::after {
  transform: translateY(.1rem) rotate(-135deg);
}

.cr-tools__sum:focus-visible {
  outline: 3px solid var(--ink-blue);
  outline-offset: 2px;
}

.cr-tools .cr-key {
  margin-top: var(--s-2);
}

.cr-next__step {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: var(--t-osd);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-red);
}

.cr-next__h {
  margin-top: .2rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.cr-next__text {
  margin-top: var(--s-2);
}









.cr-next__device {
  margin-top: var(--s-3);
  font-size: .8125rem;
  color: var(--paper-muted);
}

.cr-next__clear {
  margin-top: var(--s-3);
}

.cr-err {
  margin-top: var(--s-3);
  padding: .5rem .7rem;
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1.4;
  color: var(--ink-red);
  background: rgba(179, 38, 30, .08);
  border-left: 3px solid var(--ink-red);
}

.cr-clockin:disabled {
  opacity: .55;
  cursor: not-allowed;
}

/* the key: big, monospaced, easy to copy by hand */
.cr-key {
  margin-top: var(--s-4);
  padding: var(--s-3) var(--s-4) var(--s-4);
  background: #FBF8F1;
  border: 2px dashed var(--paper-ink);
  border-radius: 6px;
}

.cr-key__label {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: var(--t-osd);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-red);
}

.cr-key__value {
  margin-top: .3rem;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: clamp(1.25rem, 6.5vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: .08em;
  color: var(--paper-ink);
  overflow-wrap: anywhere;
  user-select: all;
}

.cr-key__voice {
  margin-top: var(--s-2);
  font-size: .9375rem;
  color: var(--paper-muted);
}

.cr-next {
  container-type: inline-size;
}

.cr-next__keys {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-2);
  margin-top: var(--s-4);
}

@container (min-width: 19rem) {
  .cr-next__keys {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cr-next__btn {
  width: 100%;
  min-height: var(--hit);
  padding-inline: var(--s-3);
  font-size: .9375rem;
}

.cr-next__msg {
  min-height: 1.4em;
  margin-top: var(--s-2);
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-blue);
}

.cr-next__end {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s-3);
}

.cr-next__clear[data-armed] {
  color: #FFF;
  background: linear-gradient(to bottom, #C2402F, var(--ink-red));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 3px 0 #6E1712;
}

/* lost hard hat: the key brings the number back */
.cr-restore {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--paper-line);
}

.cr-restore__sum {
  display: flex;
  align-items: center;
  min-height: var(--hit);
  font-weight: 600;
  color: var(--ink-blue);
  cursor: pointer;
}

.cr-restore__sum:focus-visible {
  outline: 3px solid var(--ink-blue);
  outline-offset: 2px;
}

.cr-restore__form {
  margin-top: var(--s-2);
}

.cr-restore__in {
  font-family: var(--f-mono);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cr-restore__btn {
  margin-top: var(--s-3);
}

.cr-perks__link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* perks plate */

.cr-perks {
  padding: var(--s-5) var(--s-5) var(--s-4);
}

.cr-perks__h {
  margin: 0;
}

.cr-perks__h .dymo {
  font-size: var(--t-data);
  white-space: normal;
}

.cr-perks__list {
  display: grid;
  gap: var(--s-3);
  margin: var(--s-4) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: cr-perk;
}

.cr-perks__list li {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: var(--s-2);
  font-size: .9375rem;
  line-height: 1.4;
  color: var(--label);
  counter-increment: cr-perk;
}

.cr-perks__list li::before {
  content: counter(cr-perk, decimal-leading-zero);
  padding-top: .15rem;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: .75rem;
  color: var(--accent);
}

.cr-perks__foot {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #EDE6D7;
  border-top: 1px dashed rgba(218, 211, 196, .28);
}

/* ---------- radio ---------- */

.cr-radio {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-5);
  align-items: start;
  margin-top: var(--s-5);
}

.cr-walkie {
  position: relative;
  width: 5.5rem;
  height: 14.5rem;
  margin: 2.6rem 0 0 .35rem;
}

.cr-walkie__ant {
  position: absolute;
  left: .9rem;
  top: -2.6rem;
  width: .7rem;
  height: 3rem;
  background: linear-gradient(to right, #0E0D0C, #34322E 50%, #0E0D0C);
  border-radius: .35rem .35rem 0 0;
}

.cr-walkie__knob {
  position: absolute;
  right: 1rem;
  top: -.9rem;
  width: 1.3rem;
  height: 1.1rem;
  background: repeating-linear-gradient(90deg, #171615 0 2px, #3A3834 2px 4px);
  border-radius: 3px 3px 0 0;
}

.cr-walkie__ptt {
  position: absolute;
  left: -.35rem;
  top: 3.6rem;
  width: .5rem;
  height: 3.4rem;
  background: linear-gradient(to right, #8A6214, var(--accent));
  border-radius: 3px 0 0 3px;
}

.cr-walkie__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  padding: .85rem .6rem;
  background: linear-gradient(to right, #191816, #34322E 30%, #282623 70%, #121110);
  border-radius: .9rem .9rem 1.3rem 1.3rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 0 2px #0A0908, 0 16px 26px rgba(0, 0, 0, .55);
}

.cr-walkie__body::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.35rem;
  height: .35rem;
  background: var(--accent);
  opacity: .9;
}

.cr-walkie__grille {
  width: 100%;
  height: 4.4rem;
  background: radial-gradient(circle, #030303 0 1.6px, transparent 2.2px) 0 0 / 7px 7px, #22201E;
  border-radius: .5rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .7);
}

.cr-walkie__lcd {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: .3rem .2rem;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: .5625rem;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #1E2A12;
  background: linear-gradient(to bottom, #A9BC86, #8FA46C);
  border-radius: 3px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .35);
}

.cr-walkie__led {
  align-self: flex-end;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #4A1B16;
}

.cr-walkie__keys {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .3rem;
  width: 100%;
}

.cr-walkie__keys i {
  height: .55rem;
  background: #3A3835;
  border-radius: 2px;
  box-shadow: 0 1px 0 #000;
}

.cr-st--radio:has(.cr-ptt:hover) .cr-walkie__led,
.cr-st--radio:has(.cr-ptt:focus-visible) .cr-walkie__led {
  background: #FF4A3D;
  box-shadow: 0 0 8px #FF4A3D;
}

.cr-ptt {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 3.25rem;
  margin-top: var(--s-4);
  padding: 0 var(--s-5) 0 var(--s-4);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #F2EEE6;
  background: linear-gradient(to bottom, #3A3834, #1E1D1B);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 2px #0A0908, 0 4px 0 #0A0908, 0 8px 14px rgba(0, 0, 0, .45);
}

.cr-ptt .ic {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
}

.cr-ptt:active {
  transform: translateY(3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 2px #0A0908, 0 1px 0 #0A0908;
}

.cr-ptt__lamp {
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: #5A1E18;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .6);
}

.cr-ptt:hover .cr-ptt__lamp,
.cr-ptt:focus-visible .cr-ptt__lamp {
  background: #FF4A3D;
  box-shadow: 0 0 8px #FF4A3D;
}

.cr-radio__more {
  margin-top: var(--s-3);
}

.cr-radio__more .cr-small {
  margin-top: 0;
}

@container (max-width: 19.99rem) {
  .cr-radio {
    grid-template-columns: minmax(0, 1fr);
  }

  .cr-walkie {
    justify-self: center;
  }
}

/* ---------- night shift ---------- */

.cr-night {
  display: grid;
  gap: var(--s-5);
  margin-top: var(--s-5);
}

@container (min-width: 25rem) {
  .cr-night {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
  }

  .cr-night .cr-door {
    width: 10.5rem;
    height: 17.5rem;
  }
}

.cr-door {
  position: relative;
  justify-self: center;
  width: 9.5rem;
  height: 16rem;
  padding: .55rem .55rem 0;
  background: linear-gradient(to right, #1E1D1B, #3C3A36 50%, #1E1D1B);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 16px 28px rgba(0, 0, 0, .5);
}

.cr-door::after {
  content: '';
  position: absolute;
  left: -.6rem;
  right: -.6rem;
  bottom: -.4rem;
  height: .4rem;
  background: #141311;
}

.cr-door__leaf {
  position: relative;
  display: block;
  height: 100%;
  background: linear-gradient(to right, #3C464E, #57646D 45%, #47525A);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .35), inset 8px 0 14px rgba(0, 0, 0, .25);
}

.cr-door__leaf::before {
  content: '';
  position: absolute;
  inset: 7% 11% 20%;
  border: 2px solid rgba(0, 0, 0, .2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 1px 0 rgba(255, 255, 255, .06);
}

.cr-door__window {
  position: absolute;
  top: 9%;
  left: 50%;
  width: 3.1rem;
  height: 3.1rem;
  margin-left: -1.55rem;
  background:
    repeating-linear-gradient(45deg, rgba(160, 172, 184, .2) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(-45deg, rgba(160, 172, 184, .2) 0 1px, transparent 1px 8px),
    linear-gradient(135deg, #0A0C0F, #1B2128);
  border: 3px solid #2A3035;
  box-shadow: inset 0 0 8px #000;
}

.cr-door--hiring .cr-door__window {
  background:
    repeating-linear-gradient(45deg, rgba(60, 40, 10, .35) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(-45deg, rgba(60, 40, 10, .35) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 50% 40%, #FFD58A, #C98A2C);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, .6), 0 0 18px rgba(255, 190, 90, .35);
}

.cr-door__sign {
  position: absolute;
  top: 31%;
  left: 11%;
  right: 11%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .35rem .2rem .3rem;
  text-align: center;
  color: var(--accent);
  background: #141210;
  border: 2px solid var(--accent);
  border-radius: 3px;
}

.cr-door__sign b {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cr-door__sign span {
  margin-top: .2rem;
  font-family: var(--f-mono);
  font-size: .5rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #DAD3C4;
}

.cr-door__paper {
  position: absolute;
  top: 61%;
  left: 12%;
  right: 30%;
  padding: .4rem .3rem .35rem;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: .8125rem;
  line-height: 1.1;
  text-align: center;
  color: #1F1C17;
  background: #F2ECDC;
  transform: rotate(-4deg);
  box-shadow: 0 3px 6px rgba(0, 0, 0, .4);
}

.cr-door__paper::before {
  content: '';
  position: absolute;
  top: -.35rem;
  left: 50%;
  width: 2rem;
  height: .65rem;
  margin-left: -1rem;
  background: rgba(236, 226, 198, .75);
  transform: rotate(5deg);
}

.cr-door__handle {
  position: absolute;
  top: 54%;
  right: 7%;
  width: 1.9rem;
  height: .45rem;
  background: linear-gradient(to bottom, #D2CEC4, #6F6C65);
  border-radius: .25rem;
  box-shadow: 0 2px 3px rgba(0, 0, 0, .5);
  transform-origin: 88% 50%;
}

.cr-door__handle::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -.2rem;
  width: .85rem;
  height: .85rem;
  margin-top: -.425rem;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #DCD8CE, #6F6C65);
}

.cr-door__lock {
  position: absolute;
  top: 61%;
  right: 11%;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: radial-gradient(circle, #111 0 28%, #A29E94 34%, #55524C);
}

.cr-door__kick {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 15%;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .14) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .14) 0 2px, transparent 2px 9px),
    linear-gradient(to bottom, #8C8981, #5D5A54);
  border-top: 2px solid rgba(0, 0, 0, .3);
}

.cr-night__text {
  min-width: 0;
}

.cr-night__btn {
  margin-top: var(--s-4);
}

.cr-night__foot {
  margin-top: var(--s-3);
}

.cr-door.is-poke:hover .cr-door__window {
  box-shadow: inset 0 0 8px #000, 0 0 14px rgba(255, 190, 90, .25);
}

/* night shift drawer: the off-site drawer with a list, the way on stays shut until Patreon is open */

.cr-ns__text,
.cr-ns__only {
  color: var(--label);
  text-wrap: pretty;
}

.cr-ns__h {
  margin-top: var(--s-2);
  font-size: 1rem;
  color: var(--accent);
}

.cr-ns__list {
  margin-top: 0;
}

.cr-ns__only {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: #EDE6D7;
}

.cr-ns .rocker:disabled {
  color: #9A958B;
  background: linear-gradient(to bottom, #3A3732, #2A2824);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 3px 0 #0D0C0B;
  cursor: not-allowed;
}

.cr-ns .rocker:disabled:active {
  transform: none;
}

.cr-will__list {
  display: grid;
  gap: .3rem;
  margin: var(--s-2) 0 0;
  padding: 0;
  list-style: none;
  font-size: .9375rem;
  color: var(--label);
}

.cr-will__list li {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
}

.cr-will__list li::before {
  content: '';
  width: .45rem;
  height: .45rem;
  margin-top: .5rem;
  background: var(--accent);
  transform: rotate(45deg);
}

/* ---------- gear lockers ---------- */

.cr-gearteaser {
  display: grid;
  gap: var(--s-5);
  margin-top: var(--s-5);
}

@container (min-width: 36rem) {
  .cr-gearteaser {
    grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
    align-items: end;
  }
}

.cr-lockers {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  max-width: 26rem;
  padding: .45rem .45rem 0;
  background: #161513;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 16px 28px rgba(0, 0, 0, .5);
}

.cr-locker {
  position: relative;
  display: block;
  flex: 1 1 0;
  min-width: 0;
  height: 12.5rem;
  perspective: 700px;
}

.cr-locker__door {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(to right, #4A564D, #66746A 45%, #55625A);
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .12);
  transform-origin: 0 50%;
}

.cr-locker__vents {
  position: absolute;
  top: 7%;
  left: 22%;
  right: 22%;
  height: 16%;
  background: repeating-linear-gradient(to bottom, #1A1F1C 0 2px, rgba(255, 255, 255, .14) 2px 3px, transparent 3px 7px);
}

.cr-locker__no {
  position: absolute;
  top: 30%;
  left: 50%;
  padding: .1rem .3rem;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: .5625rem;
  color: #1A1917;
  background: #DAD3C4;
  transform: translateX(-50%);
}

.cr-locker__handle {
  position: absolute;
  top: 50%;
  right: 13%;
  width: .4rem;
  height: 1.8rem;
  background: linear-gradient(to right, #8C897F, #3A3833);
  border-radius: 2px;
}

.cr-locker--gear {
  text-decoration: none;
}

.cr-locker--gear .cr-locker__door {
  background: linear-gradient(to right, #B4821C, #E7AE34 45%, #C99322);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .3), 6px 0 14px rgba(0, 0, 0, .45);
  transform: rotateY(-50deg);
  transition: transform .5s var(--ease);
}

.cr-locker--gear:hover .cr-locker__door,
.cr-st--gear:has(.cr-gearteaser__btn:hover) .cr-locker--gear .cr-locker__door,
.cr-st--gear:has(.cr-gearteaser__btn:focus-visible) .cr-locker--gear .cr-locker__door {
  transform: rotateY(-72deg);
}

.cr-locker--gear .cr-locker__vents {
  background: repeating-linear-gradient(to bottom, #5B410E 0 2px, rgba(255, 255, 255, .3) 2px 3px, transparent 3px 7px);
}

.cr-locker__dymo {
  position: absolute;
  top: 30%;
  left: 50%;
  padding: .2rem .35rem;
  font-size: .5625rem;
  transform: translateX(-50%);
}

.cr-locker__inside {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(to bottom, #0B0A09, #1E1C19);
  border-radius: 2px;
  box-shadow: inset 0 0 14px #000;
}

.cr-locker__rail {
  position: absolute;
  top: 12%;
  left: 8%;
  right: 8%;
  height: 3px;
  background: #8C897F;
}

.cr-locker__shirt {
  position: absolute;
  top: 14%;
  left: 14%;
  right: 10%;
  height: 40%;
  background: linear-gradient(to bottom, #3A3835, #26241F);
  clip-path: polygon(32% 0, 68% 0, 100% 16%, 90% 34%, 80% 28%, 80% 100%, 20% 100%, 20% 28%, 10% 34%, 0 16%);
}

.cr-locker__shirt::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 30%;
  right: 30%;
  height: 22%;
  background: repeating-linear-gradient(to bottom, var(--accent) 0 3px, transparent 3px 6px);
  opacity: .9;
}

.cr-locker__sheet {
  position: absolute;
  bottom: 9%;
  left: 18%;
  right: 18%;
  height: 16%;
  background:
    radial-gradient(circle, var(--accent) 0 30%, transparent 32%) 15% 30% / 40% 50% no-repeat,
    radial-gradient(circle, #C2331F 0 30%, transparent 32%) 85% 30% / 40% 50% no-repeat,
    linear-gradient(#141210, #141210) 50% 85% / 70% 20% no-repeat,
    #F4F1E8;
  border-radius: 2px;
  transform: rotate(-4deg);
}

.cr-gearteaser__btn {
  margin-top: var(--s-4);
}

@media (max-width: 29.99em) {
  .cr-locker--3,
  .cr-locker--4 {
    display: none;
  }
}

/* ---------- notice board ---------- */

.cr-board {
  margin-top: var(--s-5);
}

.cr-board__cork {
  position: relative;
  display: grid;
  gap: var(--s-5) var(--s-4);
  padding: var(--s-5) var(--s-4);
  background:
    radial-gradient(circle at 20% 30%, rgba(60, 35, 10, .35) 0 1px, transparent 1.5px) 0 0 / 9px 11px,
    radial-gradient(circle at 70% 60%, rgba(255, 232, 190, .22) 0 1px, transparent 1.5px) 0 0 / 13px 7px,
    radial-gradient(circle at 40% 80%, rgba(80, 45, 15, .3) 0 1.2px, transparent 2px) 0 0 / 17px 13px,
    linear-gradient(to bottom, #A98559, #8C6A41);
  border: .6rem solid;
  border-color: #6E4D2D #523820 #412C19 #5E4126;
  border-radius: 2px;
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, .35), 0 16px 28px rgba(0, 0, 0, .5);
}

.cr-board__rules {
  display: grid;
  gap: var(--s-5) var(--s-4);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: cr-rule;
}

.cr-note {
  position: relative;
  margin: 0;
  padding: var(--s-5) var(--s-4) var(--s-3);
  font-size: .9375rem;
  line-height: 1.4;
  color: var(--paper-ink);
  background: #F4EFE3;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .35);
}

.cr-note::before {
  content: '';
  position: absolute;
  top: .45rem;
  left: 50%;
  width: .8rem;
  height: .8rem;
  margin-left: -.4rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FF9C8C, #C2331F 55%, #6E1A10);
  box-shadow: 0 3px 3px rgba(0, 0, 0, .4);
}

.cr-note--welcome {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase;
  background: var(--carbon-yellow);
  transform: rotate(-.8deg);
}

.cr-note__line {
  display: block;
}

.cr-note--welcome::before {
  background: radial-gradient(circle at 35% 35%, #9CC0FF, #1D3B8F 55%, #0B1A44);
}

.cr-board__rules .cr-note {
  counter-increment: cr-rule;
}

.cr-board__rules .cr-note::after {
  content: counter(cr-rule) '.';
  position: absolute;
  top: .35rem;
  left: .6rem;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: .75rem;
  color: var(--ink-red);
}

.cr-note--r1 {
  transform: rotate(.8deg);
}

.cr-note--r2 {
  background: var(--carbon-pink);
  transform: rotate(-.7deg);
}

.cr-note--r3 {
  transform: rotate(.5deg);
}

.cr-note--orders {
  display: grid;
  gap: var(--s-2);
  background: #FBF8F0;
  transform: rotate(-.4deg);
}

.cr-note__big {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.cr-note__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--s-5);
}

.cr-note__link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: var(--hit);
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: .875rem;
  color: var(--paper-ink);
  text-decoration-color: var(--ink-red);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.cr-note__arrow {
  margin-left: .4em;
}

.cr-note__link:hover {
  color: var(--ink-red);
}

.cr-note__link--open {
  font-weight: 400;
  text-decoration-color: rgba(31, 28, 23, .35);
}

.cr-note__dot {
  width: .55rem;
  height: .55rem;
  margin-right: .45rem;
  border-radius: 50%;
  background: #C2331F;
  box-shadow: 0 0 0 2px rgba(194, 51, 31, .2);
}

.cr-scrap {
  justify-self: start;
  max-width: 14rem;
  padding: .5rem .7rem;
  font-family: var(--f-mono);
  font-size: .75rem;
  line-height: 1.4;
  color: var(--paper-ink);
  background: #E9E2CF;
  transform: rotate(-2deg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, .35);
}

.cr-scrap::before {
  content: '';
  display: block;
  width: 2rem;
  height: .6rem;
  margin: -.85rem auto .35rem;
  background: rgba(236, 226, 198, .8);
  transform: rotate(3deg);
}

/* business card: printed line, handwritten answer, hazard edge */

.cr-note--biz {
  justify-self: end;
  width: 100%;
  max-width: 19rem;
  padding: var(--s-4) var(--s-4) var(--s-1) 1.6rem;
  background: linear-gradient(rgba(255, 255, 255, .5), rgba(0, 0, 0, .03)), #FBFAF5;
  border-radius: 3px;
  transform: rotate(1.6deg);
}

.cr-note--biz::before {
  left: auto;
  right: 1.1rem;
  background: radial-gradient(circle at 35% 35%, #FFE7A0, var(--accent) 55%, #7A5512);
}

.cr-note--biz::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: .55rem;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 .35rem, #141210 .35rem .7rem);
  border-radius: 3px 0 0 3px;
}

.cr-biz__label {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: var(--t-osd);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.cr-biz__big {
  margin-top: .2rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.625rem;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.cr-biz__voice {
  margin-top: .15rem;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--ink-blue);
  transform: rotate(-2deg);
  transform-origin: 0 50%;
}

@media (min-width: 37.5em) {
  .cr-board__cork {
    padding: var(--s-6) var(--s-5);
  }

  .cr-board__rules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 48em) {
  .cr-board__cork {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: var(--s-6) var(--s-4);
  }

  .cr-note--welcome {
    grid-column: 1 / 8;
    grid-row: 1;
    padding-right: var(--s-5);
    font-size: 1.625rem;
  }

  .cr-note--orders {
    grid-column: 8 / 13;
    grid-row: 1;
    margin-top: var(--s-2);
  }

  .cr-board__rules {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-inline: var(--s-3);
  }

  .cr-scrap {
    grid-column: 1 / 6;
    grid-row: 3;
    margin: var(--s-2) 0 0 var(--s-5);
  }

  .cr-note--biz {
    grid-column: 7 / 12;
    grid-row: 3;
  }
}

@media (min-width: 64em) {
  .cr-note--welcome {
    font-size: 1.875rem;
  }

  .cr-note--biz {
    grid-column: 8 / 12;
  }
}

/* ---------- gear page: pegboard rack ---------- */

.cr-rack {
  position: relative;
  margin: 0 calc(var(--gutter) * -1);
  padding: var(--s-6) var(--gutter) var(--s-2);
  overflow: hidden;
  background:
    radial-gradient(circle, #16130E 0 2.4px, rgba(255, 255, 255, .08) 2.8px 3.4px, transparent 3.8px) .75rem .75rem / 1.5rem 1.5rem,
    linear-gradient(to bottom, #6E5C44, #5B4B37);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), inset 0 20px 40px rgba(0, 0, 0, .35), 0 18px 40px rgba(0, 0, 0, .4);
}

.cr-rack::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--noise);
  opacity: .1;
  mix-blend-mode: overlay;
}

@media (min-width: 48em) {
  .cr-rack {
    margin-inline: 0;
    padding: var(--s-6) var(--s-6) var(--s-2);
    border-radius: 4px;
  }
}

.cr-items {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0 var(--s-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40em) {
  .cr-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64em) {
  .cr-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* the free shelf has four pieces: two by two, then one row on wide screens */
@media (min-width: 64em) {
  .cr-items--free {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 75em) {
  .cr-items--free {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.cr-item {
  position: relative;
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 0;
  justify-items: center;
  align-items: start;
  min-width: 0;
  padding-bottom: var(--s-7);
}

.cr-item__peg {
  position: relative;
  z-index: 2;
  width: .55rem;
  height: 1.3rem;
  background: linear-gradient(to right, #8F8B81, #E2DED4, #858177);
  border-radius: 2px;
  box-shadow: 0 3px 4px rgba(0, 0, 0, .45);
}

.cr-item__fig {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  margin-top: -.35rem;
}

.cr-minis {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 15rem;
  padding: .4rem 0 0;
}

.cr-mini {
  display: block;
  flex: 0 1 5.4rem;
  min-width: 0;
  padding: .3rem;
  background: linear-gradient(to bottom, #2C2A27, #161513);
  border-radius: .85rem;
  box-shadow: 0 0 0 1.5px #0B0A09, 0 10px 18px rgba(0, 0, 0, .5);
}

.cr-mini + .cr-mini {
  margin-left: -1.1rem;
}

.cr-mini:nth-child(1) {
  transform: rotate(-8deg) translateY(.5rem);
}

.cr-mini:nth-child(2) {
  position: relative;
  z-index: 1;
}

.cr-mini:nth-child(3) {
  transform: rotate(8deg) translateY(.5rem);
}

.cr-mini__img {
  width: 100%;
  height: auto;
  aspect-ratio: 1290 / 2796;
  border-radius: .6rem;
  background: #0E0D0B;
}

.cr-tag {
  position: relative;
  width: 100%;
  max-width: 20rem;
  margin-top: var(--s-5);
  padding: var(--s-4) var(--s-4) var(--s-3) 2.4rem;
  color: var(--paper-ink);
  background: linear-gradient(rgba(255, 255, 255, .2), rgba(0, 0, 0, .04)), #E9DDBE;
  clip-path: polygon(1.3rem 0, 100% 0, 100% 100%, 1.3rem 100%, 0 calc(100% - 1.3rem), 0 1.3rem);
  transform: rotate(-.8deg);
}

.cr-item:nth-child(even) .cr-tag {
  transform: rotate(.7deg);
}

.cr-tag::before {
  content: '';
  position: absolute;
  top: 50%;
  left: .55rem;
  width: .75rem;
  height: .75rem;
  margin-top: -.375rem;
  border-radius: 50%;
  background: #4B3D2C;
  box-shadow: 0 0 0 .22rem #D3C39A, inset 0 1px 2px rgba(0, 0, 0, .6);
}

.cr-tag__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.cr-tag__text {
  margin-top: .35rem;
  font-size: .9375rem;
  line-height: 1.4;
}

.cr-tag__voice {
  margin-top: .35rem;
  color: var(--ink-blue);
}

.cr-tag__stock {
  margin-top: var(--s-3);
  padding-top: var(--s-2);
  font-family: var(--f-mono);
  font-size: .75rem;
  line-height: 1.45;
  color: var(--ink-red);
  border-top: 1px dashed rgba(31, 28, 23, .35);
}

.cr-tag__stock span {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.cr-tag__stock--in {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-green);
}

.cr-tag__go {
  color: var(--paper-ink);
}

/* two shelves: what can be taken today, then the store */

.cr-shelf + .cr-shelf,
.cr-shelf + .cr-walls-sec,
.cr-walls-sec + .cr-shelf {
  margin-top: var(--s-7);
}

.cr-shelf > .cr-rack {
  margin-top: var(--s-5);
}

.cr-tag__gos {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s-4);
}

.cr-tag__meta {
  margin-top: .3rem;
  font-size: .6875rem;
  color: #6E6656;
}

/* her name under a quote, the way a site would sign it */
.cr-by {
  display: block;
  margin-top: .2rem;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: .4375rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .75;
}

/* free: the crew pass hangs on the peg by its lanyard, folded over; green for a new hire, yellow for crew */
.cr-item--call .cr-item__peg {
  visibility: hidden;
}

.cr-gpass {
  --strap: #3B9A57;
  position: relative;
  display: block;
  width: 100%;
  max-width: 10.5rem;
  margin-top: .5rem;
  aspect-ratio: 740 / 1180;
  transform: rotate(1.5deg);
  transform-origin: 50% 0;
}

.cr-gpass.is-mine {
  --strap: #DDA126;
}

.cr-gpass::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -1.3rem;
  width: .8rem;
  height: 1.55rem;
  margin-left: -.4rem;
  background: linear-gradient(to right, rgba(0, 0, 0, .25), rgba(255, 255, 255, .12) 30%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .3)), var(--strap);
  border-radius: .4rem .4rem 0 0;
  box-shadow: 2px 3px 4px rgba(0, 0, 0, .35);
}

.cr-gpass__img,
.cr-gpass__cv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* free: a laptop on the shelf with the call background and somebody in front of it */
.cr-item--call .cr-item__fig {
  align-self: end;
  padding-bottom: 1.4rem;
}

.cr-laptop {
  position: relative;
  width: 100%;
  max-width: 15rem;
  padding-bottom: 1.1rem;
}

.cr-laptop__lid {
  display: block;
  margin: 0 1.1rem;
  padding: .45rem .45rem .7rem;
  background: linear-gradient(#2E2C29, #1A1917);
  border-radius: .55rem .55rem .15rem .15rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 10px 18px rgba(0, 0, 0, .45);
}

.cr-laptop__screen {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: .2rem;
  background: #0E0D0B;
}

.cr-laptop__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

/* the person on the call: head and shoulders in the middle of the frame */
.cr-laptop__you {
  position: absolute;
  left: 33%;
  right: 33%;
  bottom: 0;
  height: 70%;
  background:
    radial-gradient(ellipse 34% 30% at 50% 30%, #23211E 0 97%, transparent 100%),
    radial-gradient(ellipse 50% 42% at 50% 100%, #23211E 0 97%, transparent 100%);
}

.cr-laptop__bar {
  position: absolute;
  left: 50%;
  bottom: 6%;
  display: flex;
  gap: .2rem;
  padding: .12rem .25rem;
  background: rgba(14, 13, 11, .7);
  border-radius: .3rem;
  transform: translateX(-50%);
}

.cr-laptop__bar i {
  width: .32rem;
  height: .32rem;
  border-radius: 50%;
  background: #D8D2C6;
}

.cr-laptop__bar i:last-child {
  background: #E5483B;
}

.cr-laptop__deck {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.1rem;
  height: .55rem;
  background: linear-gradient(#C9C5BC, #8E8A82);
  border-radius: 0 0 .5rem .5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .35);
}

.cr-laptop .cr-mugx__shelf {
  left: -.6rem;
  right: -.6rem;
}

/* free: two printed sheets in a bulldog clip on the peg */
.cr-sheets {
  position: relative;
  width: 100%;
  max-width: 12.5rem;
  margin-top: -.2rem;
  aspect-ratio: 420 / 544;
}

.cr-sheets__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #FFF;
  box-shadow: 0 10px 18px rgba(0, 0, 0, .45);
  transform: rotate(-1.5deg);
  transform-origin: 50% 0;
}

.cr-sheets__img--back {
  transform: rotate(4deg) translate(.5rem, .2rem);
  filter: brightness(.94);
}

.cr-sheets__clip {
  position: absolute;
  left: 50%;
  top: -.35rem;
  width: 3.2rem;
  height: 1.2rem;
  margin-left: -1.6rem;
  background: linear-gradient(#55524C, #2C2A27);
  border-radius: .15rem .15rem .3rem .3rem;
  box-shadow: 0 3px 5px rgba(0, 0, 0, .5);
}

.cr-sheets__clip::before {
  content: '';
  position: absolute;
  left: .5rem;
  right: .5rem;
  bottom: 100%;
  height: .7rem;
  border: 2px solid #B8B4AA;
  border-bottom: 0;
  border-radius: .4rem .4rem 0 0;
}


/* mockups */

.cr-sheet {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: .55rem;
  width: 100%;
  max-width: 17rem;
  padding: .9rem .8rem;
  background: #F7F5EF;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 12px 20px rgba(0, 0, 0, .45);
  transform: rotate(-2deg);
}

.cr-stk {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .45rem .6rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: .8125rem;
  line-height: 1.02;
  letter-spacing: .03em;
  text-align: center;
  text-transform: uppercase;
  border-radius: 6px;
  box-shadow: 0 0 0 2px #FFF, 0 0 0 3px rgba(0, 0, 0, .1), 0 2px 3px 2px rgba(0, 0, 0, .12);
}

.cr-stk--a {
  width: 100%;
  font-size: 1.0625rem;
  color: #1F1C17;
  background: var(--accent);
}

.cr-stk--b {
  color: var(--accent);
  background: #1F1C17;
}

.cr-stk--c {
  width: 4.9rem;
  height: 4.9rem;
  padding: .4rem;
  font-size: .6875rem;
  color: #1F1C17;
  background: #FBF8F0;
  border: 4px solid #C2331F;
  border-radius: 50%;
}

.cr-stk--d {
  max-width: 8rem;
  color: #1F1C17;
  background: #FBF8F0;
  border: 4px solid transparent;
  border-image: repeating-linear-gradient(-45deg, var(--accent) 0 5px, #141210 5px 10px) 4;
  border-radius: 0;
}

.cr-stk--e {
  max-width: 7rem;
  font-size: .6875rem;
  color: #F2EEE6;
  background: #3C464E;
}

.cr-stk--f {
  color: #F2EEE6;
  background: #141210;
}

.cr-stk--f small {
  margin-top: .2rem;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: .5rem;
  letter-spacing: .1em;
  color: var(--label-muted);
}

.cr-msign {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 13.5rem;
  aspect-ratio: 1 / 1.3;
  padding: .7rem .7rem 0;
  overflow: hidden;
  color: #1F1C17;
  background: linear-gradient(170deg, #FBFAF7, #EDEBE5 60%, #E4E1DA);
  border-radius: .45rem;
  box-shadow: 0 0 0 3px #1F1C17, 0 0 0 5px #B9B7B0, 0 0 0 6px #85837D, 0 14px 22px rgba(0, 0, 0, .5);
  transform: rotate(-1deg);
}

.cr-msign__hole {
  position: absolute;
  z-index: 1;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #E9E6DF 0 .08rem, #8F8B83 .16rem, #45423D .25rem);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .4);
}

.cr-msign__hole--tl { left: .3rem; top: .3rem; }
.cr-msign__hole--tr { right: .3rem; top: .3rem; }
.cr-msign__hole--bl { left: .3rem; bottom: .3rem; }
.cr-msign__hole--br { right: .3rem; bottom: .3rem; }

.cr-msign__head {
  display: block;
  padding: .25rem .2rem .15rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
  background: var(--accent);
  border: 2.5px solid #1F1C17;
}

.cr-msign__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin: .35rem 0 .3rem;
  padding: 0 0 0 1rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .58rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.cr-msign__list li::marker {
  font-family: var(--f-mono);
  font-size: .48rem;
  color: #9A3A22;
}

.cr-msign__last {
  color: #B3261E;
}

.cr-msign__by {
  display: block;
  margin: 0 -.7rem;
  padding: .3rem .5rem .45rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: .95;
  letter-spacing: .05em;
  text-align: center;
  text-transform: uppercase;
  color: var(--accent);
  background: #1F1C17;
}

.cr-msign__by small {
  display: block;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: .4375rem;
  letter-spacing: .3em;
  color: #F2EEE6;
}

.cr-mugx {
  position: relative;
  width: 12rem;
  height: 13rem;
}

.cr-mugx__body {
  position: absolute;
  left: 1.6rem;
  bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 7.2rem;
  height: 8rem;
  text-align: center;
  background: linear-gradient(to right, #C7C1B4, #FCFAF4 32%, #ECE6DA 72%, #B2AC9F);
  border-radius: .3rem .3rem 1.4rem 1.4rem;
  box-shadow: inset 0 5px 0 #1F2A44, inset 0 -3px 0 rgba(0, 0, 0, .08), 0 10px 18px rgba(0, 0, 0, .4);
}

.cr-mugx__rule {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: .5625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #9A3A22;
}

.cr-mugx__txt {
  margin-top: .25rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1;
  text-transform: uppercase;
  color: #1F1C17;
}

.cr-mugx__handle {
  position: absolute;
  left: 8.4rem;
  bottom: 3.2rem;
  width: 2rem;
  height: 3.6rem;
  border: .55rem solid #DCD6C9;
  border-left: 0;
  border-radius: 0 1.8rem 1.8rem 0;
  box-shadow: 4px 6px 10px rgba(0, 0, 0, .25);
}

.cr-mugx__shelf {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.1rem;
  background: linear-gradient(to bottom, #8F7754, #6A5539);
  border-radius: 2px;
  box-shadow: 0 8px 14px rgba(0, 0, 0, .45);
}

.cr-mugx__shelf::before,
.cr-mugx__shelf::after {
  content: '';
  position: absolute;
  top: 100%;
  width: .55rem;
  height: 1.4rem;
  background: linear-gradient(to right, #6F6C65, #B8B4AA, #6F6C65);
}

.cr-mugx__shelf::before {
  left: 1rem;
}

.cr-mugx__shelf::after {
  right: 1rem;
}

.cr-mugx__steam {
  display: none;
}

.cr-item--mug .cr-item__peg {
  visibility: hidden;
}

.cr-item--mug .cr-item__fig {
  align-self: end;
  padding-bottom: 1.4rem;
}

.cr-shirt {
  width: 100%;
  max-width: 14rem;
  height: auto;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .45));
}

.cr-shirt__hanger {
  stroke: #B9B5AA;
}

.cr-shirt__body {
  fill: #2B2A28;
  stroke: #161513;
  stroke-width: 2;
}

.cr-shirt__collar {
  stroke: #1C1B19;
}

.cr-shirt__t {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: .04em;
  fill: var(--accent);
}

.cr-shirt__rec {
  fill: #FF4A3D;
}

.cr-shirt__s {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .1em;
  fill: #DAD3C4;
}

.cr-patch {
  width: 100%;
  max-width: 13rem;
  height: auto;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45));
}

.cr-patch__edge {
  fill: var(--accent);
}

.cr-patch__twill {
  fill: #1F1C17;
}

.cr-patch__stitch {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 4 3;
  opacity: .8;
}

.cr-patch__arc {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .12em;
  fill: #F2EEE6;
}

.cr-patch__arc--s {
  font-size: 12px;
  letter-spacing: .16em;
  fill: var(--label-muted);
}

.cr-patch__hat,
.cr-patch__brim {
  fill: var(--accent);
}

/* ridge and brim line, stitched in the twill colour (stroke is scaled by the hat group) */
.cr-patch__seam {
  fill: none;
  stroke: #1F1C17;
  stroke-width: 6;
  stroke-linecap: round;
  opacity: .55;
}

.cr-patch__no {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .06em;
  fill: #F2EEE6;
}

.cr-mugx__by {
  margin-top: .3rem;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: .4375rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #5E574B;
}

.cr-shirt__by {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: .16em;
  fill: #DAD3C4;
}

.cr-cap {
  width: 100%;
  max-width: 15.2rem;
  height: auto;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .5));
}

.cr-cap__seam {
  fill: none;
  stroke: #1E1D1B;
  stroke-width: 1.4;
  opacity: .8;
}

.cr-cap__rim {
  fill: none;
  stroke: #8A867E;
  stroke-width: 1.2;
  stroke-linecap: round;
  opacity: .55;
}

.cr-cap__button {
  fill: #2A2926;
  stroke: #57544E;
  stroke-width: 1;
}

.cr-cap__patch {
  fill: #1F1C17;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-dasharray: 2.5 1.6;
}

.cr-cap__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .05em;
  fill: var(--accent);
}

.cr-cap__edge {
  fill: #1A1917;
}

.cr-cap__stitch {
  fill: none;
  stroke: #5B5852;
  stroke-width: 1;
  stroke-dasharray: 2 1.5;
}

.cr-cap__eyelet {
  fill: #1E1D1B;
  stroke: #57544E;
  stroke-width: 1;
}

.cr-clip__wire {
  fill: none;
  stroke: #B9B5AA;
  stroke-width: 4;
  stroke-linecap: round;
}

.cr-clip__jaw {
  fill: #A9A59B;
  stroke: #6F6B63;
  stroke-width: 1;
}

.cr-clip__spring {
  stroke: #6F6B63;
  stroke-width: 1.5;
}

.cr-clip__shine {
  fill: #E8E4DA;
  opacity: .7;
}

.cr-cap__shine {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  opacity: .07;
}

.cr-cap__band {
  fill: none;
  stroke: #1A1917;
  stroke-width: 2;
}

/* wallpapers */

.cr-walls-sec .cr-text {
  margin-top: var(--s-2);
}

.cr-walls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(12rem, calc((100% - 2 * var(--s-5)) / 3))), 1fr));
  gap: var(--s-6) var(--s-5);
  margin: var(--s-5) 0 0;
  padding: 0;
  list-style: none;
}

.cr-wall {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
}

.cr-phone {
  display: block;
  width: 100%;
  max-width: 12.5rem;
  padding: .55rem;
  background: linear-gradient(to bottom, #2C2A27, #161513);
  border-radius: 1.7rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 0 0 2px #0B0A09, 0 18px 32px rgba(0, 0, 0, .55);
}

.cr-phone__img {
  width: 100%;
  height: auto;
  aspect-ratio: 1290 / 2796;
  border-radius: 1.2rem;
  background: #0E0D0B;
}

.cr-wall__name {
  margin-top: var(--s-4);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #EDE6D7;
}

.cr-wall__dl {
  margin-top: var(--s-3);
}

.cr-wall__meta {
  margin-top: var(--s-2);
}

@media (max-width: 37.49em) {
  .cr-walls {
    gap: var(--s-5);
  }

  .cr-wall {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    align-items: start;
    gap: 0 var(--s-4);
    text-align: left;
  }

  .cr-phone {
    grid-row: 1 / 4;
    padding: .35rem;
    border-radius: 1rem;
  }

  .cr-phone__img {
    border-radius: .7rem;
  }

  .cr-wall__name {
    margin-top: var(--s-2);
  }

  .cr-wall__dl {
    justify-self: start;
  }
}

.cr-back {
  margin-top: var(--s-6);
}

@media (prefers-reduced-motion: reduce) {
  .cr-card.is-punch,
  .cr-clock.is-punch,
  .cr-punch__v.is-stamped {
    animation: none;
  }

  .cr-locker--gear .cr-locker__door {
    transition: none;
  }

  .cr-ptt:active {
    transform: none;
  }
}
