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

html {
  color-scheme: light;
  background: #f6f2ea;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  background: #f6f2ea;
  color: #15120f;
  font-family: "Times New Roman", Times, serif;
}

.fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.accent {
  position: absolute;
  pointer-events: none;
}

.accent-foot {
  left: clamp(1.25rem, 8vw, 7rem);
  bottom: 4rem;
  width: min(28vw, 220px);
  height: 1px;
  background: rgba(21, 18, 15, 0.12);
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  padding: clamp(5.5rem, 22vh, 11rem) clamp(1.25rem, 8vw, 7rem) 4rem;
}

.wordmark {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.28em;
  row-gap: 0;
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(52px, 12vw, 176px);
  font-weight: 400;
  font-style: normal;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: #15120f;
}

.word {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.letter {
  position: relative;
  display: inline-block;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.letter.is-dragging {
  cursor: grabbing;
}

.projects {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15em;
  margin-top: clamp(2rem, 5vh, 3.75rem);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.projects a {
  position: relative;
  color: inherit;
  text-decoration: none;
  padding: 0.1em 0;
}

.projects a:hover {
  text-decoration: none;
  color: #9a7b4f;
}
