:root {
  --bg: #0A0A0A;
  --ink: #F0F0F0;
  --soft-grey: #827D79;
  --red: #AE4634;
  --black: #4B4C4B;
  --faint-blue: #51677B;
  --skin-neutral: #D9B1B3;

  --frame-max-width: 760px;
  --frame-padding: 12px;
  --title-gap: 8px;
  --text-font: "Big Shoulders Display", sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-shell {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: var(--frame-padding);
}

.frame {
  width: min(100%, var(--frame-max-width));
}

.site-title {
  margin: 0 0 var(--title-gap) 0;
  font-family: var(--text-font);
  font-size: clamp(1.1rem, 5vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
}

.image-stage {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.base-image {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.trace-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.trace-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trace-node {
  stroke: none;
}

.trace-text {
  font-family: var(--text-font);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-rendering: geometricPrecision;
}

.is-pulsing {
  animation: faintPulse 4.8s ease-in-out infinite;
}

@keyframes faintPulse {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 0.95;
  }
}

@media (min-width: 768px) {
  .site-shell {
    place-items: start center;
    padding: 18px;
  }

  .frame {
    width: min(100%, 760px);
  }
}
