:root {
  --ink: #2a1522;
  --paper: #f8eef3;
  --mist: #e7d0db;
  --muted: #8a6674;
  --accent: #d989a8;
  --accent-deep: #a85a78;
  --film: rgba(8, 8, 10, 0.38);
  --font-brand: "Italiana", "Didot", "Bodoni MT", serif;
  --font-body: "Libre Franklin", "Gill Sans", sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 719px) {
  input,
  textarea,
  select {
    font-size: 16px;
  }
}

html {
  background: var(--ink);
}

body {
  font-family: var(--font-body);
  color: var(--paper);
  background: var(--ink);
}

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

@media (hover: hover) {
  a:hover {
    color: var(--accent);
  }

  a.brand:hover,
  .brand a:hover {
    color: var(--accent-deep);
  }

  a.home-btn:hover {
    color: #fff;
    background: var(--accent-deep);
  }
}

.brand {
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 8vw, 5.4rem);
  letter-spacing: 0.04em;
  line-height: 0.9;
  margin: 0;
  color: var(--accent);
}

.brand a {
  text-decoration: none;
  color: inherit;
}

.brand-hold {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  margin: 0;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 3.35rem;
  height: 3.35rem;
  padding: 0;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  line-height: 1;
  text-decoration: none;
}

.home-btn svg {
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
}

.home-btn:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}

.board .brand-hold {
  margin: 0 0 1.4rem;
}

.board .brand {
  margin: 0;
}

img,
video {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
