:root {
  --bg: #f8f5f4;
  --page-bg: linear-gradient(180deg, #f6f2fb 0%, #f9f6f2 48%, #fbf8ec 100%);
  --ink: #1c1c1c;
  --muted: #5c5c5c;
  --white: #ffffff;
  --frame: 1180px;
  --gutter: 48px;
  --font: "Bricolage Grotesque", Helvetica, Arial, sans-serif;
  --font-ui: "Bricolage Grotesque", Helvetica, Arial, sans-serif;
  --font-mono: "Bricolage Grotesque", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--page-bg);
  background-attachment: fixed;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  background: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-nav-wrap {
  padding: 32px 40px 0;
  font-family: var(--font), sans-serif;
}

.nav {
  width: min(1180px, 100%);
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 8px 26px;
}

.logo {
  color: var(--ink);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.04em;
}

.links {
  display: flex;
  justify-content: center;
  gap: 22px;
  list-style: none;
}

.links a {
  font-size: 0.92rem;
  font-weight: 500;
}

.menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  justify-self: end;
  background-image: linear-gradient(var(--ink), var(--ink)),
    linear-gradient(var(--ink), var(--ink)),
    linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-size: 14px 1.6px;
  background-position: center 12px, center 17px, center 22px;
}

.page {
  position: relative;
  width: min(var(--frame), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: 56px 0 120px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page,
.page * {
  font-family: "Fredoka", "Nunito", sans-serif !important;
  font-weight: 400 !important;
}

.hi-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
  min-width: 0;
}

.page h1 {
  flex: 0 0 auto;
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 500 !important;
  line-height: 1.15;
  margin-bottom: 0;
}

.walker-lane {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 64px;
  overflow: hidden;
  z-index: 2;
}

.walker {
  position: absolute;
  left: 0;
  top: 50%;
  height: 58px;
  width: auto;
  transform: translateY(-50%);
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
}

.profile-copy {
  width: min(100%, 62ch);
  color: var(--ink);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 400;
  line-height: 1.65;
}

.profile-copy p + p {
  margin-top: 1.15em;
}

.profile-quote {
  color: #111;
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 500 !important;
  line-height: 1.25;
}

.profile-quote--plan {
  width: fit-content;
  max-width: 100%;
}

.profile-quote::before,
.profile-quote::after {
  font-family: "Lisu Bosa", "Times New Roman", serif !important;
  font-weight: 700 !important;
  font-size: 1.45em;
  line-height: 0.6;
  color: #8a3dff;
  vertical-align: -0.08em;
}

.profile-quote::before {
  content: "“";
  margin-right: 0.08em;
}

.profile-quote::after {
  content: "”";
  margin-left: 0.06em;
}

.profile-lines {
  margin-top: 1.4em;
  line-height: 1.8;
}

.me-tag {
  position: absolute;
  top: 48px;
  right: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}

.profile-brickhead {
  height: 230px;
  width: auto;
  display: block;
}

.me-tag__note {
  position: relative;
  margin-top: 6px;
  color: #2b2b2b;
  font-family: "Caveat", "Segoe Script", cursive !important;
  font-size: 24px;
  font-weight: 400 !important;
  line-height: 1;
  letter-spacing: 0.04em;
}

.me-tag__arrow {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 4px);
  width: 56px;
  height: 40px;
  overflow: visible;
  transform: translate(-6px, 0);
}

.me-tag__shaft,
.me-tag__head {
  fill: none;
  stroke: #2b2b2b;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.me-tag__shaft {
  stroke-dasharray: 3.2 3.8;
}

.racer-field {
  position: absolute;
  top: 340px;
  right: 0;
  width: 260px;
  height: 680px;
  pointer-events: none;
  z-index: 0;
}

.racer-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.racer-route {
  fill: none;
  stroke: none;
}

.racer-trail line {
  stroke: #8a3dff;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.racer {
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: 65px;
  transform-origin: center center;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .racer-trail {
    display: none;
  }

  .walker {
    animation: none;
  }
}

.site-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--frame), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: 0 0 48px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  :root {
    --gutter: 20px;
  }

  .page {
    padding: 36px 0 80px;
  }

  .racer-field {
    display: none;
  }

  .profile-brickhead {
    height: 140px;
  }

  .me-tag {
    top: 28px;
    right: 8px;
  }

  .me-tag__note {
    font-size: 20px;
  }
}

@media (max-width: 1040px) {
  .site-nav-wrap {
    padding: 16px 14px 0;
  }

  .nav {
    padding-left: 18px;
  }

  .menu-btn {
    display: block;
  }

  .links {
    display: none;
    position: absolute;
    top: 70px;
    left: 14px;
    right: 14px;
    z-index: 20;
    background: var(--white);
    border: 1.5px solid var(--ink);
    border-radius: 20px;
    flex-direction: column;
    padding: 16px 20px;
    gap: 12px;
  }

  .nav.open .links {
    display: flex;
  }
}
