:root {
  --red: #f0421c;
  --ink: #140a06;
  --bone: #fff1e2;
  --gutter: clamp(16px, 2.4vw, 36px);
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --display: "Anybody", "Arial Narrow", Impact, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto 24svh;
  min-height: 100svh;
  background: var(--red);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: var(--gutter) var(--gutter) 0;
  font-size: 13px;
}

.bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.timecode {
  font-variant-numeric: tabular-nums;
}

.clave {
  appearance: none;
  background: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 3px 12px;
  white-space: nowrap;
}

.clave[aria-pressed="true"] {
  background: var(--ink);
  color: var(--red);
  border-color: var(--ink);
}

.clave:focus-visible,
.info a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.mark {
  align-self: center;
  padding: 0 var(--gutter);
  font-family: var(--display);
  font-size: min(25vw, 29svh);
  font-weight: 900;
  font-stretch: 60%;
  font-variation-settings: "wdth" 60, "wght" 900;
  line-height: 0.84;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.line {
  display: block;
  white-space: pre;
}

.ch {
  display: inline-block;
}

.statement {
  padding: 0 var(--gutter) clamp(14px, 2.4svh, 26px);
  font-size: clamp(15px, 1.25vw, 19px);
}

.wave {
  display: block;
  width: 100%;
  height: 100%;
}

.playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: var(--bone);
  pointer-events: none;
  will-change: transform;
}

/* Info */

.info {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(40px, 7vw, 96px) var(--gutter) var(--gutter);
}

.ledger {
  max-width: 1120px;
}

.row {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) 4fr;
  gap: 8px 32px;
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-top: 1px solid rgb(255 241 226 / 0.22);
}

dt {
  color: rgb(255 241 226 / 0.62);
  font-size: 13px;
}

dd {
  margin: 0;
  max-width: 62ch;
}

.lead {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 40px);
  font-variation-settings: "wdth" 88, "wght" 500;
  line-height: 1.12;
  max-width: 28em;
}

.product {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 40px);
  font-variation-settings: "wdth" 88, "wght" 500;
  line-height: 1.12;
  text-decoration: none;
  transition: color 0.15s ease;
}

.product:hover {
  color: var(--red);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.links a:hover {
  color: var(--red);
}

.foot {
  margin-top: clamp(40px, 6vw, 80px);
  color: rgb(255 241 226 / 0.62);
  font-size: 13px;
}

@media (max-width: 620px) {
  .row {
    grid-template-columns: 1fr;
  }

  .timecode {
    display: none;
  }

  .mark {
    font-size: min(30vw, 29svh);
  }
}

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