@font-face {
  font-family: Inter;
  src: url(inter-400.woff2);
}
@font-face {
  font-family: Cormorant;
  src: url(cormorantgaramond-500.woff2);
}
@font-face {
  font-family: Cormorant;
  src: url(cormorantgaramond-500i.woff2);
  font-style: italic;
}
@font-face {
  font-family: Mono;
  src: url(ibmplexmono-400.woff2);
}
:root {
  color-scheme: dark;
  --bg: #0b1319;
  --ink: #f4eee2;
  --dim: #bbc2c1;
  --gold: #e8c68a;
  --line: #ffffff24;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    15px/1.65 Inter,
    Arial,
    sans-serif;
}
a {
  color: inherit;
}
a,
button,
input,
select,
textarea {
  touch-action: manipulation;
}
button,
select {
  cursor: pointer;
}
button,
input,
textarea,
select {
  font: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -300px;
  z-index: 5;
}
.skip:focus {
  left: 10px;
  background: var(--bg);
}
header,
footer {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 5.5%;
  background: #0c151b;
  border-bottom: 1px solid var(--line);
}
header {
  min-height: 74px;
  justify-content: space-between;
}
.brand {
  font:
    31px Cormorant,
    Georgia,
    serif;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  letter-spacing: -1.2px;
}
.mark {
  font: 31px/1 Georgia;
  color: var(--gold);
  height: 35px;
  width: 35px;
  border: 1px solid #b3935c;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
nav a,
footer a {
  text-decoration: none;
}
nav a {
  color: var(--dim);
  font-size: 14px;
  padding: 6px 0;
}
nav a:hover,
nav a[aria-current] {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}
h1,
h2,
h3 {
  font-family: Cormorant, Georgia, serif;
  font-weight: 500;
  line-height: 1.04;
  margin: 0.22em 0 0.35em;
}
h1 {
  font-size: clamp(52px, 6.7vw, 104px);
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(37px, 4.4vw, 68px);
  letter-spacing: -0.035em;
}
h3 {
  font-size: 29px;
}
em {
  color: var(--gold);
}
p {
  color: var(--dim);
}
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(490px, 41vw, 650px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.motion {
  position: relative;
  isolation: isolate;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.motion video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.hero .motion {
  position: absolute;
  inset: 0 0 0 21%;
  z-index: -2;
  background-position: 50% 55%;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #0a1219 3%,
    #0a1219f2 21%,
    #0a1219a9 39%,
    transparent 67%
  );
}
.hero-copy {
  margin: 45px 5.5%;
  max-width: 510px;
  pointer-events: none;
}
.hero-copy a {
  pointer-events: auto;
}
.hero h1 {
  font-size: clamp(75px, 7.7vw, 124px);
  line-height: 0.86;
  margin: 0.24em 0;
}
.hero-copy > p:not(.meta) {
  max-width: 425px;
  font-size: 16px;
}
.meta {
  font:
    11px/1.6 Mono,
    monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  gap: 10px;
  align-items: center;
}
.rule {
  width: 30px;
  border-bottom: 1px solid var(--gold);
}
.actions,
.examples,
.section-head {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.actions {
  margin-top: 24px;
}
.button,
.examples button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-decoration: none;
  border: 1px solid #aeb8ba71;
  border-radius: 30px;
  padding: 10px 20px;
  background: #14202a;
  color: var(--ink);
  font-size: 14px;
}
.primary {
  background: #ebc990;
  color: #191812;
  border-color: #ebc990;
}
.glass {
  background: #0c151bc9;
}
.button:hover,
.examples button:hover {
  filter: brightness(1.18);
}
.motion-toggle {
  position: absolute;
  right: 20px;
  bottom: 18px;
  border: 1px solid #ffffff55;
  border-radius: 24px;
  background: #111c23c9;
  color: white;
  padding: 6px 13px;
  font:
    11px Mono,
    monospace;
  z-index: 2;
}
.section {
  padding: 44px 5.5% 64px;
}
.section-head {
  justify-content: space-between;
  align-items: end;
  margin-bottom: 22px;
}
.section-head h2 {
  margin: 0;
}
.textlink {
  color: var(--gold);
  text-underline-offset: 5px;
  font-size: 14px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.card {
  border-bottom: 1px solid var(--line);
  position: relative;
  padding-bottom: 14px;
}
.cover {
  aspect-ratio: 2.15;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.cover img,
.art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.playicon {
  position: absolute;
  bottom: 12px;
  left: 14px;
  border: 1px solid #f5e2bb99;
  border-radius: 50%;
  background: #101a23b8;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--gold);
}
.cardbody {
  position: relative;
  padding: 13px 35px 0 0;
}
.card h3 {
  margin-top: 5px;
}
.card h3 a {
  text-decoration: none;
}
.save {
  position: absolute;
  top: 16px;
  right: 0;
  color: var(--gold);
  font: 26px Georgia;
  background: none;
  border: 0;
  padding: 4px;
}
.save[aria-pressed="true"] {
  color: #ffd58c;
}
.split,
.builder,
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6%;
  align-items: center;
  padding: 40px 5.5% 65px;
}
.split {
  background: #111e26;
}
.split .motion,
.builder .motion {
  height: 320px;
  border-radius: 9px;
}
.builder {
  align-items: start;
}
.intro {
  max-width: 580px;
}
.builder form,
.filters {
  background: #111e26;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
}
.builder form {
  margin-top: 5px;
}
.filters,
.pair {
  display: grid;
  gap: 15px;
  align-items: end;
}
.filters {
  grid-template-columns: 2fr repeat(3, 1fr) auto;
  margin: 30px 0;
}
.pair {
  grid-template-columns: 1fr 1fr;
}
label {
  display: block;
  color: var(--ink);
  font-size: 14px;
}
input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  margin-top: 5px;
  border: 1px solid #ffffff44;
  background: #0d171e;
  border-radius: 6px;
  color: var(--ink);
  min-height: 44px;
}
textarea {
  min-height: 105px;
  resize: vertical;
}
.examples {
  gap: 6px;
  margin: 9px 0 23px;
}
.examples button {
  font-size: 12px;
  padding: 5px 10px;
}
.check {
  display: flex;
  align-items: start;
  gap: 12px;
  margin-bottom: 20px;
}
.check input {
  width: 18px;
  min-height: 18px;
}
.note,
small {
  font-size: 13px;
  color: var(--dim);
}
audio {
  width: 100%;
  margin: 15px 0;
}
.detail .art {
  height: auto;
  border-radius: 8px;
}
.detail h1 {
  font-size: clamp(44px, 5vw, 80px);
}
.prose {
  max-width: 780px;
  margin: auto;
  padding: 40px 5% 80px;
}
.prose h2 {
  font-size: 36px;
  margin-top: 30px;
}
footer {
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  padding-block: 25px;
  color: var(--dim);
  font-size: 13px;
}
footer .brand {
  margin-right: auto;
}
[hidden],
#saved .card {
  display: none !important;
}
#saved .card.bookmarked {
  display: block !important;
}
@media (max-width: 820px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .builder,
  .detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .builder .motion,
  .detail .art {
    max-height: 230px;
  }
  .hero .motion {
    left: 0;
  }
  .hero:before {
    background: linear-gradient(90deg, #0b141be8, transparent 100%);
  }
  .split {
    gap: 25px;
  }
}
@media (max-width: 580px) {
  header {
    flex-wrap: wrap;
    gap: 5px;
    padding-block: 10px;
  }
  nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .brand {
    font-size: 28px;
  }
  .hero {
    min-height: 520px;
    align-items: end;
  }
  .hero-copy {
    margin: 0 5.5% 54px;
  }
  .hero:before {
    background: linear-gradient(
      0deg,
      #0b1319 0%,
      #0b1319d9 25%,
      #0b13194a 65%,
      transparent
    );
  }
  .hero .motion {
    background-position: center top;
  }
  .hero h1 {
    font-size: 73px;
  }
  .hero .motion-toggle {
    bottom: 10px;
    right: 12px;
  }
  .grid,
  .split {
    grid-template-columns: 1fr;
  }
  .section {
    padding-top: 30px;
  }
  .section-head {
    gap: 8px;
  }
  .button {
    padding: 10px 15px;
  }
  .split .motion {
    height: 200px;
  }
  .filters,
  .builder form {
    padding: 16px;
  }
  .pair {
    gap: 10px;
  }
  .grid {
    gap: 20px;
  }
  footer {
    gap: 12px;
  }
  footer span {
    width: 100%;
  }
}
