:root {
  --blood: #e3130c;
  --bone: #f3ecec;
  --black: #000;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  color-scheme: dark;
  background: var(--black);
}

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--bone);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  width: min(960px, calc(100vw - 2.5rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.35rem, 3.4vh, 2.1rem);
  padding-bottom: 4.5rem;
}

.mark {
  position: relative;
  width: min(100%, calc((100svh - 11rem) * 2));
  margin: 0;
  aspect-ratio: 2 / 1;
}

.mark img,
.mark video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--black);
}

.mark video {
  pointer-events: none;
}

.soon {
  margin: 0;
  color: var(--bone);
  font-size: clamp(0.72rem, 1.6vw, 0.86rem);
  font-weight: 550;
  letter-spacing: 0.52em;
  line-height: 1;
  text-indent: 0.52em;
  text-transform: uppercase;
}

.soon::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 1px;
  margin: 0 auto 1.05rem;
  background: var(--blood);
}

.sound {
  position: fixed;
  left: 50%;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0 1rem 0 0.85rem;
  border: 1px solid rgba(227, 19, 12, 0.65);
  background: rgba(0, 0, 0, 0.72);
  color: var(--bone);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 550;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.sound .icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sound .icon-on {
  display: none;
}

.sound[aria-pressed="true"] {
  color: #fff;
  border-color: var(--blood);
  background: rgba(227, 19, 12, 0.16);
}

.sound[aria-pressed="true"] .icon-off {
  display: none;
}

.sound[aria-pressed="true"] .icon-on {
  display: block;
}

.sound:hover {
  border-color: var(--blood);
  color: #fff;
}

.sound:focus-visible {
  outline: 2px solid var(--blood);
  outline-offset: 3px;
}

::selection {
  background: var(--blood);
  color: #fff;
}

@media (max-width: 420px) {
  .soon {
    letter-spacing: 0.36em;
    text-indent: 0.36em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mark video {
    display: none;
  }
}
