.shift {
  --ink: #1e302e;
  --ink-soft: #455650;
  --page: #f7f0df;
  --desk: #f1e7d5;
  --rule: #b8aa8d;
  --gold-ink: #715124;
  --night: #111d25;
  --brass: #e8c580;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: Inter, Arial, sans-serif;
  font-family: var(--sans);
  background: var(--page);
  color: var(--ink);
}
.shift *,
.shift *::before,
.shift *::after {
  box-sizing: border-box;
}
.shift h1,
.shift h2,
.shift h3,
.shift p,
.shift figure {
  margin: 0;
}
.shift h1,
.shift h2,
.shift h3 {
  font-family: var(--serif);
  font-weight: 400;
}
.shift img {
  display: block;
  max-width: 100%;
  height: auto;
}
.shift a,
.shift button {
  touch-action: manipulation;
}
.shift :focus-visible {
  outline: 3px solid #d55e25;
  outline-offset: 4px;
}
.shift [hidden] {
  display: none !important;
}
.shift-hero {
  background: var(--night);
  color: #fff4d8;
}
.shift-poster {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1640px;
  min-height: 568px;
  aspect-ratio: 2.37;
  margin: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 6% 95%, #284144 0%, transparent 51%), #111c26;
}
.shift-hero-art {
  position: absolute;
  inset: 0 0 0 34%;
  z-index: -1;
  mask-image: linear-gradient(90deg, transparent, #000 34%);
}
.shift-hero-art img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}
.shift-hero-art::after {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(90deg, #121e27 0%, rgba(18, 30, 39, 0.55) 13%, transparent 44%),
    linear-gradient(0deg, rgba(8, 18, 24, 0.45), transparent 28%, transparent 80%, rgba(8, 18, 24, 0.45));
}
.shift-poster::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("art/rays.svg") left bottom / auto 65% no-repeat;
  opacity: 0.34;
}
.shift-film-frame {
  position: absolute;
  inset: 17px;
  pointer-events: none;
  border: 1px solid #ac935d90;
  z-index: 2;
}
.shift-film-frame i {
  position: absolute;
  width: 33px;
  height: 33px;
  border: solid #ddc086;
  border-width: 2px 0 0 2px;
  top: -1px;
  left: -1px;
}
.shift-film-frame i::after {
  content: "";
  position: absolute;
  inset: 4px auto auto 4px;
  border: solid #ddc086;
  border-width: 1px 0 0 1px;
  width: 17px;
  height: 17px;
}
.shift-film-frame i:nth-child(2) {
  left: auto;
  right: -1px;
  transform: rotate(90deg);
}
.shift-film-frame i:nth-child(3) {
  top: auto;
  left: auto;
  right: -1px;
  bottom: -1px;
  transform: rotate(180deg);
}
.shift-film-frame i:nth-child(4) {
  top: auto;
  bottom: -1px;
  transform: rotate(270deg);
}
.shift-billing,
.shift-kicker,
.shift-genre,
.shift-file-style,
.shift-screen figcaption,
.shift-index a {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.5;
}
.shift-billing {
  position: absolute;
  top: 33px;
  left: 44px;
  right: 44px;
  display: flex;
  justify-content: space-between;
  color: #efddb3;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}
.shift-lead {
  padding: 88px 0 72px;
  margin-left: max(7%, calc((100% - 1250px) / 2));
  width: 41%;
}
.shift-genre {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brass);
}
.shift-genre::before {
  content: "";
  width: 36px;
  border-top: 3px double currentColor;
}
.shift #shift-title {
  font-size: clamp(5rem, 7.4vw, 8rem);
  line-height: 0.82;
  letter-spacing: -0.057em;
  color: #f8eed7;
  margin: 28px 0 22px;
}
.shift #shift-title span,
.shift #shift-title em {
  display: block;
}
.shift #shift-title .shift-title-the {
  font: italic 0.42em/.95 var(--serif);
  color: var(--brass);
  letter-spacing: -0.025em;
  margin-bottom: 0.2em;
}
.shift #shift-title em {
  font-weight: 400;
  font-style: italic;
  color: #ecd19a;
  line-height: 0.96;
  margin-left: -0.035em;
}
.shift-tagline {
  max-width: 35ch;
  font: 1.03rem/1.65 var(--sans);
  color: #f6edde;
  text-wrap: pretty;
}
.shift .shift-release {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #b99a62;
  padding: 0.68em 1em;
  margin-top: 23px;
  color: #ffebbd;
  font-size: 0.85rem;
  font-weight: 580;
  line-height: 1.3;
}
.shift-release span {
  width: 7px;
  height: 7px;
  background: #eace88;
  transform: rotate(45deg);
}
.shift-fan {
  position: absolute;
  bottom: 7%;
  left: 56%;
  width: 14.5%;
  aspect-ratio: 1.4;
  pointer-events: none;
}
.shift-fan img {
  position: absolute;
  height: 100%;
  width: auto;
  bottom: 0;
  filter: drop-shadow(1px 7px 4px #0009);
  border-radius: 8%;
  transform-origin: 50% 95%;
}
.shift-fan img:nth-child(1) {
  left: 0;
  transform: rotate(-25deg);
}
.shift-fan img:nth-child(2) {
  left: 21%;
  bottom: 2%;
  transform: rotate(-8deg);
}
.shift-fan img:nth-child(3) {
  left: 42%;
  transform: rotate(12deg);
}
.shift-index {
  display: flex;
  justify-content: center;
  border-top: 1px solid #756d51;
  border-bottom: 1px solid #756d51;
}
.shift-index a {
  padding: 16px 1.5rem;
  color: #e7d2a6;
  text-decoration: none;
}
.shift-index a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.shift-index a + a {
  border-left: 1px solid #756d51;
}
.shift-index span {
  margin-left: 10px;
}
.shift-desk {
  background: var(--desk);
}
.shift-desk-inner,
.shift-city,
.shift-ticket {
  width: min(1180px, calc(100% - max(9vw, 36px)));
  margin: 0 auto;
}
.shift-desk-inner {
  display: grid;
  grid-template-columns: 0.96fr 1fr;
  align-items: center;
  gap: clamp(42px, 8vw, 126px);
  padding-block: clamp(56px, 7vw, 100px);
}
.shift-screen {
  background:
    repeating-linear-gradient(145deg, #ffffff04 0px 1px, transparent 1px 6px),
    radial-gradient(ellipse at 50% 46%, #34504d, #203b3d 65%, #172b30);
  display: grid;
  place-items: center;
  padding: 40px 16px 18px;
  position: relative;
  isolation: isolate;
}
.shift-screen::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid #c4a77280;
  z-index: -1;
}
.shift-screen-rules {
  position: absolute;
  z-index: -1;
  inset: 19% 8%;
  border-block: 4px double #d9bf864f;
}
.shift-screen-rules::after {
  content: "";
  position: absolute;
  inset: 1% 0;
  border: 1px solid #d9bf865c;
  border-radius: 50%;
}
.shift-phone {
  overflow: hidden;
  position: relative;
  width: clamp(165px, 15.6vw, 221px);
  border: 4px solid #151a1b;
  border-radius: 30px;
  box-shadow:
    0 0 0 1px #d9c39b,
    0 0 0 3px #1b2526,
    6px 15px 18px #071b1b73;
}
.shift-screen figcaption {
  color: #f3dfb9;
  font-size: 0.61rem;
  margin: 17px 0 7px;
  text-align: center;
}
.shift-screen figcaption span {
  padding-inline: 0.6em;
  font-size: 0.7em;
}
.shift-kicker,
.shift-file-style {
  color: var(--gold-ink);
}
.shift h2 {
  color: var(--ink);
  font-size: clamp(2.8rem, 4.7vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: -0.052em;
}
.shift-briefing > h2,
.shift-city h2 {
  margin: 10px 0 20px;
}
.shift-briefing > p:not(.shift-kicker),
.shift-city-intro > p,
.shift-file div > p:last-child,
.shift-ticket div > p:last-child {
  font-size: 1rem;
  line-height: 1.68;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.shift-briefing > p + p {
  margin-top: 12px;
}
.shift-exercise {
  margin-top: 26px;
  padding: 14px 0 0;
  border-top: 3px double var(--rule);
}
.shift-exercise-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.shift-exercise h3 {
  font-size: 1.56rem;
}
.shift-exercise-heading > span {
  color: var(--gold-ink);
  font: 2rem/1 var(--serif);
}
.shift-static-hand {
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.shift-static-hand span {
  background: #fff5dc;
  color: #26392e;
  padding: 6px;
  border: 1px solid var(--rule);
}
.shift-hand-status,
.shift-static-help {
  margin-top: 4px !important;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.shift-hand-row {
  display: flex;
  gap: 20px;
  align-items: end;
  margin-top: 12px;
}
.shift-hand-buttons {
  display: flex;
  gap: 8px;
}
.shift-hand-row .shift-top-card {
  padding-right: 18px;
  border-right: 1px solid var(--rule);
}
.shift-top-card small {
  display: block;
  color: var(--ink-soft);
  font: 600 0.55rem/1.2 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-align: center;
}
.shift-top-card b {
  width: 53px;
  height: 68px;
  display: grid;
  place-content: center;
  border-radius: 4px;
  font: 400 1.4rem/1 var(--serif);
  color: #f8e5b9;
  background: #284542;
  box-shadow:
    -2px 2px #c3b897,
    -3px 3px #38534c;
}
.shift-hand-buttons button::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid #ad92694d;
  border-radius: 2px;
}
.shift-hand-buttons button.is-played::after {
  border-color: transparent;
}
.shift-hand-buttons button {
  position: relative;
  width: 57px;
  height: 73px;
  padding: 0;
  background: #fff8e8;
  color: #993b32;
  border: 1px solid #9e865a;
  border-radius: 5px;
  display: grid;
  align-content: center;
  justify-content: center;
  text-align: center;
  font: 1.4rem/1 var(--serif);
  cursor: pointer;
  box-shadow: 1px 2px 0 #705a3938;
}
.shift-hand-buttons button span {
  font: normal 1.6rem/1 var(--serif);
}
.shift-hand-buttons button:nth-child(2) {
  color: #21302c;
}
.shift-hand-buttons button:enabled:hover {
  background: #fffdf6;
  transform: translateY(-2px);
}
.shift-hand-buttons button:disabled {
  opacity: 0.55;
  cursor: default;
}
.shift-hand-buttons button.is-played {
  color: transparent;
  opacity: 0.8;
  box-shadow: none;
  background: repeating-linear-gradient(45deg, #d2c6ae 0 1px, #e4dac7 1px 4px);
  border-style: dashed;
}
.shift-redeal {
  margin-top: 12px;
  background: transparent;
  border: 1px solid currentColor;
  padding: 0.5em 0.9em;
  font: 600 0.8rem/1.3 var(--sans);
  color: var(--ink);
  cursor: pointer;
}
.shift-city {
  padding-block: clamp(50px, 6.9vw, 104px);
}
.shift-city-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 3px double var(--rule);
}
.shift-city-intro > p {
  max-width: 51ch;
}
.shift-city-intro h2 {
  margin-bottom: 0;
}
.shift-files {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.3vw, 40px);
  margin-top: 28px;
}
.shift-file img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  object-position: center 53%;
}
.shift-file {
  min-width: 0;
}
.shift-file picture {
  display: block;
  position: relative;
}
.shift-file picture::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid #e9cea585;
}
.shift-file div {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.shift-file-style {
  font-size: 0.6rem;
}
.shift-file h3 {
  font-size: clamp(1.73rem, 2.5vw, 2.4rem);
  margin: 5px 0 7px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.shift-file div > p:last-child {
  font-size: 0.92rem;
}
.shift-ticket {
  padding: 30px clamp(16px, 4vw, 60px);
  margin-bottom: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 65px);
  color: #fae9c7;
  background: #213b3b;
  outline: 1px solid #a99467;
  outline-offset: -7px;
  margin-inline: auto;
}
.shift::after {
  content: "";
  display: block;
  height: clamp(50px, 6.9vw, 104px);
}
.shift-ticket-mark {
  font: 400 clamp(2.1rem, 5.5vw, 5rem)/1 var(--serif);
  align-self: stretch;
  display: grid;
  align-content: center;
  padding-right: clamp(24px, 4vw, 65px);
  border-right: 1px dashed #beab7f;
  color: var(--brass);
}
.shift-ticket h2 {
  color: #fbefdb;
  font-size: clamp(1.9rem, 3.1vw, 3rem);
  margin: 6px 0 7px;
}
.shift-ticket .shift-kicker {
  color: var(--brass);
  font-size: 0.61rem;
}
.shift-ticket div > p:last-child {
  color: #f1e6cc;
  font-size: 0.92rem;
}
@media (prefers-color-scheme: dark) {
  .shift {
    --ink: #f2e6cc;
    --ink-soft: #d4d1c1;
    --desk: #1e2e30;
    --page: #192628;
    --rule: #786e5c;
    --gold-ink: #e2c389;
  }
  .shift-screen {
    background-color: #101d21;
  }
}
@media (max-width: 850px) {
  .shift-poster {
    min-height: 530px;
  }
  .shift-lead {
    width: 52%;
    margin-left: 6%;
  }
  .shift-hero-art {
    inset-inline-start: 42%;
  }
  .shift #shift-title {
    font-size: clamp(4rem, 9.2vw, 5rem);
  }
  .shift-billing {
    left: 32px;
    right: 32px;
    top: 29px;
  }
  .shift-desk-inner {
    gap: 35px;
    grid-template-columns: 0.85fr 1fr;
  }
}
@media (max-width: 640px) {
  .shift-poster {
    display: grid;
    aspect-ratio: auto;
    min-height: auto;
    padding-top: clamp(200px, 59vw, 340px);
  }
  .shift-film-frame {
    inset: 10px;
  }
  .shift-film-frame i {
    width: 22px;
    height: 22px;
  }
  .shift-film-frame i::after {
    width: 10px;
    height: 10px;
  }
  .shift-billing {
    top: 21px;
    left: 25px;
    right: 25px;
    font-size: 0.53rem;
  }
  .shift-hero-art {
    inset: 0 0 auto;
    height: calc(clamp(200px, 59vw, 340px) + 52px);
    mask-image: linear-gradient(to bottom, #000 70%, transparent);
  }
  .shift-hero-art img {
    object-position: 50% 54%;
  }
  .shift-hero-art::after {
    background: linear-gradient(0deg, #14232a, transparent 32%), linear-gradient(180deg, #0c171fbf, transparent 28%);
  }
  .shift-poster {
    background: #14232a;
  }
  .shift-poster::before {
    display: none;
  }
  .shift-lead {
    position: relative;
    padding: 35px 24px 36px;
    width: 100%;
    margin: 0;
  }
  .shift-genre {
    font-size: 0.62rem;
  }
  .shift-genre::before {
    width: 23px;
  }
  .shift #shift-title {
    font-size: clamp(3.8rem, 12.6vw, 5rem);
    line-height: 0.92;
    margin: 13px 0 14px;
  }
  .shift #shift-title .shift-title-the {
    display: block;
    font-size: 0.45em;
  }
  .shift #shift-title span:not(.shift-title-the),
  .shift #shift-title em {
    display: inline;
  }
  .shift-tagline {
    max-width: 40ch;
    font-size: 0.94rem;
    line-height: 1.6;
  }
  .shift .shift-release {
    margin-top: 19px;
    font-size: 0.8rem;
  }
  .shift-fan {
    width: 22%;
    left: auto;
    right: 15%;
    bottom: auto;
    top: clamp(150px, 46vw, 261px);
  }
  .shift-index a {
    flex: 1;
    text-align: center;
    font-size: 0.59rem;
    padding: 15px 4px;
    letter-spacing: 0.1em;
  }
  .shift-index span {
    margin-left: 3px;
  }
  .shift-desk-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .shift-screen {
    grid-row: 2;
    padding-top: 25px;
  }
  .shift-phone {
    width: min(50%, 205px);
  }
  .shift-desk-inner,
  .shift-city,
  .shift-ticket {
    width: calc(100% - 40px);
  }
  .shift-city-intro {
    gap: 15px;
    grid-template-columns: 1fr;
    padding-bottom: 20px;
  }
  .shift-files {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 20px;
  }
  .shift-file img {
    aspect-ratio: 1.8;
  }
  .shift-file div {
    padding: 13px 0 17px;
  }
  .shift-ticket {
    padding: 23px 20px;
    gap: 16px;
  }
  .shift-ticket-mark {
    font-size: 1.64rem;
    padding-right: 17px;
  }
  .shift-ticket h2 {
    font-size: 1.78rem;
  }
}
