:root {
  color-scheme: light;
  --paper: #f8f4e9;
  --ink: #0c2748;
  --coral: #e74d49;
  font-synthesis: none;
}

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

html,
body {
  min-width: 320px;
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle, rgba(12, 39, 72, 0.16) 1px, transparent 1.2px),
    linear-gradient(rgba(248, 244, 233, 0.72), rgba(248, 244, 233, 0.72)),
    url("assets/brand/paper-texture.png");
  background-position: 0 0, center, 0 0;
  background-size: 24px 24px, auto, 48rem auto;
  font-family: "Kalam", "Comic Sans MS", cursive;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

svg {
  display: block;
}

.holding-page {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(2rem, 7vw, 5rem);
  place-content: center;
  text-align: center;
}

.brand-lockup {
  position: relative;
  display: inline-flex;
  gap: clamp(0.45rem, 1.4vw, 0.8rem);
  width: fit-content;
  margin: 0 auto clamp(3.5rem, 9vh, 5.75rem);
  padding: 0 0 0.85rem;
  align-items: center;
  transform: rotate(-1.2deg);
}

.brand-symbol {
  width: clamp(3.1rem, 5.2vw, 4.25rem);
  height: auto;
  overflow: visible;
  flex: 0 0 auto;
}

.brand-symbol path,
.brand-stroke path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-symbol__main {
  stroke: var(--ink);
  stroke-width: 5.2;
}

.brand-symbol__echo {
  stroke: var(--ink);
  stroke-width: 2.2;
  opacity: 0.28;
}

.brand-symbol__accent {
  stroke: var(--coral);
  stroke-width: 3.8;
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(2.9rem, 5.4vw, 4.25rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.04em;
}

.brand-word span {
  display: inline-block;
}

.brand-word span:nth-child(1) {
  transform: rotate(-5deg) translateY(0.05em);
}

.brand-word span:nth-child(2) {
  transform: rotate(3deg) translateY(-0.04em);
}

.brand-word span:nth-child(3) {
  transform: rotate(-2deg) translateY(0.04em);
}

.brand-word span:nth-child(4) {
  transform: rotate(2deg) translateY(-0.02em);
}

.brand-word span:nth-child(5) {
  transform: rotate(-4deg) translateY(0.02em);
}

.brand-word span:nth-child(6) {
  transform: rotate(3deg) translateY(-0.03em);
}

.brand-word span:nth-child(7) {
  transform: rotate(-2deg) translateY(0.03em);
}

.brand-stroke {
  position: absolute;
  right: -0.2rem;
  bottom: 0;
  width: calc(100% - clamp(3.1rem, 5.2vw, 4.25rem));
  height: auto;
  overflow: visible;
}

.brand-stroke path {
  stroke: var(--coral);
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  stroke-width: 4;
  animation: draw-brand 850ms 180ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes draw-brand {
  to {
    stroke-dashoffset: 0;
  }
}

h1 {
  margin: 0;
  font-size: clamp(4.5rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h1 span {
  display: inline-block;
}

.status-accent {
  color: var(--coral);
}

@media (max-width: 500px) {
  .holding-page {
    padding-inline: 1.25rem;
  }

  .brand-lockup {
    margin-bottom: 3.75rem;
  }

  .brand-word {
    font-size: clamp(2.75rem, 13vw, 3.35rem);
  }

  .brand-symbol {
    width: 3.2rem;
  }

  h1 {
    font-size: clamp(4.25rem, 20vw, 5.25rem);
  }

  h1 span {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .brand-stroke path {
    stroke-dashoffset: 0;
  }
}
