body {
  margin: 0;
  padding: 0;
  background-color: #f9f6f0;
  background-image:
    linear-gradient(rgba(176, 164, 148, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176, 164, 148, 0.16) 1px, transparent 1px);
  background-size: 32px 32px;
  color: #4a433c;
  font-family: 'Noto Serif KR', serif;
}

.auji-main {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vh, 48px);
  padding: 32px 24px 36px;
  box-sizing: border-box;
  overflow: hidden;
}

.auji-writings {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(36px, 6vw, 72px);
  flex-shrink: 0;
}

.auji-frame {
  position: relative;
  background: linear-gradient(#fefdfb 0%, #fefdfb 74%, rgba(254, 253, 251, 0) 100%);
  padding: clamp(40px, 6.5vh, 68px) clamp(36px, 5vw, 76px) clamp(18px, 3vh, 28px);
}

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

.auji-copies {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.auji-vertical-copy,
.auji-name,
.auji-etymology {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  margin: 0;
}

.auji-vertical-copy {
  font-size: clamp(0.78rem, 1.55vh, 0.95rem);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.16em;
  color: #a3988c;
}

.auji-title {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 1.8vw, 20px);
  flex-shrink: 0;
}

.auji-name {
  font-size: clamp(3.05rem, 10.4vh, 5.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: #3a342e;
}

.auji-etymology {
  font-size: clamp(0.82rem, 1.7vh, 1.02rem);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.18em;
  color: #8a8175;
}

.auji-stage {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 100%;
}

.auji-gates {
  display: flex;
  width: 0;
  min-width: 100%;
  gap: 12px;
  box-sizing: border-box;
}

.auji-enter {
  display: flex;
  flex: 1 1 0;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 14px 18px;
  border: 1px solid #6b5b4a;
  background: rgba(249, 246, 240, 0.86);
  color: #6b5b4a;
  font-family: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  transition: background 0.35s ease, color 0.35s ease;
}

.auji-enter:hover {
  background: #6b5b4a;
  color: #f9f6f0;
}

@media (max-width: 720px) {
  .auji-writings {
    gap: 22px;
  }

  .auji-copies {
    gap: 6px;
  }

  .auji-vertical-copy {
    letter-spacing: 0.12em;
  }

  .auji-etymology {
    letter-spacing: 0.12em;
  }

  .auji-stage {
    display: flex;
    width: 100%;
  }

  .auji-frame {
    width: 100%;
    box-sizing: border-box;
  }

  .auji-gates {
    flex-direction: column;
    width: 100%;
    min-width: 0;
  }

  .auji-enter {
    width: 100%;
    flex: none;
    letter-spacing: 0.08em;
  }
}
